I have a Web Service that was originally created with .NET VC 2003,
and subsequently converted to the 2005 version. It works fine when
built as a debug version, and run on the workstation it was built on.
Now I want to build a release version so I can deploy it to Windows
2003 server. This project is compiled with "/clr:oldSystax". I've
run into several problems and I am not sure all of the things I am
discovering are related. Any help I can get to understand what is
going on would be much appreciated.
First I changed the project to release version, and changed all input
libraries to point to the release versions of the C++ DLL's that the
WS depends upon. The project builds and deploys to the local machine
with no problem. But when I try to run it I get the infamous debug
screen that tells you nothing...except "The specified module could not
be found".
Running Filemon, it becomes clear that the module in question is
MFC80.DLL. That is strange because this is the dev machine, and sure
enough the MFC80 libraries are installed in the Win SxS directories.
But checking the web service DLL with Depends, sure enough it can't
find MFC80! Then I checked the debug version with depends and it
shows the same thing - it depends on MFC80, and it also cannot be
found. BUT - in the debug version MFC80 is depended upon only by some
of the other C++ libraries, while in the release version the Web
Service DLL itself depends on MFC80.
So I checked the debug version with Filemon and surprise, MFC80 is
never looked for. Next I compared the intermediate.manifest files for
both versions, and niether one has the MFC80 libraries in it.
So... WHY do both versions depend upon MFC80 according to Depends, but
only the release version actually tries to open it?
And... If the release version does reqire MFC80, why is it not in the
manifest?
And... how can I fix the release version?
HELP Please!
Thanks, Russ