views:

190

answers:

2

I have an web application that I'm working on, it was working fine until my curiosity got the better of me and I right-clicked on a view and chose Set As Start Page option. Now, whenever I run my application it takes me to the Resource Not Found error page. I have the default register route set in my Global config route which was working fine before. I notice that the URL now reads:

http://localhost:1234/Views/User/Login.aspx

instead of

http://localhost:1234/

like it was before. I'm not sure how to undo this action or what was changed, I've looked in my web.config file but I'm not sure what to look for exactly, Help is appreciated.

+2  A: 

you can set it to open as blank in the Specific Page option in the project properties.

alt text

Glennular
Just to clarify this - select Specific Page and then leave the text box blank, don't enter "/" otherwise the project will start-up at http://localhost:1234///
dwynne
thanks, made the update.
Glennular
A: 

Right click your project in Visual Studio -> Properties -> Web (left hand tab) -> Specific Page with '/' as the name.

Justin Niessner