none
MSB3073 :VCEnd" exited with code -1073741515

    Question

  • Hi all,

    I am trying to compile my code under Visual Studio 2010 with the following under the Custom Build Step:

    "$(TargetPath)" /RegServer
    echo regsvr32 exec. time > "$(OutDir)regsvr32.trg"
    echo Server registration done!

    And I got the following error.  Can someone tell me what is wrong?  Thanks so much.

    1> SRRM_kProcessStarter.cpp

    1> SRRM_kRemoteRequestManager.cpp

    1> Generating Code...

    1> Creating library ..\..\bin\SRRMd.lib and object ..\..\bin\SRRMd.exp

    1> SRRM_X86.vcxproj -> C:\DAS\Piranha\src\SRRM\..\..\bin\SRRMd.exe

    1> Server registration done!

    1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: The command ""C:\DAS\Piranha\src\SRRM\..\..\bin\SRRMd.exe" /RegServer

    1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: echo regsvr32 exec. time > "..\..\bin\regsvr32.trg"

    1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: echo Server registration done!

    1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073:

    1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: :VCEnd" exited with code -1073741515.

    Friday, August 27, 2010 9:15 PM

Answers

  • Hi,

    Thank you for your reply.  I figured out that my application does not run becuase one of my libraries is still depend on VS2005.  I was upgrading my application from VS2005 to VS2010.  It works now once i upgrade the library.

    Thank you for your help.

    Raymond

    Tuesday, August 31, 2010 5:38 PM

All replies

  • Hi, Raymond

    After doing some research, I assume the error may relate to permission issue.

     

    For regsvr32 is used to register ActiveX control, which needs administrator rights to run, if your visual studio 2010 is ran under normal user, this will result some errors.

     

    Please right click your VS2010 and then select “Run As administrator” to start VS2010, then build your projects again.

     

    Please give me some feedback.

    Thanks

    Chao


    Please unmark it if it does not help, and mark it if it helps.
    Tuesday, August 31, 2010 5:57 AM
    Moderator
  • Hi,

    Thank you for your reply.  I figured out that my application does not run becuase one of my libraries is still depend on VS2005.  I was upgrading my application from VS2005 to VS2010.  It works now once i upgrade the library.

    Thank you for your help.

    Raymond

    Tuesday, August 31, 2010 5:38 PM
  • Raymond,

     

    I am upgrading from VC++6 to Visual Studio 2010 and also got stuck with the similar kind of problem

    Can you suggest me the correct way and how to upgrade my libraries ffrom VC+6 to VS2010.

    TIA

    Naresh

    Wednesday, October 20, 2010 6:15 PM
  • Hi

    I am in need of solution for this. Can you post reply here :

    Problem Details:

    From Windows->Strart->Run the dll registers successfully. But fails registration from Custom build step in Visual Studio 2010 IDE.
    It reports :  MSB3073 The command "regsvr32 /s /c asxcvc.dll" failed :VCEnd exited with code 3.

    This is a converted project from VS2005. in Vs2005 IDE it works perfectly in registering from Custom build step.

    From dependency walker I tried profiling the dll through regsvr32.exe. It succeeded.

    In IDE only it fails. Thanks for your additional inputs, if any!

    -Gene

    Thursday, March 17, 2011 3:08 AM
  •  

     

    I found the real cause with is nothing but dependency issue.

    The issue may be missing dependant or

    The dependant dll will be of lower version.

     

    All my registration problem solved.

     

    There are registration issues in VS2010 porting, with COM/interop/assemly related issues which microsoft has a work around  of delay sign, strong key generation using sn.exe and then doing regsrv32 or regasm.


    • Proposed as answer by Geniffer Saturday, May 07, 2011 6:03 AM
    Saturday, May 07, 2011 6:03 AM
  • I am counter the same question.
    Saturday, June 08, 2013 10:18 AM