System.Web.HttpCompileException (0x80004005)

System.Web.HttpCompileException (0x80004005)(System.Web.HttpCompileException (0x80004005))

本文介绍了System.Web.HttpCompileException (0x80004005)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 .net 4 Intranet 应用程序几乎一直运行良好.有时,在不做任何更改的情况下,它会开始给出 500 个异常并显示以下消息:

My .net 4 intranet application works fine almost all the time. Sometimes, without making any change, it starts giving 500 exceptions with the following message:

System.Web.HttpCompileException (0x80004005): External component has thrown an exception. 
at System.Web.Compilation.AssemblyBuilder.Compile() 
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) 
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) 
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) 
at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) 
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) 

唯一的解决方案是停止 inet 服务,删除 C:WindowsMicrosoft.Net..Temporary 文件,然后一切又开始工作.

The only solution is the stop the inet service, delete C:WindowsMicrosoft.Net..Temporary files and then everything starts working again.

有什么想法吗?谢谢!

推荐答案

解决办法是清理Asp.Net临时文件或者回收IIS池.

The solution is to clean the Asp.Net Temporary files or recycle the IIS pool.

详细了解 微软支持

这篇关于System.Web.HttpCompileException (0x80004005)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:System.Web.HttpCompileException (0x80004005)

基础教程推荐