Appication crash during registration (MyComManager.exe /Regserver)


  • Hi,

    I have a 32 bit exe (MyComManager.exe) which works fine in Windows 2003 Server. This exe was compiled with VisualStudio 6.0 in Windows 2003 Server.

    Recently I started migrating the code for the exe using Visual Studio 2005 in Windows 2008 R2 Server (x64). When I build the code in VisualStudio 2005, the compilation goes fine i.e. no compile errors, but when VS tries to register the exe as a COM Server, the exe crashes every time i.e. in the Custom Build Step, VS tries to execute "MyComManager.exe /Regserver" and the crash occurs at this step.

    I tried the below things to resolve the crash but failed to find a solution

    1.Verified if the user has admin rights.

    2. Turned off UAC.

    3. Turned off DEP (Data Execution Prevention) for my exe.

    4. Used Dependency Walker to find if any dependent DLLs are missing and then resolved the dependencies.

    5. Tried to register the exe manually. Application crashed every time.

    Below is a screenshot of the problem details when the application crashes during registration:

    <Problem Details Start>

    Problem signature:
      Problem Event Name:    BEX
      Application Name:    MyComManager.exe
      Application Version:    10.312.0.0
      Application Timestamp:    510b8fb4
      Fault Module Name:    MyComManager.exe
      Fault Module Version:    10.312.0.0
      Fault Module Timestamp:    510b8fb4
      Exception Offset:    0009adb7
      Exception Code:    c000000d
      Exception Data:    00000000
      OS Version:    6.1.7601.
      Locale ID:    1033
      Additional Information 1:    4717
      Additional Information 2:    47175859bd1bf5ed4fbaaad217a488c1
      Additional Information 3:    d822
      Additional Information 4:    d822bebd5d907f28e83407298aa19187
    <Problem Details End>

    If anyone had came across this issue, please let me know how to resolve this. I think this issue might be related to system configuration.

    Please advice.



    Friday, February 01, 2013 10:17 AM


All replies