473,401 Members | 2,068 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,401 software developers and data experts.

DllNotFoundException

DC
Hi,

I have created a ASP .net client talking to a .net web
service. The web service in turn calls a C++ dll to get
data from the host. The whole thing is working perfectly
fine on my machine, but when I am deploying the components
on a Window 2000 server, running the application is
throwing this error:

System.DllNotFoundException: Unable to load DLL (my.dll)

I have tried putting the dll in the system and system32
folders, - also I tried using the whole path of the dll in
DLL Import function. None of these worked.

Could someone please help me?

Thanks!
DC
Jul 21 '05 #1
2 2054
Maybe you can try putting the dll in the bin directory of
the web service. This has solved some of my problems
before.
-----Original Message-----
Hi,

I have created a ASP .net client talking to a .net web
service. The web service in turn calls a C++ dll to get
data from the host. The whole thing is working perfectly
fine on my machine, but when I am deploying the componentson a Window 2000 server, running the application is
throwing this error:

System.DllNotFoundException: Unable to load DLL (my.dll)

I have tried putting the dll in the system and system32
folders, - also I tried using the whole path of the dll inDLL Import function. None of these worked.

Could someone please help me?

Thanks!
DC
.

Jul 21 '05 #2
Maybe you can try putting the dll in the bin directory of
the web service. This has solved some of my problems
before.
-----Original Message-----
Hi,

I have created a ASP .net client talking to a .net web
service. The web service in turn calls a C++ dll to get
data from the host. The whole thing is working perfectly
fine on my machine, but when I am deploying the componentson a Window 2000 server, running the application is
throwing this error:

System.DllNotFoundException: Unable to load DLL (my.dll)

I have tried putting the dll in the system and system32
folders, - also I tried using the whole path of the dll inDLL Import function. None of these worked.

Could someone please help me?

Thanks!
DC
.

Jul 21 '05 #3

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....
1
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
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...
0
by: AG | last post by:
Hi, I have implemented the ASP.Net Ihttphandler interface. Handler references the mixed dll (both managed/unmanaged code) that contains core C++ classes wrapped under managed c++ wrappers....
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...
1
by: Zhihong Yu | last post by:
Hi, I declare an API as following: Public Declare Function IsFirstInstance Lib "WPLink.dll" () As Integer When I call this function in Main(), I got System.DllNotFoundException even though...
0
by: Yogesh Ketkar | last post by:
I have a asp .net application talking to some remoting objects. application hosting remoting objects runs on the same machine. From a last couple of days I have started getting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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,...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.