Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 05-02-2007, 12:09 PM
andy t andy t is online now
Registered User
Join Date: 04-24-2007
Posts: 2
Mysterious failures during build


We have a build script that at one point it fires of a .net program to run unit tests. However, the unit test process will fail intermittently with the following message:

Process completed with exit code -2146233082

This appears to happen at random intervals. What could be the causes of this behavior ?

Reply With Quote
Old 05-02-2007, 01:07 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
That is the exit code returned by a program being run by VBP (VBP is just reporting the failure since a non-zero exit code is normally treated as an error condition). -2146233082 corresponds with hex code 0x80131506; see here for some possible causes:

The best solution would be to fix that program to not return a non-zero exit code on success.

A possible workaround would be to have VBP ignore that exit code instead of treating it as a failure. If you're using a Run Program action, this could be done by setting the 'Success exit codes' field to

0, -2146233082

For custom user or other types of actions, add a vbld_StepDone script event like this:

Sub vbld_StepDone()
  If CLng(Application.ExpandMacros("%RUNPROGRAM_EXITCODE%")) = -2146233082 Then
    Step.BuildStatus = vbldStepStatSucceeded
  End If
End Sub
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 11:42 PM.

Copyright 1999-2019 Kinook Software, Inc.