DLLNotFoundException or InteropServices.SEHException

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all!

I have a problem and don't know what to do. I have written an application in asp.net using C# as my language. The application calls an external dll file. This is written i VS.NET C++. I have on my machine for development placed the resulting dll-file in the bin folder of my web application and it all works well. Here my OS is WinXp Pro.

But when I try to deploy my solution to a Win 2003 Server (Standard Edition). I can't call the dll. It does not matter if I specify the complete path or not. If I don't specify the path I get the error message: System.Runtime.InteropServices.SEHException. I have checked the dependencies of the dll and also included these files in my deployment package and also placed them in the bin folder. What else can I do? Suggestions are greatly appreciated.

Best Regards.

Mikael
 
Mikael,

Can you give the full stack trace of the exception, as well as the error
message? Just the type is not a lot of information to go on.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Micke said:
Hi all!

I have a problem and don't know what to do. I have written an application
in asp.net using C# as my language. The application calls an external dll
file. This is written i VS.NET C++. I have on my machine for development
placed the resulting dll-file in the bin folder of my web application and it
all works well. Here my OS is WinXp Pro.
But when I try to deploy my solution to a Win 2003 Server (Standard
Edition). I can't call the dll. It does not matter if I specify the complete
path or not. If I don't specify the path I get the error message:
System.Runtime.InteropServices.SEHException. I have checked the dependencies
of the dll and also included these files in my deployment package and also
placed them in the bin folder. What else can I do? Suggestions are greatly
appreciated.
 
Back
Top