Attention: We are retiring the ASP.NET Community Blogs. Learn more >

[Vista Problem] ASP.NET web site not loaded in Visual Studio Under Windows Vista

You may get the below error while trying to load ASP.NET web site/Web application while using Visual Studio under Windows Vista.

image image

To resolve this error and get the project loaded follow the following steps :

1- close the current running instance of Visual Studio

2- Run the Visual Studio again but in Administration Mode , to do so :

- From Start menu select Visual Studio , right click and select Run as Administrator option.

image 

3- You should now see that the title bar has been changed to show that you are running in administration mode. [Project Name] -  Microsoft Visual Studio (Administration)

image

Congratulations !  You will now be able to load the web site .

BTW : If we you don't have a web site configured on IIS 7.0 you will be prompt to create one , just click yes

image

 

Good luck :)

8 Comments

  • Interesting.

    We use VM's with Server 2003 for our development, but from time to time, I use my base machine to have a quick look at the code.

    I've get this message, so I tried run as administrator.
    I still get the message, so there are probably other causes. (The machine hasn't been configured to be a server)

  • Hey i ve vista on my laptop . When i try 2 run ASP.NET page on my laptop the server start but the page is not rendered n displayed on the screen. I have tried it on IE,firefox as well as on google chrome but still unable to run my asp.net pages... besides i ve tried on both visual studio 2005 n 2008 . please relpy if ny body ve d solution

  • Hello lovelarora725 , sorry for my late reply i think your problem is that the ASP.NET is not enabled in your machine so the browser can't understand and treat the asp.net correctly.

    Please install the ASP.NET on your IIS 7.0 again for a quick guide how to do so ,please refer to this link
    http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-70/

  • i do have my project (asp.net 2.0) hosted in my server.it is running smoothly on every browser.but it is not running on Vista.

  • I have vista on my laptop. When I try 2 run ASP.NET page on my laptop the server starting but the page is not rendered and displayed on the screen. I tried it on IE,firefox. But still unable to run my asp.net pages. Also I tried in 2005 and 2008. I enabled all the features in IIS. And also run as administrator. That Time also same problem. Can you please say me the solution.

    Advance Thanks and Regards,

    Reegan.B

  • @Reegan
    To detect if it's IIS issue or not , please try to run your application using embedded Visual studio Development server.(don't map your application to IIS )
    let me know what is the status of doing so.

  • Form your web project properties select web tab then select
    Use Visual studio Development Server (use auto-assign port or assign a default port).

    let me know if it works this way

  • every time i run an asp.net web page the IE shows in internet connection problem so i had to build an installer to the web application and install it into my IIS so i can see the changes, itried everything, i even disabled my firewall thinking that the problem might be a closed port, but nothing is working, so plz if u can help,

    Regards.

Comments have been disabled for this content.