locked
error "exited with code 255"

    Question

  • We Were trying out the "HelloSequentialWorkflow"from msdn, wherein there was a call command to deploy the workflow using "PostBuildActions.bat" file. The Build Failed and we got the following Error:
     
     
     
    The command "call "C:\Documents and Settings\ctr5809\My Documents\Visual Studio 2005\Projects\SharePointDemo\SharePointDemo\\DeploymentFiles\PostBuildActions.bat" "Debug" "C:\Documents and Settings\ctr5809\My Documents\Visual Studio 2005\Projects\SharePointDemo\SharePointDemo\" "C:\Documents and Settings\ctr5809\My Documents\Visual Studio 2005\Projects\SharePointDemo\SharePointDemo\bin\Debug\" "SharePointDemo" DEPLOY
    " exited with code 255. SharePointDemo
     
    Kindly help us out.
     
     
    Monday, May 21, 2007 6:34 AM

Answers

  • Try replacing "call" with "cmd /c". The error code "255" usually means that it is not able to find the file you are asking it to execute. "call" is usually used inside batch or command files and not directly as an exectuable.
    Tuesday, May 29, 2007 6:22 AM

All replies

  • From the error message, it looks like you are building a Sharepoint workflow example. Here is the workflow example that I found:

    http://msdn2.microsoft.com/en-us/library/ms742162.aspx

     

    Is that the one you have?

     

    Thanks,

    Jason

    Monday, May 21, 2007 12:31 PM
  • Thanks Jason,

          link ya've given contains console and form based but we are workin on Infopath based workflows....

    could ya tip on that one.....

    Tuesday, May 22, 2007 11:03 AM
  • I can't seem to find the demo that the error message mentions. Can you give me a link to the download page?

     

    Thanks,

    Jason

    Tuesday, May 22, 2007 12:23 PM
  • Try replacing "call" with "cmd /c". The error code "255" usually means that it is not able to find the file you are asking it to execute. "call" is usually used inside batch or command files and not directly as an exectuable.
    Tuesday, May 29, 2007 6:22 AM