我的.net 4内网应用程序几乎一直运行良好.有时,在不进行任何更改的情况下,它会通过以下消息开始提供500个异常:
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)
Run Code Online (Sandbox Code Playgroud)
唯一的解决方案是停止inet服务,删除C:\ Windows\Microsoft.Net ..\Temporary files然后一切都重新开始工作.
有任何想法吗?谢谢!
尝试清理临时 asp.net 文件C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
| 归档时间: |
|
| 查看次数: |
17196 次 |
| 最近记录: |