问题描述
系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)说明:执行当前Web请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息:System.Runtime.InteropServices.COMException:系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)应用程序池版本为2.0,打开页面会出现如下错误!请大神替我看看是什么原因造成的源错误:执行当前Web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。堆栈跟踪:[COMException(0x800705aa):系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)][FileLoadException:未能加载文件或程序集“GITWeb,Version=0.0.0.0,Culture=neutral,PublicKeyToken=null”或它的某一个依赖项。系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)]System.Reflection.Assembly._nLoad(AssemblyNamefileName,StringcodeBase,EvidenceassemblySecurity,AssemblylocationHint,StackCrawlMark&stackMark,BooleanthrowOnFileNotFound,BooleanforIntrospection)+0System.Reflection.Assembly.nLoad(AssemblyNamefileName,StringcodeBase,EvidenceassemblySecurity,AssemblylocationHint,StackCrawlMark&stackMark,BooleanthrowOnFileNotFound,BooleanforIntrospection)+54System.Reflection.Assembly.InternalLoad(AssemblyNameassemblyRef,EvidenceassemblySecurity,StackCrawlMark&stackMark,BooleanforIntrospection)+211System.Reflection.Assembly.InternalLoad(StringassemblyString,EvidenceassemblySecurity,StackCrawlMark&stackMark,BooleanforIntrospection)+141System.Reflection.Assembly.Load(StringassemblyString)+25System.Web.Configuration.CompilationSection.LoadAssemblyHelper(StringassemblyName,BooleanstarDirective)+32[ConfigurationErrorsException:未能加载文件或程序集“GITWeb,Version=0.0.0.0,Culture=neutral,PublicKeyToken=null”或它的某一个依赖项。系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)]System.Web.Configuration.CompilationSection.LoadAssemblyHelper(StringassemblyName,BooleanstarDirective)+596System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()+211System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfoai)+46System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSectioncompConfig)+177System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPathconfigPath,BooleansupportLocalization,StringoutputAssemblyName)+185System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPathvirtualDir,CodeDirectoryTypedirType,StringassemblyName,StringSetexcludedSubdirectories,BooleanisDirectoryAllowed)+350System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPathvirtualDir,CodeDirectoryTypedirType,StringassemblyName,StringSetexcludedSubdirectories)+125System.Web.Compilation.BuildManager.CompileCodeDirectories()+525System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()+448[HttpException(0x80004005):未能加载文件或程序集“GITWeb,Version=0.0.0.0,Culture=neutral,PublicKeyToken=null”或它的某一个依赖项。系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)]System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()+57System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()+612System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManagerappManager,IApplicationHostappHost,IConfigMapPathFactoryconfigMapPathFactory,HostingEnvironmentParametershostingParameters)+644[HttpException(0x80004005):未能加载文件或程序集“GITWeb,Version=0.0.0.0,Culture=neutral,PublicKeyToken=null”或它的某一个依赖项。系统资源不足,无法完成请求的服务。(异常来自HRESULT:0x800705AA)]System.Web.HttpRuntime.FirstRequestInit(HttpContextcontext)+3465475System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContextcontext)+69System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequestwr,HttpContextcontext)+675
解决方案
解决方案二:
这是什么原因呢
解决方案三:
内存不够,看看你的程序是不是占用了巨大的内存量
解决方案四:
线上的数据量大,取的时候记得加分页,一次只取几十条
解决方案五:
换一台厉害点的机器
解决方案六:
内存不够,是占用了巨大的内存量