We're trying to use the "advanced" mode for FriendlyURL's in DNN 7.2.3, and it's been one huge headache. We've altered web.config so urlFormat="advanced", but the CKEditor is broken and the custom 404 page does not work. Otherwise, the site functions fine for anonymous visitors. This is a showstopper for launching two new sites, so any help would be greatly appreciated.
1) CKEditor displays the folders, but fails to browse the file system. The DNN RadEditor refused to even display the folders. No errors are logged in DNN or in the Server 2008 Event Log. Browser developer tools (Firebug, etc.) fail to produce any leads we can act on.
2) After turning on DNN's debug mode, and setting customErrors="Off" in web.config, we have some ASP.NET errors to work with.
The browser reports this error. Note that browsing to the 404 page (Default.aspx?TabId=234) works just fine, and DNN even redirects to the proper advanced URL - in our case the page name is "Page-Not-Found".
Exception: Error executing child request for ~/Default.aspx.
Stack Trace: at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.Handle404OrException(FriendlyUrlSettings settings, HttpContext context, Exception ex, UrlAction result, Boolean transfer, Boolean showDebug) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.ProcessRequest(HttpContext context, Uri requestUri, Boolean useFriendlyUrls, UrlAction result, FriendlyUrlSettings settings, Boolean allowSettingsChange, Guid parentTraceId)
Administrators: You can see this exception because the customErrors attribute in the web.config is set to 'off'. Change this value to 'on' or 'RemoteOnly' to show Error Handling
The error handling would have shown this page : Default.aspx?TabId=234
The Event Viewer reports this error:
Url Processing Exception:Exception in Url Rewriting Process
Http Status:404 Not Found
Original Path:http://dnn7.xyz.org/test33
Raw Url:/test33
Final Url:null
Rewrite Result:Default.aspx
Redirect Location:[no redirect]
Action:Output404
Reason:Exception
Portal Id:0
Tab Id:-1
Http Alias:dnn7.xyz.org
Debug Message 1:Exception: Error executing child request for ~/Default.aspx.
Debug Message 2:(TRUNCATED TO 500 CHARS): Stack Trace: at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.Handle404OrException(FriendlyUrlSettings settings, HttpContext context, Exception ex, UrlAction result, Boolean transfer, Boolean showDebug) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.ProcessRequest(HttpContext context, Uri requestUri, Boolean useFr
Debug Message 3:Inner Ex : No http handler was found for request type 'GET'
Debug Message 4:Stack Trace: at System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
Exception Type:System.Web.HttpException
Message:
Error executing child request for ~/Default.aspx.
Stack Trace:(TRUNCATED TO 500 CHARS): at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.Handle404OrException(FriendlyUrlSettings settings, HttpContext context, Exception ex, UrlAction result, Boolean transfer, Boolean showDebug) at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.ProcessRequest(HttpContext context, Uri requestUri, Boolean useFriendlyUrls, U
Inner Exception Message:No http handler was found for request type 'GET'
Inner Exception Stacktrace: at System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
Server Name: PortalXYZ