未能加載文件或程序集“Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一個依賴項。系統找不到指定的文件。
解決辦法:
最新的為
<system.web> <sessionState mode="InProc" timeout="180" /> <compilation targetFramework="4.5.2" debug="true" /> <httpRuntime targetFramework="4.5.2" maxRequestLength="20971571" useFullyQualifiedRedirectUrl="true" executionTimeout="677770007" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true" /> <customErrors mode="Off" defaultRedirect="\Error\ErrorPath404" /> <pages controlRenderingCompatibilityVersion="4.0"> <namespaces> <add namespace="System.Web.Helpers" /> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="System.Web.WebPages" /> </namespaces> </pages> </system.web>
“/”應用程序中的服務器錯誤。
配置錯誤
說明: 在處理向該請求提供服務所需的配置文件時出錯。請檢查下面的特定錯誤詳細信息並適當地修改配置文件。
分析器錯誤消息: 未能加載文件或程序集“Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一個依賴項。系統找不到指定的文件。
源錯誤:
行 78: <system.web>
行 79: <sessionState mode="InProc" timeout="180" />
行 80: <compilation targetFramework="4.5.2" debug="true" assemblyPostProcessorType="Microsoft.VisualStudio.Enterprise.Common.AspPerformanceInstrumenter, Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
行 81: <httpRuntime targetFramework="4.5.2" maxRequestLength="20971571" useFullyQualifiedRedirectUrl="true" executionTimeout="677770007" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true" />
行 82: |
源文件: D:\MCP2\Source\MCP.WebApp\web.config 行: 80
程序集加載跟蹤: 下列信息有助於確定程序集“Microsoft.VisualStudio.Enterprise.AspNetHelper, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”未能加載的原因。
警告: 程序集綁定日志記錄被關閉。 要啟用程序集綁定失敗日志記錄,請將注冊表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)設置為 1。 注意: 會有一些與程序集綁定失敗日志記錄關聯的性能損失。 要關閉此功能,請移除注冊表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。 |
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.3752.0