PC Review


Reply
Thread Tools Rate Thread

DllNotFoundException

 
 
DC
Guest
Posts: n/a
 
      17th Dec 2003
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
 
Reply With Quote
 
 
 
 
Balu
Guest
Posts: n/a
 
      18th Dec 2003
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

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
>.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: DllNotFoundException in .net application =?Utf-8?B?QW5kcmVhcw==?= Microsoft Dot NET 1 3rd Apr 2006 10:24 AM
An unexplainable DllNotFoundException :( =?Utf-8?B?ZHhiZW4=?= Microsoft Dot NET Framework 10 6th Dec 2005 10:07 PM
A question about DllNotFoundException Michel Microsoft C# .NET 4 11th Aug 2004 07:25 PM
DllNotFoundException Aaron Stubbendieck Microsoft ASP .NET 4 5th Jan 2004 04:18 AM
DllNotFoundException DC Microsoft Dot NET Framework 1 17th Dec 2003 09:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 PM.