과거에 답변을 드렸다면 죄송합니다. 나는 높고 낮은 답변을 찾았지만, 이전 게시물에 대한 제안은 내 문제를 해결하지 못했습니다. 그것이 내가이 질문을 게시하는 이유입니다.파일 또는 어셈블리 '[Website]'또는 해당 종속성 중 하나를로드 할 수 없습니다. 액세스가 거부되었습니다.
이전에 2003/IIS6에서 실행 된 웹 서비스를 2008 R2/IIS7로 변환 중입니다. 2008 R2/IIS7에 익숙하지 않아서 익숙하지 않은 간단한 수정이라도 사과드립니다.
ILXQuoteServer라는 사용자 지정 응용 프로그램 풀을 만들었지 만 Classic .Net 응용 프로그램 풀 뒤에 모델링하여 두 풀의 모든 구성이 일치하도록했습니다.
위의 오류가 발생하면 [local host] \ network 서비스를 사용하도록 모든 응용 프로그램 권한을 재설정하고 [local host] \ network 서비스에 웹 서비스 폴더에 대한 읽기/실행/목록 사용 권한을 부여했습니다.
그러나 이러한 수정 사항은 적용되지 않았습니다. 여기에 전체 오류가 있습니다. 다행히도, 그것은 간단한 수정입니다.
감사합니다.
한
========================================= =====================================================
'/ ILXQuoteServer'응용 프로그램의 서버 오류입니다.
파일 또는 어셈블리 'ILXQuoteServer'또는 해당 종속성 중 하나를로드 할 수 없습니다. 접근이 금지되어있다.
설명 : 현재 웹 요청을 실행하는 동안 처리되지 않은 예외가 발생했습니다. 오류 및 코드에서 시작된 위치에 대한 자세한 정보는 스택 추적을 검토하십시오.
예외 정보 : System.IO.FileLoadException : 파일 또는 어셈블리 'ILXQuoteServer'또는 해당 종속성 중 하나를로드 할 수 없습니다. 접근이 금지되어있다.
소스 오류 :
처리되지 않은 예외가 현재 웹 요청을 실행하는 동안 생성되었습니다. 예외의 출처와 위치에 관한 정보는 아래의 예외 스택 추적을 사용하여 식별 할 수 있습니다.
어셈블리로드 추적 : 다음 정보는 'ILXQuoteServer'어셈블리를로드 할 수없는 이유를 확인하는 데 도움이됩니다.
=== Pre-bind state information ===
LOG: User = Unknown
LOG: DisplayName = ILXQuoteServer
(Partial)
LOG: Appbase = file:///D:/MA Install/ILXQuoteServer/
LOG: Initial PrivatePath = D:\MA Install\ILXQuoteServer\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\MA Install\ILXQuoteServer\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\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:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ilxquoteserver/70368188/9ded7e96/ILXQuoteServer.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ilxquoteserver/70368188/9ded7e96/ILXQuoteServer/ILXQuoteServer.DLL.
LOG: Attempting download of new URL file:///D:/MA Install/ILXQuoteServer/bin/ILXQuoteServer.DLL.
LOG: Using application configuration file: D:\MA Install\ILXQuoteServer\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\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).
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.
스택 추적 :
[FileLoadException: Could not load file or assembly 'ILXQuoteServer' or one of its dependencies. Access is denied.]
[FileLoadException: Could not load file or assembly 'ILXQuoteServer, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' 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.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
[ConfigurationErrorsException: Could not load file or assembly 'ILXQuoteServer, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +232
System.Web.Compilation.BuildManager.CompileGlobalAsax() +51
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +337
[HttpException (0x80004005): Could not load file or assembly 'ILXQuoteServer, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729
[HttpException (0x80004005): Could not load file or assembly 'ILXQuoteServer, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8921851
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456