Friday, June 12, 2009

Transferring a site from MOSS 2007 to WSS 3.0

MOSS Site Templates Not Compatible With WSS

I created a site on first server(MOSS) then i created the site template of it.After that i tried to create a site on second server(WSS 3.0) using custom template that i have created on first server.
It gave me the error "The template you have chosen is invalid or cannot be found. ".

Here is the Solution.

Go to CodePlex and find then download STP Inspector. Unzip and then run “STPInspectorWin.exe” It will tell you the error.If it says you are missing a feature follow the below steps

1) Rename the the template file .stp to .cab file, extract the files into a folder say Test.
2) Open manifest.xml inside the CAB.
3) Use the STP Inspector to find the missing GUID and do a search then remove that line from the xml manifest.
4) Repack all the files in the folder(Test) to the CAB file(Test1.CAB).

Use CABARC.EXE to make a cab file.Its a free microsoft free tool.
Command : C:\stp\BIN>cabarc N test1.cab C:\stp\BIN\Test\*.*

Rename the .Cab to .Stp then upload the .stp file to the site template gallery.

No comments:

Post a Comment