There's plenty of information out there about this error. I haven't seen anything specific to IIS7. The error is random, but after it happens once, it continues for every subsequent request until the site is restarted. We have 3 servers in a farm, this happens on all of them. We are on 2008 64bit. App pool is in Integrated mode and the app pool identity is Network Service. Some pages use impersonation on a different user. I have given both of these users full access to the Temporary ASP folders, there is no active virus scan, indexing is off... I've been working at this for a week and everyday I think its fixed, and every morning I get back in to this happening on a server or 2. Also this is only happening in our production environment, our other environments are not experiencing this.
Error Page:
Could not load file or assembly 'ADAM.ReportingServices.Proxy' or one of its dependencies. Access is denied.
Server Error in '/' Application.
Could not load file or assembly 'ADAM.ReportingServices.Proxy' or one of
its dependencies. Access is denied.
Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details:
System.IO.FileLoadException: Could not load file or assembly
'ADAM.ReportingServices.Proxy' or one of its dependencies. Access is
denied.
Source Error:
[No relevant source lines] |
Source
File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET
Files\root\fe3ce745\6b82ba80\App_Web_b2xey_2w.1.cs Line: 0
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'ADAM.ReportingServices.Proxy' could not be
loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
|
Stack Trace:
[FileLoadException: Could not load file or assembly 'ADAM.ReportingServices.Proxy' or one of its dependencies. Access is denied.] System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166 System.Reflection.Assembly.Load(String assemblyString) +35 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190
[ConfigurationErrorsException: Could not load file or assembly 'ADAM.ReportingServices.Proxy' or one of its dependencies. Access is denied.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11200744 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232 System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48 System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) +166 System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +362 System.Web.UI.Page.get_ScriptManagerType() +61 System.Web.UI.Page.get_IsPartialRenderingSupported() +74 System.Web.UI.WebControls.BaseValidator.RegisterValidatorCommonScript() +36 System.Web.UI.Control.PreRenderRecursiveInternal() +108 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11035400 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11035098 System.Web.UI.Page.ProcessRequest() +91 System.Web.UI.Page.ProcessRequest(HttpContext context) +240 ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe3ce745\6b82ba80\App_Web_b2xey_2w.1.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3074;
ASP.NET Version:2.0.50727.3074
Event log:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 8/21/2009 8:40:28 AM
Event time (UTC): 8/21/2009 12:40:28 PM
Event ID: 629067e5c52c484fbf1a1daca6352436
Event sequence: 38
Event occurrence: 4
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-1-128953313511323690
Trust level: Full
Application Virtual Path: /
Application Path: E:\inetpub\wwwroot\Enrollment\
Machine name: PRD-WEB01G
Process information:
Process ID: 4592
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly 'ADAM.ReportingServices.Proxy' or one of its dependencies. Access is denied.
Request information:
Request URL: http://10.9.5.145/Login.aspx?ReturnUrl=A configuration error has occurred.f
Request path: /Login.aspx
User host address: 10.200.10.70
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 8
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal()
at System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase)
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.UI.Page.get_ScriptManagerType()
at System.Web.UI.Page.get_IsPartialRenderingSupported()
at System.Web.UI.WebControls.BaseValidator.RegisterValidatorCommonScript()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe3ce745\6b82ba80\App_Web_b2xey_2w.1.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
Conclusion: HELP!!!