Oct 23, 2013 at 10:00 AM
Edited Oct 23, 2013 at 10:05 AM
I downloded yesterday the last 1.7.x code and do the exchange between the old contrib and the new Orchard module. Every thing seemed ok, but this morning after a window restart, I am getting an exception in method SecureSocketsLayerService.ShouldBeSecure
when my site try to display its home page.
The first page is not displayed it renders an HTTP 500, but admin pages display normally.
My ssl config is to use selected secured paths, not all pages.
The exception occurs in the following lines of SecureSocketsLayerService.ShouldBeSecure
var url = urlHelper.Action(actionName, controllerName, requestContext.RouteData);
url, requestContext.HttpContext.Request.ApplicationPath, settings);
urlHelper returns a null value with the parameters
Id (in RouteDtata): 12
requestContext.RouteData ->Datatoken count=0, Route & RouteHandler null=null
I have not opened directly an issue because I already got this problem of first page not displaying (but admin ok) but it was caused by a corrupted DB and restarting on a new one solved the problem....
Is there a problem in my routing table ? How to debug this ?
If I catch the exception my page displays ok and all is Ok ?
EDIT: I run in .net 4.5