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 using SharePoint Templates.

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

You can download the updated dll from codplex:

Hope this helps.

Mostafa arafa

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>