C# Web应用程序没有';t在临时ASP.NET文件中运行System.Web.HttpCompileException

C# Web应用程序没有';t在临时ASP.NET文件中运行System.Web.HttpCompileException,c#,asp.net,iis,C#,Asp.net,Iis,我使用Visual Studio 2013,有一个在本地IIS(版本8.5.9600.16384)上运行的web应用程序 从今天起,我无法运行web应用程序。如果我打开网站,我会得到一个编译错误,我们的日志记录程序会写入以下错误: <?xml version="1.0" encoding="ISO-8859-1"?> <Message><Exception><Message>Eine externe Komponente hat eine Ausn

我使用Visual Studio 2013,有一个在本地IIS(版本8.5.9600.16384)上运行的web应用程序

从今天起,我无法运行web应用程序。如果我打开网站,我会得到一个编译错误,我们的日志记录程序会写入以下错误:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Message><Exception><Message>Eine externe Komponente hat eine Ausnahme ausgel&#246;st.</Message><Type>System.Web.HttpCompileException</Type><StackTrace>   bei System.Web.Compilation.AssemblyBuilder.Compile()
   bei System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   bei System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName)
   bei System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName)
   bei System.Web.UI.Page.InitializeThemes()
   bei System.Web.UI.Page.PerformPreInit()
   bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   bei System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   bei System.Web.UI.Page.ProcessRequest()
   bei System.Web.UI.Page.ProcessRequest(HttpContext context)
   bei ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ebs.newtraffic.web\b5debfab\c81db55c\App_Web_boau4ge3.0.cs:Zeile 0.
   bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)</StackTrace></Exception></Message>

这是一个非常好的例子;st.System.Web.HttpCompileException bei System.Web.Compilation.AssemblyBuilder.Compile()
bei System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
bei System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(字符串themeName)
bei System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext上下文,字符串themeName)
bei System.Web.UI.Page.InitializeThemes()
bei System.Web.UI.Page.PerformPreInit()
bei System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includestagesafterasincpoint)
bei System.Web.UI.Page.ProcessRequest(布尔值includeStagesBeforeAsyncPoint,布尔值IncludeStagesSafteraSyncpoint)
bei System.Web.UI.Page.ProcessRequest()
bei System.Web.UI.Page.ProcessRequest(HttpContext上下文)
bei c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ebs.newtraffic.web\b5debfab\c81db55c\App\u web\u boau4ge3.0.cs:Zeile 0中的ASP.login\u aspx.ProcessRequest(HttpContext上下文)。
bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
bei System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值和同步完成)
其他团队成员对当前版本没有任何问题。几天前,我安装了Visual Studio 2015和TFS进行测试,我认为这可能是问题所在

我已经:

  • 重新启动IIS
  • 重新启动电脑
  • 删除临时ASP.NET文件中的文件/文件夹
  • 检查安全性,并授予IIS_IUSRS对以下文件夹的完全控制权
    • ASP.NET临时文件
    • C:\Windows\Temp
  • 清理/构建整个解决方案(VS2013和VS2015)
  • 使用“Microsoft.Net Framework修复工具”修复.Net Framework 4.0

但仍然不起作用。有什么想法吗?

我也有类似的问题。请尝试此处建议的解决方案: