473,385 Members | 2,005 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.

Access Denied following Assembly.Load

Hi All,

I have an ASP.Net 1.1 application which loads an Assembly using
Assembly.LoadFrom. This is an intranet application which uses impersonation.
When the app tries to load an assembly using LoadFrom my users are getting a
System.IO.FileLoadException: Access is denied, naming the dll which we are
trying to load.

If I run the application as a user who is a local adminisrator on the
Webserver the file loads and is reflected fine. Moreover once the file has
been loaded once any of the other users (who are not admins) can execute the
code fine.

I have checked and even amended the ACL on the folder which contains the
file to provide Full Control to Everybody, but this does not solve the
problem. The Assembly being loaded is located below the WebApp /Bin folder.
Although I have tested it located outside the app base folder which the same
results.

I am not getting any failiures in the Security Event Log on the web server,
nor do I get any failiures when watching the files with FileMon
(SysInternals), when the user gets the error.

Any ideas would be gratefully appreciated.

Thanks

Justin
Nov 19 '05 #1
0 951

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

Similar topics

5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
16
by: Brad | last post by:
After compiling my asp.net project I'm receiving a "BC31011 - Access is denied" error when attempting to run or debug. The only thing that seems to resolve problem is IISReset. After a reset my...
1
by: Yan | last post by:
Hi, I've gotten the following attached error after copying some aspx and dll files from my dev server to production server. The error persisted after I disabled the index server, restart IIS,...
3
by: byrd48 | last post by:
Hi, I have a web project that uses a dll file for email functions. When I'm working on the program in VS, something happens (for no reason apparent to me) that causes an access denied error as...
2
by: byrd48 | last post by:
I have a dll I use in a VS project and it seems at random, when I debug, I will get an application config error (posted below) stating that access is denied. I can debug multiple times and then...
3
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that...
4
by: tshad | last post by:
I get this error periodically while testing my site and changing dlls. ********************************************************************** Configuration Error Description: An error occurred...
8
by: Jeremy Ames | last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in...
0
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was...
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
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:
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.