We have moved to GitHub Issues
Created by Josh Reid 19 Feb 2013, 21:01:16 Updated by Sebastiaan Janssen 12 Jan 2016, 10:44:10
After upgrading from 4.10 to 4.11.x (and likely further upgrades- reports of it still happening in 6.0RC) there is a random error in back office (often when creating nodes but also on save/publishes)... Shown below. (I've tried including 'defaultProvider="RegEx"' in the first line of UrlRewriting.config like so (to no avail):
'''Server Error in '/' Application.''' '''''Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet''''' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ApplicationException: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
'''Stack Trace:''' [ApplicationException: Missing the DefaultProvider RegEx in the list of providers for UrlRewritingNet] UrlRewritingNet.Web.UrlRewriting.Initialize() +420 UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String providerName) +16 UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context) +232 System.Web.HttpApplication.InitModulesCommon() +172 System.Web.HttpApplication.InitModules() +43 System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo handlers) +828 System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327
I have had this error while installing the Google Maps datatype and the Config tree package via the online package repository in v4.11.8
I seem to experiance this when trying to load the backoffice /umbraco/ on a cold start of the application . So the IIS been reset (or been taken out of memory because it hasn't been used), then the first page requested is http://www.website.com/umbraco/ this then throws the error.
Getting this in the 6.0.5 release when trying to publish a tree node with children
This is a UrlRewriting.net issue - Use IIS URL Rewrite Module instead.
I'm not sure being pointed to use something else is an option for everyone. Some developers are in shared hosting and this might not be possible for them.
On one of my installations I've removed the urlRewritingNet and used the IIS URL rewrite module (as @Josh suggested) and all is well. So it is a possible solution - thanks josh. This might not be an option for all though.
I have ahad it when i have had an app recompile on the server after deploying new DLLS. If i make another request it clears. Could maybe be the fact this is the first module that gets fired.
Also the server it was happeneing was desperate for a reboot and its happening tonight - compile times are terrible at the moment and a reboot normally sorts this out.
Ive not had this error before but be interesting to see if it still happens after the reboot. Will let you know if it does as the only pther thing ive done with this site is upgrade it from v4.7 to 6.1.6.
I am still getting this on 6.2 beta when uploading a new dll to a site and it has to recompile.
Almost 3 years later: looks like this is fixed in UrlRewriting.Net - I've asked him to release a new version so we can ship with it! https://github.com/aspnetde/UrlRewritingNet/pull/2
Updated UrlRewritingNet to a new version that incorporates this change.
Backwards Compatible: True
Affected versions: 4.11.0, 4.11.1, 4.11.2, 4.11.3, 4.11.4, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 4.11.8, 6.2.0
Due in version: 7.3.5