“/”应用程序中的服务器错误。

Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ApplicationException: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[ApplicationException: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet]
   UrlRewritingNet.Web.UrlRewriting.Initialize() +306
   UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String providerName) +16
   UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context) +228
   System.Web.HttpApplication.InitModulesCommon() +65
   System.Web.HttpApplication.InitModules() +43
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289


版本信息: Microsoft .NET Framework 版本:2.0.50727.9174; ASP.NET 版本:2.0.50727.9175