AjaxControlToolkit Access Denied Issue After Local Machine Locked Up...
Posted on 2010-08-29
Below is the error message I now receive when the compiling my .Net app after my laptop locked up the other night. Prior to that event this had never been an issue, and the devleopment process has been going on for over a month. So, for some reason the hard boot after the laptop locked up while I had Visual Studio open caused something to happen that I can't seem to undo.
System.IO.FileLoadException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied.
I've Googled the issue and while there are plenty of suggestions none seem to solve the issue on my laptop. The key details to the error message, I believe, are in these lines:
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Inetpub\wwwroot\etrs2\etrs2apps\web.config
LOG: Using host configuration file: C:\WINNT\Microsoft.NET\Framework\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/etrs2_etrs2apps/a5e45f05/e95f7762/AjaxControlToolkit.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/etrs2_etrs2apps/a5e45f05/e95f7762/AjaxControlToolkit/AjaxControlToolkit.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/etrs2/etrs2apps/bin/AjaxControlToolkit.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.
Per many of the Google result suggestions I made sure that folder has Everyone access, but despite reboots, start/stops of IIS, etc I'm quite stuck. I've even re-installed the Ajax Control Tools and reloded them into the project.
Here is my environment setup in a nutshell:
Visual Studio 2010
Microsoft .NET Framework Version:4.0.30319