FileLoadException. Access is denied. (0x80070005)

J

Jeremy Chapman

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=1.0.0.0,
Culture=neutral, PublicKeyToken=9318ce20673e8fdf
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/app/estaffing
LOG: Initial PrivatePath = bin
LOG: Dynamic Base = C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\estaffing\a186b4d8
LOG: Cache Base = C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
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
Files/estaffing/a186b4d8/fcd0a95a/InteriorHealth.DataAccessLayer.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/estaffing/a186b4d8/fcd0a95a/InteriorHealth.DataAccessLayer/InteriorHea
lth.DataAccessLayer.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/app/estaffing/bin/InteriorHealth.DataAccessLayer.DLL.
LOG: Assembly download was successful. Attempting setup of file:
c:\inetpub\wwwroot\app\estaffing\bin\InteriorHealth.DataAccessLayer.DLL
LOG: Entering download cache setup phase.
ERR: Setup failed with hr = 0x80070005.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing
terminated.
 
J

Jeremy Chapman

We fixed the problem from excluding certain directories from
antivirus,backups, and the indexing service. Problem has gone away.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top