Hello all!i am receiving this nasty error that i can not shake.. I starting getting this error when starting working with the runtime code access security policy’s. Now i can not see and this is still not fixed.Can someone please tell me the place to look to find the source of this error and how to go about fixing this. I have googled the hell out this error and nothing has come about...any help at all is greatly appreciated!Erik
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly manager loaded from: E:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Running under executable e:\windows\microsoft.net\framework\v2.0.50727\aspnet_wp.exe --- A detailed error log follows. === Pre-bind state information === LOG: User = A-70F371A855CA4\ASPNET LOG: DisplayName = Classy (Partial) LOG: Appbase = file:///e:/inetpub/wwwroot/Yes/ LOG: Initial PrivatePath = e:\inetpub\wwwroot\Yes\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: e:\inetpub\wwwroot\Yes\web.config LOG: Using host configuration file: e:\windows\microsoft.net\framework\v2.0.50727\aspnet.config LOG: Using machine configuration file from E:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\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:///E:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/yes/35f48301/33fe9daa/Classy.DLL. LOG: Attempting download of new URL file:///E:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/yes/35f48301/33fe9daa/Classy/Classy.DLL. LOG: Attempting download of new URL file:///e:/inetpub/wwwroot/Yes/bin/Classy.DLL. ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.
[FileLoadException: Could not load file or assembly 'Classy' 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) +211 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141 System.Reflection.Assembly.Load(String assemblyString) +25 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32 [ConfigurationErrorsException: Could not load file or assembly 'Classy' or one of its dependencies. Access is denied.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +3479081 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177 System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +267 System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +36 System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +73 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +580 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31 System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155