473,791 Members | 3,179 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

unable to load DLL (<filename>.dll )

Hi, i'm currently working on web services using C#. i've
used external DLL in my project. when i test the web
service out, the page display an error msg - unable to
load DLL (<filename>.dll ) after i click on the invoke
button.

i've try to put the dll file in the bin folder of the web
service project, the System32 folder and added reference
to the dll in the web service project. but i still got
this error.

Please help me. Thanks!
Nov 16 '05 #1
2 3514
adios,

You might want to turn on the Fusion Log, and check the results of that
out. However, since you placed it in the bin directory, I would assume that
it would have been found there. If the Fusion log indeed indicates that the
file was found, then is it possible it is corrupt, or not a .NET assembly?

Or maybe you placed it in a directory that ASP.NET (at least, the ASPNET
local user) doesn't have access to?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"adios" <an*******@disc ussions.microso ft.com> wrote in message
news:1e******** *************** *****@phx.gbl.. .
Hi, i'm currently working on web services using C#. i've
used external DLL in my project. when i test the web
service out, the page display an error msg - unable to
load DLL (<filename>.dll ) after i click on the invoke
button.

i've try to put the dll file in the bin folder of the web
service project, the System32 folder and added reference
to the dll in the web service project. but i still got
this error.

Please help me. Thanks!

Nov 16 '05 #2
Hi,

Is the dll a .net one?

Did you added it in the references? ( you should not be able to compile the
project otherwise )

give a little more details ..
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"adios" <an*******@disc ussions.microso ft.com> wrote in message
news:1e******** *************** *****@phx.gbl.. .
Hi, i'm currently working on web services using C#. i've
used external DLL in my project. when i test the web
service out, the page display an error msg - unable to
load DLL (<filename>.dll ) after i click on the invoke
button.

i've try to put the dll file in the bin folder of the web
service project, the System32 folder and added reference
to the dll in the web service project. but i still got
this error.

Please help me. Thanks!

Nov 16 '05 #3

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

Similar topics

10
89406
by: John Tiger | last post by:
Can anybody have idea about the difference between #include <iostream.h> and #include <iostream>. Is later one valid statement on any compiler. I tried compiling on MSVC second statement give compilation error as #include expect filename. Anu help would be appreciated. thanx, John
1
2155
by: Macca | last post by:
Hi, I have been using <fstream.h> in stdafx.h,(i'm using MFC) to output to text files. I have now started to use vectors and when i added #include <vector> using namespace std; to stdafx.h, I found that to compile i had to change <fstream.h> to <fstream> to get it to compile.
9
2373
by: ai | last post by:
Hi , I have an application which has to read files of size few mba nd read them into array . Since i am using STL and std namespace to avoid the error error C2872: 'ifstream' : ambiguous symbol when i include <iostream.h> with std namespace and <List>
2
1514
by: Bill Roper | last post by:
Did you know that the #include directive when using angle brackets works substantially differently in VC7 than it did in VC6? It used to be that the reference for the additional include directories that you specify for the project started from the project directory. Now it appears to start from the directory that you're including the file from. So if you have a directory structure like this:
1
3126
by: Joel Finkel | last post by:
Folks, I am unable to execute any ASPX files on a Windows 2000 Server, running as a Primary Domain Controller. The error is "Error BC31019: Unable to write to output file '<filename>'" By auditing access to the directory into which files are being written, I can confirm that the IUSR_<machineName> account is able to create the all the required sub-directories and files EXCEPT the DLL file. For example, trying to execute a simply ASPX...
2
2637
by: ehui928 | last post by:
hi, everybody I am a newbie in STL. When I compile the following program under gcc4.0, I got a the following errors. I wonder whether the form of list< vector<string> > is correct in STL ? // test.cpp #include <iostream> #include <fstream> #include <vector> #include <string>
2
4840
by: DeanL | last post by:
Hi Guys, I've been trawling through this group for an answer to this but can't find one that works. I have an Access 97 db sitting on a Novell server that is accessed via a front end with linked tables. There are several users that need access to this db but some get the "Couldn't us <filenameFile already in use" error. Every user has the same level of access rights to the server and their accounts are all identical but some still...
3
3447
by: George0726 | last post by:
This happens regardless of the Version of Access. Users accessing a database on a shared folder get the "Couldn't use <filename>; file already in use." Everyone without exception has access to the folder. The folder is NOT read-only. The solution I have found is to move ALL files to another folder, DELETE the original folder and RENAME the new folder with the exact name of the old folder. Problem solved. Everyone accesss the DB. ...
1
7452
by: yawnmoth | last post by:
http://www.frostjedi.com/terra/scripts/demo/download2.php Whenever I get that page, I get the following error: --------------------- Internet Explorer cannot download download2.php from www.frostjedi.com. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try
0
9512
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10419
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9987
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9023
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6770
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5424
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3709
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2910
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.