Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > FileLoadException. Access is denied. (0x80070005)

Thread Tools

FileLoadException. Access is denied. (0x80070005)

Jeremy Chapman
Posts: n/a
Sometimes users are reporting that they receive a FileLoadException error
saying that access to a dll is denied. This has occured after strong naming
my dlls for my web apps, and it seems to be occuring intermittently. This
is the fusion log entry, and I am confused:

*** Assembly Binder Log Entry (1/4/2005 @ 9:20:51 AM) ***

The operation failed.
Bind result: hr = 0x80070005. Access is denied.

Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion. dll
Running under executable
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_ wp.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = InteriorHealth.DataAccessLayer, Version=,
Culture=neutral, PublicKeyToken=9318ce20673e8fdf
LOG: Appbase = file:///c:/inetpub/wwwroot/app/estaffing
LOG: Initial PrivatePath = bin
LOG: Dynamic Base = C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry
ASP.NET Files\estaffing\a186b4d8
LOG: Cache Base = C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempora ry
ASP.NET Files\estaffing\a186b4d8
LOG: AppName = fcd0a95a
Calling assembly : InteriorHealth.WebApps.eStaffing, Version=1.0.1817.18186,
Culture=neutral, PublicKeyToken=null.

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
LOG: Attempting download of new URL
LOG: Assembly download was successful. Attempting setup of file:
c:\inetpub\wwwroot\app\estaffing\bin\InteriorHealt h.DataAccessLayer.DLL
LOG: Entering download cache setup phase.
ERR: Setup failed with hr = 0x80070005.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing

Reply With Quote
Jeremy Chapman
Posts: n/a
We fixed the problem from excluding certain directories from
antivirus,backups, and the indexing service. Problem has gone away.

"Daniel Bergsten" <Daniel Removed)> wrote in
message news:(E-Mail Removed)...
> I experienced the same problem. Getting a FileLoadException for my ASP.NET
> apps when using strongly named external dll.
> Resolved my problem by removing the strong name.

Reply With Quote

Thread Tools

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
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
one computer can access shared files the other can't even access =?Utf-8?B?SiBIYW1lcg==?= Wireless Networking 4 12-07-2004 03:13 AM
Desktop can't access Laptop but Laptop can access desktop =?Utf-8?B?Qmx1Y2FkZHk3MQ==?= Wireless Networking 2 11-23-2004 01:52 AM
How do I let people access the internet via an access point but not allow them access to my network yar Wireless Networking 4 09-21-2004 03:48 AM