Sitefinity 7.0 500 错误 - System.Web.HttpCompileException

Sitefinity 7.0 500 Error - System.Web.HttpCompileException

我有一个正在开发的 Sitefinity 7.0 项目,直到本周才运行良好。现在我每次尝试访问仪表板或任何其他后端页面时都会收到 500 错误。登录有效,但所需的页面总是失败,无论是在 VS2013 中 运行ning 还是在 IIS 7 运行 中发布和 运行

我已将所有代码和数据更改回滚到站点没有问题之前的状态。我真的很想找到问题的原因。托管在 WS2008R2 上的生产站点仍然没有问题,但我需要在我的 Windows 8.1 机器上继续开发。

日志文件详细信息:

Message: HandlingInstanceID: 90fbe7e3-4606-4131-bbec-cfc0d6c34060
An exception of type 'System.Web.HttpCompileException' occurred and was caught.
-------------------------------------------------------------------------------
11/18/2015 12:36:19
Type : System.Web.HttpCompileException, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : External component has thrown an exception.
Source : System.Web
Help link :
Results : System.CodeDom.Compiler.CompilerResults
SourceCode :
WebEventCode : 0
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : System.CodeDom.Compiler.CompilerResults Compile()
HResult : -2147467259
Stack Trace :    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.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at Telerik.Sitefinity.Web.UI.ControlUtilities.CompileControl(String virtualPath)
   at Telerik.Sitefinity.Web.UI.ControlUtilities.LoadControl(String virtualPath, Page page)
   at Telerik.Sitefinity.Web.UI.VirtualPathTemplate.InstantiateIn(Control container, PlaceHoldersCollection placeHolders)
   at Telerik.Sitefinity.Web.UI.SimpleView.CreateContainer(ITemplate template)
   at Telerik.Sitefinity.Web.UI.SimpleView.get_Container()
   at Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.sfpageservice_45d368fb_a8a8_4cb0_8929_9f5d2f788882_120t8d6701230_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\roote8361a9\d9057781\App_Web_45d368fb-a8a8-4cb0-8929-9f5d2f788882_120t8d6701230_default.aspx.d63928b6.xuf1ckmk.0.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Additional Info:

TimeStamp : 18/11/2015 2:36:19 AM
FullName : Telerik.Sitefinity.Utilities, Version=7.0.5114.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/20/ROOT-1-130922877442563104
WindowsIdentity : IIS APPPOOL\AITSL-Source

解决方法是卸载 Microsoft 更新,直到问题消失。该问题似乎与 Microsoft Windows KB3098779

的安全更新有关

删除它,网站恢复正常功能。微软对更新的解释是:

This update resolves vulnerabilities in the Microsoft .NET Framework. The most severe of these vulnerabilities could allow elevation of privilege if an attacker injects a client-side script into a user’s browser.