473,386 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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???!!!
Nov 17 '05 #1
1 1759
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 www.sysinternals.com 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! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: "Petr Makagon" <ma*****@genesyslab.com>
!Sender: "Petr Makagon" <ma*****@genesyslab.com>
!Subject: unmanaged dll DllNotFoundException
!Date: Fri, 8 Aug 2003 02:29:51 -0700
!Lines: 7
!Message-ID: <07****************************@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???!!!
!
Nov 17 '05 #2

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

Similar topics

1
by: nagarajan.palanisamy | last post by:
Hello, We developed a DLL using C++ and I am calling the methods on the DLL using p/Invoke from managed code. The application runs well both as a console application and as a Windows Service...
1
by: Anna | last post by:
When I run a c#DotNet web service, I have the following error: System.DllNotFoundException: Unable to load DLL The dll that cannot be loaded is a C dll. That's why it cannot be put in the GAC....
1
by: batista | last post by:
Hi, I have an unmanaged dll that uses callback to call a function of managed code.Now the problem is that it's given error "System.DllNotFoundException" I read it's due to appdomian....
4
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...
1
by: Jorge_Beteta | last post by:
Hello Experts, I'm using Visual Studio NET 2003 Architect on a Windows 2003 Server. DataBase: Oracle 9i. All of them on the same PC. Problem is that I can't connect my ASP NET web program to...
2
by: grygoos | last post by:
Hello, I've got another kind of DllNotFoundException problem happening to my Web Application. My application uses a C# dll (lets call it managed.dll) which has a static wrapper method for a...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
7
by: Greg Roberts | last post by:
Hi 1. Is there any way to access a static function in a class via the syntax ? e.g. in C# static extern void MyClass::MyFunc(); The compiler does not like the class reference ...
4
by: Peter Schmitz | last post by:
Hi, I've got a rather old DLL that compiles properly with the 'Multi byte charset' option under VS2005. Now, I cannot call any functions of this dll out of a VB .net application (would need 'Use...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...

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.