Friday, December 16, 2011

Failed to Extract the Cab file in the Solution in Sharepoint 2010

Failed to extract the cab file in the solution while trying to add the solution

When tried to addsolution using  using stsadm -o addsolution -filename..., some times the above error is experienced. At the time one has to check for the following

Steps:

  1.  Open the  .wsp file as a .cab file
  2.  Check the contents and make sure there are no duplicates ( files or resources )
  3.  See if you have any files with special characters including brackets ' copy (2) filename ' so on and so forth.
  4. Clean up unwanted files and rebuild your .wsp.  
  5. Addsolution this time and verify  if the problem has been resolved

No comments:

Post a Comment