473,509 Members | 4,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DLLNotFoundException or InteropServices.SEHException


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
Nov 16 '05 #1
1 2135
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]
- mv*@spam.guard.caspershouse.com

"Micke" <Mi***@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com...

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

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9055
by: MJB | last post by:
I never get the above exception in Windows 2k. It only happens in Windows XP, which is the first oddity. My application is multi-threaded and I use the webbrowser control and media player. The...
0
613
by: Carsten | last post by:
Hi, I have a problem with instantiating a Web service. When the constructor for the proxy is called a SEHException is thrown. The call stack is shown below: ...
0
2659
by: Robert Mayr | last post by:
Hello, i know that this is a bug of the .net framework, when you activate the VisualStyles, so i deactivate this features. But i get sometimes this exception when i call <Form>.ShowDialog (not...
3
5996
by: Chris | last post by:
Hi As I understand things, when my unmanaged C++ code throws an exception it is wrapped into a SEHException when it reaches managed code. Now is there a way from the managed catch clause to get...
1
1769
by: Petr Makagon | last post by:
i have a c++ managed wrapper around unmanaged dll. when i use this wrapper from managed console app it works fine but when i use it in aspx i have DllNotFoundException occurred in Unknown...
4
3763
by: Aaron Stubbendieck | last post by:
Hello, I have an asp.net script that references system.drawing and I am receiving the following the error when using system.drawing.bitmap: Exception Details: System.DllNotFoundException: Unable...
0
2296
by: =?Utf-8?B?VGhvbWFzIFR1dGtv?= | last post by:
An ASP.NET web project has recently began crashing WebDev.WebServer.exe with a System.Runtime.InteropServices.SEHException. The EventLog for the crash looks like this: Application ID:...
0
2216
by: selvialagar | last post by:
i've done a calibration tool. In that, there will be list of parameters and the value for the parameters are coming from the external device using TCP communication. The Screen will be refreshed once...
0
2432
by: THEDuke141 | last post by:
Hi guys, I've lately been plagued with a SEHException while trying to debug VB.Net applications. I'm not exactly sure when the problem started to appear but it literally just appeared out of...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7347
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7073
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.