473,385 Members | 1,925 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,385 software developers and data experts.

dll not found - dotnet looking in the wrong place

Hi,

Although I have placed my "wec.dll" in the correct folder
("wwwroot\wec\bin"), and have configured this "wec" folder in IIS as an
application, when an aspx page is hit, I get a "could not load type wec"
error. This error disappears if I cut-and-paste this wwwroot\wec\bin
directory into the wwwroot folder.

Thus the problem is that IIS is ignoring the fact that the sub-folder has
been configured as an application, and is refusing to look for dll's in the
sub-folder's bin directory. Does anyone know what might be causing this?
I'm now using Windows XP Pro, and never had this issue with W2000 Advanced
Server (on which this application was previously developed).

TIA,

JON
----------------------------------------------------------------------------
------------------------------------
FURTHER DETAILS
If I add the following to the wwwroot\wec\web.config:

<system.web>
<configuration>
<compilation>
<assemblies>
<add assembly="wec" />
</assemblies>
</compilation>
</configuration>
</system.web>
....I get the following error message, which simply confirms that for some
reason Dotnet is trying to find the dll in the 'Temporary ASP.NET Files'
folder, instead of in wwwroot\wec\bin:

CONFIGURATION ERROR
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: File or assembly name wec, or one of its dependencies,
was not found.

=== Pre-bind state information ===
LOG: DisplayName = wec
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: wec
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/root/2135a508/8d69a834/wec.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/root/2135a508/8d69a834/wec/wec.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/bin/wec.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/bin/wec/wec.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/root/2135a508/8d69a834/wec.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/root/2135a508/8d69a834/wec/wec.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/bin/wec.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/bin/wec/wec.EXE.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.700 / Virus Database: 457 - Release Date: 06/06/2004
Jul 21 '05 #1
1 2542
Un- and re-installing the Dotnet Framework fixed it.

JON

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004
Jul 21 '05 #2

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

Similar topics

10
by: Darren | last post by:
OK, I'm trying to understand the need for this. If I understand correctly without this anyone can reverse engineer and obtain the source code of my application - is this correct? And this tool will...
40
by: Eitan | last post by:
Hello, I know Java-Applet (written for JBuilder). I would like to know about dotnet technology, pros and cons in comparation to Java-Applet technololgy. Can I write a program in dotnet, like...
13
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded....
20
by: Clark | last post by:
Hi all. I'm looking for good C source code to study and be able to advance my C programming skills. Do you recomend any open source project in particular that in your opinion has good writen C...
4
by: Dave | last post by:
I need to add the ability to drag from a Windows Form and drop into a non dotNet application. For example, having a generated image in my app that I wish to drag out into explorer as a friendly way...
2
by: Jon Maz | last post by:
Hi, Although I have placed my "wec.dll" in the correct folder ("wwwroot\wec\bin"), and have configured this "wec" folder in IIS as an application, when an aspx page is hit, I get a "could not...
14
by: NormD | last post by:
We have a client-server app using Web Services on an IIS machine. The trace below shows that .NET is searching around for some things (e.g., SystemDrawing.DLL and System.Drawing.EXE) and taking a...
6
by: Mark A. Sam | last post by:
Hello, I am strictly an Access Developer with limited exposure to ASP. My client wants to put his database online through a brower, which would mean using Thin Client Web ( I think that is the...
21
by: Edward | last post by:
Hi All, I feel frustrated with one of my Customers who wants me to ensure that a dotnet web site I am building for them must be compatible to Apple's Safari browser! Safari is buggy and it...
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: 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: 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:
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
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
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.