Thursday, October 29, 2009

createwsp.bat exited with code 4 error

Hi All,

If you got this error while building a sharepoint solution file, this happens when the CabLib.dll which is used to build WSP SharePoint Solution files in VS.Net is a 32 bit running on a 64 bit machine.

The issue behind this is that your server is a x64 bit server, and you have to change this CabLib.dll with a 64 bit version.

You can download the updated dll from codplex:

http://www.codeplex.com/wspbuilder/Release/ProjectReleases.aspx?ReleaseId=16820

Hope this helps.


Regards,
Mostafa arafa

No comments: