Import a application In sharepoint 2010

I Have a exported application in my  c drive  in a folder . I want to import it to a new web application . how can  i achieve this
I tried using  management shell  like :
import-spweb http: //  path:c:\path name
but its throwing an error  like. import -spweb:a positional parameter cannot be found that excepts  path:c:\path name.
please  help...!!!!

Restoring a Web Application will depend on how you backed it up.  Here's a page that discusses all the options for how to restore a Web Application.  To restore a Web Application using PowerShell you would use a Restore-SPFarm command, not import-SPWeb.
 Import-SPWeb is used to restore a SubSite that was backed up using Export-SPWeb.  But for that you need an existing Web Application and Site Collection.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.

Similar Messages

  • Question regarding the powershell creation of service applications in SharePoint 2010/2013

    Hi
    I create all my service applications in SharePoint 2010/2013 using Powershell.
    Is there a "best practice" when to start the service Instance for a service application? Is it better to start the service instance prior to creating a service application or after the service application has been create?
    I'm curious.
    best regards
    Bjorn

    Not that i'm aware of. If it works then go for it.
    I would tend to build the service application and only then activate the instances on servers, however that is going to depend heavily on the application in question. The real heavyweights like Search are a special case in any event.

  • How to find out Db name of perticular web application in sharepoint 2010

    how to find out Db name of perticular web application in sharepoint 2010 to take a backup from sql

    1.  Open the SharePoint 2010 Central Admin application.
    2.  On the SharePoint central administration website, click Application Management.
    3.  In the Databases section, click Manage Content Databases.
    4.  On the Manage Content Databases page, select a web application by clicking the Web Applications drop-down list and choosing a web application.
    5.  Can notice the  available database names for the webapplication. ******************************************************************************************
    Please remember to mark your question as answered &Vote helpful, if this solves/helps your problem
    s p kumar

  • Service application in sharepoint 2010

    hi all,
    i'm new to sharepoint. i have a small problem, i have created a customer service application and deploey it to sharepoint and tested it, and everything worked fine for me. now i checked the IIS and under Sharepoint Web Services i couldn't find my service,
    can anybody tell what can be the cause for such an issue and how i can see the guid of my service under Sharepoint Web Services in IIS (Make sure that this is a custom service application).
    thanks very much !!

    Hi,
    if you deploy the custom service application, we can’t find it under SharePoint Web Service site in IIS. We can find it in SharePoint Central Administration.
    The following articles for your reference:
    Create Custom Service Application in SharePoint 2010
    http://sharepointegg.blogspot.in/2009/11/create-custom-service-application-in.html
    Building Customer Service Applications for the Right Situations
    http://msdn.microsoft.com/en-us/library/gg193964(v=office.14).aspx
    Creating Custom SharePoint 2010 Service Applications and Consumers
    http://msdn.microsoft.com/en-us/library/gg543112(v=office.14).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • ScriptLink tag not working for application page sharepoint 2010

    <ScriptLink> tag not working for application page sharepoint 2010 for including javascript in application page, it appends either 1033 or _layout to path specified for javascript.But javascripts are located in custom document library on site and not
    in _layouts folder.
    Please help and explain in details as I tried lot on this.

    Hi,
    Use the following line of code
    <SharePoint:Scriptlink runat="server" Name="~sitecollection/Style Library/[YOUR SITE]/js/functions.js" Language="javascript" />
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • How to develop Quiz Application in SharePoint 2010

    Hi All, Please provide me steps or code to develop Quiz application for SharePoint 2010.Thanks and regards, Anandha Babu M.

    Hi
    I followed the url http://blogs.technet.com/b/brenclarke/archive/2009/04/14/creating-a-quiz-web-application-using-sharepoint-designer.aspx 
    to develop the quiz app in sp2010 designer. I completed all.but I am facing problem in Score area i.e When user selected answer and correct answers are same my "Marks given" field which is a calculated column  still shows 0.. ideally it should be "1"
    . and also when i click on submit the answers are added twice. 
    Can anyone help me out in this
    Thanks in advance
    nain1987

  • How to find if a ManagedMetadata is used in a web application in SharePoint 2010 programmatically

    Hi,
    Is there any way using SharePoint 2010 server object model that we can find out which managed metadata is used in any of the sites in web application.
    Regards, Shruti

    You can use the code below. You'll need to check all of the fields in each web, as well as each list, so you'll need to use it in a loop. Also, in my example, I'm just getting the first termset in the first term group in the first term store. You'd want
    to change that to the termset you need.
    using (var site = new SPSite("http://siteurl"))
    TaxonomySession s = new TaxonomySession(site);
    TermStore store = s.TermStores[0];
    Group group = store.Groups[0];
    TermSet termSet = group.TermSets[0];
    using (var web = site.RootWeb)
    var fields = web.Fields;
    foreach (SPField f in fields)
    if (f.FieldValueType == typeof (Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection) || f.FieldValueType == typeof (Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection))
    var tf = f as TaxonomyField;
    if (tf.TermSetId == termSet.Id)
    //do something
    var log = String.Format("Field {0} is a memeber of TermSet {1}", f.StaticName, termSet.Name);
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Publishing user profile service application in SharePoint 2010

    Hi,  Can I have a link specific to publishing the user profile service application in a step by step manner in SharePoint 2010. This is quite urgent.

    Hope the below link will be helpful
    http://blogs.msdn.com/b/alimaz/archive/2009/11/09/configuring-user-profile-service-application-in-sharepoint-server-2010.aspx

  • SSRS 2012 service application error in sharepoint 2010

    Hi, 
    I have installed MS SQL SERVER 2012 enterprise edition and sharepoint 2010 SP2 standalone as i want to learn a few things. Everyting went smooth upto the point when i wanted to configure a Create the Reporting Services Service application in sharepoint.
    Firstly i cant change the account from network service on the checkbox predifined  under Select security account for this application pool.
    Secondly I get a error if i try to proceed >>>>> "The database engine
    instance 'SERVER\SharePoint' does not meet the edition requirements for the Reporting Services database."
    Please help me on this one im stuck i cant proceed 

    Hello,
    I think this thread may help you:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dddc7f63-935d-40fa-8402-ec43bd288c56/cant-create-a-ssrs-2012-service-application-in-sharepoint-2010?forum=sqlreportingservices
    http://blogs.msdn.com/b/psssql/archive/2013/02/20/rs-database-engine-does-not-meet-edition-requirements.aspx
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Single Signon from SharePoint 2010 to SharePoint 2013 application

    Hello all,
    We have two SharePoint applications,
    1. SharePoint 2010 application which uses Classic mode of authentication
    2. SharePoint 2013 application which uses claim based authentication + Form Based Authentication.
    We have provided a link for SharePoint 2013 application in SharePoint 2010 application.
    Once user logs into SharePoint 2010 application and clicks on the link of SharePoint 2013 application, user sholuld not be prompted for the credentials again and should be able to login to landing page.
    How can we go about this, need an help. Any help is appreciated.
    Thanks & Regards,
    Sharath
    Sharath Bharadwaj

    Is this an intranet application, in which you can add the sites to the trusted internet zone or intranet zone to allow your machine to automatically pass credentials.
    That of course won't make the FBA work automatically, that isn't possible as far as i know.

  • Trying to link SharePoint 2010 Enterprise with SharePoint 2013 Search Server raises error

    Hi,
    I am currently working for a multinational who has SharePoint 2010 Enterprise Edition installed, 2 WFE SERVERS, 3 APP SERVERS, 1 DB SERVER. They also installed SharePoint 2013 Exterprise recently.
       Microsoft have recently come in and set up the SharePoint 2013 Search Server to crawl content in SharePoint 2010 as the replacement search to SharePoint 2010 Search. So they have gone through process of certificates and permissions
    setups I guess. I was told it was working, but recently failed. When I type in the search box on a web site for SharePoint 2010 I get the message:
             The search request was unable to connect to the Search Service.
    I checked the Event log and the Critical error (in Task Category:Timer) I get is the notorious: 
    The Execute method of job definition Microsoft.Office.Server.Search.Administration.CrawlReportJobDefinition (ID fa882704-80d9-415b-9b9d-eae5e9bdefd4) threw an exception. More information is included below.
            The search service is not able to connect to the machine that hosts the administration   
            component. Verify that the administration component 'e9172a05-22ec-4904-9508-
            e5431a180c2b' in search application 'Search_Service_Application' is in a good state and
            try again.
    I know administration component is the crawler. I am assuming this is permissions.
    The SharePoint 2013 Search Server is picking up SharePoint 2010 site collections items fine i.e. The SharePoint 2013 search shows items from 2010 as expected.  
    On the SharePoint 2010 central admin box the search service enabled and running (checked with powershell). (SharePoint Server Search 14)
    The Search Service id: e9172a05-22ec-4904-9508-e5432a180c2b
    I also get the message in event log for gatherer on SharePoint 2010 CA and Search Server:
           Could not access the Search database. A generic error occurred while trying to access the database to obtain   
           the schema version info.
           Context: Application 'e9172a05-22ec-4904-9508-e5431a180c2b'
    Details:
                (0x80040e09)
    Is this permissions to delete something from crawler??????
    I would appreciate if someone could help on this. I have tried to be as concise as possible.
    Thanks.
    John.

    It was a case that someone had fiddled with the Service App Associations. Hadn't ticked SharePoint 2013 search. Was still point at 2010. Thanks.
    The SharePoint 2013 Search works correctly for SharePoint 2010.
    Can someone confirm that the Search Service Application on SharePoint 2010 still needs to exist and hence SharePoint Server Search 14 Service still needs to be running? I am guessing it would as you search from 2010 interface not 2013. I am getting a critical
    error in the Event Viewer:
    CrawlReportJobDefinition (Id <SharePoint 2010 Crawler>) 
    The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component <crawler id> in search application "Search Service Application" is in a good state and try
    again.
    I think this is related to the fact we have SharePoint 2013 doing the search instead of 2010.
    Any ideas?
    John.

  • How to implement sharepoint 2010 security implementation at site level ?

    Hi,
    We are going to implement one school automation system as internet application using sharepoint 2010.
    I want to know what type of step's i have to take for best security level implementation in the site level.
    Thanking You, Nagendra.

    Hiya,
    simple as that, SharePoint 2010 has no known vulnerabilities against SQL injections due to the nature of how it works.
    It's hard to protect against unknown vulnerabilities. If your planning to allow only authenticated users, you can perform the authentication on a dedicated application server. TMG/UAG/Web Application Proxy.
    Besides that, SharePoint 2010 and up was build to be exposed to the internet, with all the considerations that incurs.
    I fail to see the validity in the argument about "any web application using Asp.net there is a chance to SQL inject". If you create a custom asp.net application and do not secure yourself, yes you will have a problem. If you do secure yourself, you do not
    have a problem. Proposing it as a general approach is faulty.

  • SharePoint 2010 - Create new site collection in existing web application with different existing content DB

    I have a SharePoint 2010 root level site collection SC1 in web application WEBAPP1. I want to create copy of that site collection in same web application WEBAPP1. Apart from Import/Export, Restore/Backup options, will following approach work? If yes , how?
    I took backup of content database of web application.
    Restored database with different name
    Mounted Content database to this WEBAPP1 by assigning new ID to DB
    Created new site collection by using this newly mounted DB
    Site collection gets created successfully but content does not appear.
    Please guide if i can achieve desired functionality by using this approach.
    If this helped you resolve your issue, please mark it Answered

    It is because the Site GUID is identical, and each GUID can only be present on the farm once. You can use Backup-SPSite/Restore-SPSite (which is full-fidelity, unlike Export-SPWeb/Import-SPWeb), which will generate a new GUID for the restore Site Collection,
    even in the same Web App.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Exporting from SharePoint 2010 to Import into SharePoint Foundation 2010

    I have a need to Export several site collections from SharePoint 2010 and to import them to an isolated SharePoint Foundation 2010 server.  Is it possible?  What problems might I incounter?
    Thanks for your assistance.

    Hello, Here is the thread providing some options to move the site collections. Thanks,
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/23d7412c-efb8-47f9-9269-9375fdea7242/how-best-to-move-a-site-collection-to-a-new-server-sharepoint-server-2010?forum=sharepointadminprevious
    Please mark as answer if this helps or vote as helpful if provides some help.

  • Problem rename sharepoint 2010 search service application admin database

    Hi all,
    i have a problem that hopefully someone has an answer to.  i am not too familiar with sharepoint so please excuse my ignorance.
    we have sharepoint 2010 on a windows 2008r2 server.  everything seems to work fine.  but as you know, the default database names are horrendous.  i have managed to rename all of them, except for the "search service application" admin
    database.
    the default is: Search_Service_Application_DB_<guid>
    the other 2 databases (crawl and property) were renamed without a problem.
    we are following the article from technet on how to rename the search service admin db (http://technet.microsoft.com/en-nz/library/ff851878%28en-us%29.aspx).  it says to enter the following command:
    $searchapp | Set-SPEnterpriseSearchServiceApplication -DatabaseName "new database name" -DatabaseServer "dbserver"
    however, i get an error about identity being null.  no big deal, i add the -Identity switch and the name of my search service application.  but the real problem comes the error it throws:
    Set-SPEnterpriseSearchServiceApplication : The requested database move was aborted as the associated search application is not paused.
    At line:1 char:54
    + $searchapp | Set-SPEnterpriseSearchServiceApplication <<<<  -Identity "Search Service Application" -DatabaseName "SharePoint2010_Search_Service_Application_DB" -DatabaseServer "dbserver"
        + CategoryInfo          : InvalidData: (Microsoft.Offic...viceApplication:
       SetSearchServiceApplication) [Set-SPEnterpriseSearchServiceApplication], I
      nvalidOperationException
        + FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchS
       erviceApplication
    when i look at the crawling content sources, i see "Local SharePoint Sites" and it's status is Idle.  i even looked at this article on how to pause the search to no avail.  (http://technet.microsoft.com/en-us/library/ee808864.aspx)
    does someone know how i can rename my Search Service Applcation Admin database properly?  or at least "pause" that service so i can rename it?
    thank you all in advanced

    If you want to have no guids for your search admin db, i recommend you check out this script :)
    just delete your search service application (assuming you have just started)
    Alpesh Nakar's Blog
    Alpesh
    Just SharePoint Just SharePoint Updates
    SharePoint Conference Southeast Asia
    Oct 26-27 2010 Contributing Author
    SharePoint 2010 Unleashed
    MCTS: SharePoint 2010 Configuration
    MCITP: SharePoint 2010 Administrator

Maybe you are looking for

  • How can I delete an iCloud account on my iPhone without the password?

    How can I delete an iCloud account on my phone without being able to enter the password? The account on my phone is linked to an old email adress that no longer exists and won't accept any of my passwords (although, this account did accept a pasword

  • All-in-One Qosmio PX30t - Mouse wheel application interruptions

    hello there ... for some reason my mouse wheel has been configured to switch to the start page (tiles). I find this convenient while operating the desktop activities but during other applications its a bit irritating. Here are examples of what i mean

  • Itunessetup exe

    I have had itunes previously installed on this computer, it was working fine until when it said it wasn't installed properly and some files were missing please reinstall. I Uninstalled everything to do with itunes and apple products as it had said on

  • How do I force iDVD to exceed maximum content limit?

    I have a MacBook with a single layer burner. With iMovie/iDVD, I have created a project that is 131 minutes, 4.52 GB in size, which is slightly larger than what can be burned onto a single-layer disc. The project is from two 60 min. MiniDV tapes, so

  • Execute a servlet in tomcat

    hai friends, I am trying to execute a simple servlet in tomcat but I couldn't.. please help me