#1
|
|||
|
|||
Process completed with exit code -1073741502
Good day everyone.
I have a run program task in Visual Build that keeps failing as follows: 8/26/2014 2:38:27 PM: Building subroutine step 'Obfuscate'... "C:\Program Files (x86)\LogicNP Software\Crypto Obfuscator For .Net 2013 R2\co.exe" projectfile=E:\Builds\15\eEye.RetinaCS\Mainline-Release\Sources\Setup\ScrambleTheCode.obproj Process completed with exit code -1073741502 8/26/2014 2:38:28 PM: Step 'Obfuscate' failed This is a Run Program Task that calls the Crypto Obfuscate command line exe. Here is the XML snippet from the build file: <step action='Run Program'> <ShowCmd type='11'>-1</ShowCmd> <buildfailsteps type='11'>0</buildfailsteps> <command>%OBFUSCATION_EXE_PATH% projectfile=%PROJDIR%\ScrambleTheCode.obproj</command> <continueonfail type='3'>1</continueonfail> <indent type='3'>1</indent> <name>Obfuscate</name> <options type='3'>1</options> <outputfrom type='3'>1</outputfrom> <password encrypted='1'>GM3oPP48Z+H6auS4/qGvgw==</password> <successcodes>0</successcodes> <username>administrator</username> </step> Any help would be really appreciated. Gordon |
#2
|
|||
|
|||
If the process is actually completing its work and returning a spurious exit code, you could ignore that particular code by adding it to the Success exit codes field.
http://www.kinook.com/VisBuildPro/Manual/programtab.htm You should be able to reproduce the problem outside Visual Build by running a Command Prompt under the Administrator account and creating and running a batch file as described in the 2nd post at http://www.kinook.com/Forum/showthread.php?threadid=438 |
#3
|
|||
|
|||
Yeah, we were able to reproduce the same error using a batch file
|
#4
|
|||
|
|||
Process completed with exit code -1073741502
Our Build Controller runs as NETWORKSERVICE and the Run Program Task needs to run as administrator and it seems like this elevation fails within the build process.
Not sure how to resolve it...... |
#5
|
|||
|
|||
Does the program really need elevated privileges? Maybe that could be fixed.
Otherwise, try something like elevate. http://code.kliu.org/misc/elevate/ |
Thread Tools | |
Display Modes | Rate This Thread |
|
|