Re: Remote debugging in VS 2005

Tech-Archive recommends: Fix windows errors by optimizing your registry




I've setup remote debugging for a VC++ application from an XP m/c to a Vista
based m/c, but the application fails to execute remotely.

...

From the error log, I get:

Activation context generation failed for "k:\SDIExample.exe". Dependent
Assembly

Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"
could not be found. Please use sxstrace.exe for detailed diagnose.


Is the application able to run on the Vista system if you start it manually
(not through the remote debugger)? It looks like matching debug CRT DLLs
are missed on that machine.

You can try to link the application with the static version of CRT library
(that is, change /MDd compiler option to /MTd) and see if the application
starts working, or take a look at this article for more information about
VC2005 redistributables:
http://www.codeproject.com/cpp/vcredists_x86.asp

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]



.