views:

33

answers:

1

Something strange is going on for me.

I can open the web application on my desktop computer just fine, where it opens the asp.net MVC application with a URL like http://localhost:5118/ when I rigth click on the default.aspx file and choose 'open in browser'.

On my laptop, I don't have that option when I right click on default.aspx for some reason (it should give me the option to Open in Browser). I set the project as a web application, but it still doesn't work.

This is a vs.net MVC application.

I want to open the application without having to setup a IIS site for it.

A: 

You don't have what option on your laptop? Can you be a bit more clear?

Also, make sure your hosts file has: 127.0.0.1 localhost

-- this is advice from another site --

Can you see it under the File option while current page is aspx page? Shortcut key of "View in Browser" is Ctrl+Shift+W.

You can try to run "devenv /resetsettings" from Visual Studio command to reset settings.

You also can try to run "devenv /resetuserdata" to reset Visual Studio to its out-of-box state.

Jack Marchetti
when I right click on default.aspx, I don't have that option to open in browser.
Blankman
So you're missing 'view in browser?'
Jack Marchetti
I tried the devenv /resetsettings and still don't see the 'open in browser'option.
Blankman