我网站上的微型流体已停止工作。在Chrome Console中,我在:
上获得500个错误/mini-profiler-resources/includes.js?v=4.0.0.0
错误是:
"/'应用程序中的服务器错误"。
system.web.routing.urlroutingmodule不实现 ihttphandlerfactory或ihttphandler。
描述:执行期间发生了一个未经治疗的例外 当前的Web请求。请查看堆栈跟踪以获取更多 有关错误及其起源于代码的信息。
我的web.config文件具有以下相关行:
<system.webServer>
<handlers>
<add name="MiniProfiler" path="mini-profiler-resources/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />
</handlers>
<modules>
<add name="DynamicURLRewrite" type="C3.Code.Controls.Application.Rewriting.URLRewriter" />
<remove name="TelemetryCorrelationHttpModule" />
<add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" />
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
</modules>
请添加下面
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
到web.config
,看看是否有帮助?如果那不起作用,请检查您是否可以使用localhost
http://127.0.0.1:<port>/mini-profiler-resources/includes.js?v=4.0.0.0
如果没有任何可行的工作,则可以将卸载并重新安装微型油片机。有时会重新安装奇迹