Ask a Question related to ASP.NET General, Design and Development.
-
Petr Makagon #1
unmanaged dll DllNotFoundException
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 Module.
any idea???!!!
Petr Makagon Guest
-
Web Service and unmanaged DLL using ADO
Hi. I'm writting a web service (C#) that using an unmanaged DLL written in C++. This DLL uses ADO to access to a MySQL database. If I use this... -
DllImport to unmanaged
Hello NG From a Web Project (C#, XP-box) I want to call unmanaged code : so private static extern int FirstFunc(); BUT when I in my... -
Unmanaged DLL and ADO
I have a C# written webservice that calls an unmanaged DLL. The DLL uses ADO to access SQL database. I can call the DLL with no problem from a C#... -
Problems using a unmanaged DLL from ASP.NET
Hi I need to access a unmanaged DLL from my ASP.NET page. This DLL (a "true" DLL, not a COM DLL) is a database manager with 2 DLLs and 1 .EXE (no... -
How to access unmanaged DLL from within ASP.NET (using VB.NET)
(This is a continuation of my post from earlier today.) I have been semi-successful by using the good old DECLARE FUNCTION like this: Declare... -
Yan-Hong Huang[MSFT] #2
RE: unmanaged dll DllNotFoundException
Hello Petr,
Thanks for posting in the group.
Based on my experience, you could check the following:
1) Is the unmanaged C++ dll a debug build that needed some debug dependency files loaded on the test machines?
Please get a release build of the dll and test again.
2) Where do you put the C++ unmanaged DLL? Please put it in ASP.NET web application bin directory or system32 direcotry
to see if the problem is still there.
3) Please download filemon and regmon from [url]www.sysinternals.com[/url] to see which file is "access denied" or "not found" when
called from asp.net.
Hope it helps.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "Petr Makagon" <makagon@genesyslab.com>
!Sender: "Petr Makagon" <makagon@genesyslab.com>
!Subject: unmanaged dll DllNotFoundException
!Date: Fri, 8 Aug 2003 02:29:51 -0700
!Lines: 7
!Message-ID: <071401c35d8f$9e5d0a70$a601280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNdj55dDjvUu4nERUSlkBYIWRkqWg==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:166057
!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!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 Module.
!
!any idea???!!!
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

