0

i'm trying to create a SharePoint Server for test and development exactly same as the prod one.

So my server is ok, as my db and my central admin.

Then I Created a new site collection on the TEST SERVER.

Then I performed a granular backup from central admin IN PROD (Export a site or List).

Then I went back to the Test server and by using SharePoint Management Shell I typed the following command:

Import-SPWeb mysiteURL –Path mybackupfile.cmp -IncludeUserSecurity"

after a few minutes i get this message: enter image description here

1
  • 1
    Seems you are missing a solution installed in production on your test server (containing the TswaWebParts feature). Nov 15, 2013 at 11:31

1 Answer 1

1

Seems you are missing a solution installed in production on your test server (containing the TswaWebParts feature).

Take a look in Central admin for any differences in the installed solutions under System Settings->Manage Farm Solutions

Probably there is one in production that is not installed in your test environment. So you need to install that one before you can import your web

To download a farm solution you can use these lines of PowerShell in the SharePoint Management Shell on your production server:

$farm = Get-SPFarm
$file = $farm.Solutions.Item("extendeddiagnosticproviders.wsp").SolutionFile
$file.SaveAs("c:\temp\extendeddiagnosticproviders.wsp")

changing the name of the .wsp ofcource. Source

6
  • 1
    Yes it seems there are all the solutions missing... ^^ is it possible to backup and restore them also?
    – n0r1s
    Nov 15, 2013 at 12:25
  • This blogpost details what steps you can take to export SharePoint Solutions to a new farm: msmvps.com/blogs/shane/archive/2011/05/05/…
    – TempaC
    Nov 15, 2013 at 12:37
  • 1
    i succeeded to export them but deploy on the other farm is not possible i get an error "Failed to load receiver assembly or one of its dependencies. The system cannot find the file specified" i think i'm going to give up
    – n0r1s
    Nov 15, 2013 at 14:22
  • 2
    it's ok i installed them with powershell with success
    – n0r1s
    Nov 15, 2013 at 14:45
  • If this was the solution, feel free to mark as answer Nov 15, 2013 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.