FileLoadException. Access is denied. (0x80070005)

Discussion in 'ASP .Net' started by Jeremy Chapman, Jan 4, 2005.

  1. 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.
    Jeremy Chapman, Jan 4, 2005
    #1
    1. Advertising

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

    "Daniel Bergsten" <Daniel > wrote in
    message news:...
    >
    > 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.
    >
    >
    Jeremy Chapman, Apr 19, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rajesh Patel
    Replies:
    0
    Views:
    3,584
    Rajesh Patel
    Jan 4, 2004
  2. Brock Allen
    Replies:
    0
    Views:
    431
    Brock Allen
    Apr 14, 2005
  3. Dave F.
    Replies:
    2
    Views:
    6,138
    David Lloyd
    May 14, 2005
  4. Mitja Semolic
    Replies:
    0
    Views:
    8,543
    Mitja Semolic
    Nov 15, 2005
  5. Gopi

    System.IO.FileLoadException: Access is denied

    Gopi, Aug 13, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    215
Loading...

Share This Page