473,387 Members | 1,597 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,387 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 2052
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.