I've just installed Microsoft Visual Studio 2008 on Windows Vista Ultimate. I created "New Web Site" and Started Debugging the page to see the blank page rendered. To my surprise, IE 7.0 displayed an error message saying: "Internet Explorer cannot display the webpage". I spent some time investigating and here is the result:
The page going to be rendered assumes port 49791: http://localhost:49791/WebSite3/Default.aspx
The ASP.NET Development Server operates under different port no: 49793
After changing the url above manually to use the port of ASP.NET Development Server, the webpage gets renderred correctly: http://localhost:49793/WebSite3/Default.aspx
ASP.NET Development Server uses dynamic ports. I noticed that Debugging process always assumes port number lower by 2 than the real port number of the ASP.NET DevSer. Therefore Debug process never runs and displays the page.
I do not want to manually edit the local host URL after every page rebuild, so my question is following:
How to make the "Start Debugging" function to use appropriate port of the ASP.NET Development server? How to make Visual Studio to open the page being debugged?
To mention couple of things I tried: I reinstalled Visual Studio2008, tried to disabled IPv6 as some threads recommen
View Complete Post