Axel Dahmen
2/28/2007 12:10:00 AM
Hi,
we're experiencing a strange problem when deploying our ASP.NET web
application solution containing a managed C++ project: We're getting a
runtime exception telling us that it can't load the managed C++ assembly or
one of its dependencies.
We've already tried many things, like
* embedding the manifest
* not embedding the manifest
* executing
"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0 BootStrapper\Packages\vcredist_x86\vcredist_x86.exe"
at our target server
The only workaround that worked so far was creating a Windows Forms
application, including our managed C++ project with that solution, creating
a setup project for that Windows Forms application, and install that package
on the target server. This seems to be the only way to have the necessary
C++ wrapper classes installed on the target server correctly.
What are we doing wrong??
Any help is quite appreciated.
Probably a hint: We are using a ASP.NET 2.0 Web Project (1.1 style,
available with Visual Studio SP1).
Best regards,
Axel Dahmen
-------------------------
Exceptions we got:
a) Exception Details: System.Runtime.InteropServices.COMException: This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem. (Exception
from HRESULT: 0x800736B1)
b) Exception Details: System.IO.FileNotFoundException: The specified module
could not be found. (Exception from HRESULT: 0x8007007E)