Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
1 like 0 dislike
1.7k views
in SharePoint Server by 2 2 5

I am trying to import and export a team site on the same farm but with different web applications

The import operation is completed successfully, but when importing the exported file to the second I got this error

Import-SPWeb : Could not find Feature TeamFoundationWeb.
At line:1 char:1
+ Import-SPWeb http:\\sharepointsite -Path "\\importfiles
+ CategoryInfo : InvalidData: (Microsoft.Share...CmdletImportWeb:SPCmdletImportWeb) [Import-SPWeb], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletImportWeb

Help me please!


1 Answer

1 like 0 dislike
by 162 202 397
selected by
 
Best answer

Enable "TeamFoundationWebe" feature

Looks like the destination site that you have tried to import the export file doesn't have Team Site feature enabled!

So try to enable "TeamFoundationWebe" feature on the destination site before performing the import cmdlet.

Steps

  • Open SharePoint Management Shell as Administrator.
  • Run the below cmdlet.

     stsadm -o installfeature -name TeamFoundationWeb
    
  • Try to perform Import-SPWeb again that should be working now.

If you don’t ask, the answer is always NO!
...