You should be able to set a new homepage by going directly to /admin and 
authenticate, or by changing any content slug in the Routable db table, by 
defining / or "" in the slug field.
And if you can optionally  file a bug with a repro we would appreciate, thanks.

Sebastien

From: Gideon D'souza [mailto:[email protected]]
Sent: Wednesday, March 02, 2011 8:33 AM
To: [email protected]
Subject: Scary error when changed home page

Ok,

All I did was edit the home page (and delete the Content widget) and BOOM! Now 
I can't set new home page and if I visit the website I get :

404 - should not have passed path constraint
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: 404 - should not have passed 
path constraint

Source Error:

Line 1:  @{

Line 2:      RouteValueDictionary routeValues = Model.RouteValues;

Line 3:      Html.RenderAction(routeValues["action"] as string, 
routeValues["controller"] as string, routeValues);

Line 4:  }


Source File: <sitepath>\Core\Routable\Views\Routable.HomePage.cshtml    Line: 3


Could someone just give me any workaround, idea, anything to get this up? This 
is demo I need to get up and running tomorrow morning! :'(

--- You are currently subscribed to orchard-discuss as: 
[email protected]<mailto:[email protected]>. To unsubscribe 
send a blank email to 
[email protected]<mailto:[email protected]>.


---
You are currently subscribed to orchard-discuss as: [email protected].
To unsubscribe send a blank email to [email protected].

Reply via email to