Welcome to MSDN Blogs Sign in | Join | Help

VS 2005 not loading project on IIS 7 and Vista

If you get this error when loading a Web Application project on Visual Studio 2005 running on Vista and IIS 7 -

"Unable to read the project file 'xxx.csproj'. The Web Application Project xxx is configured to use IIS. To access local IIS Web sites, you must install all of the following components:

Internet Information Services.

IIS 6 Metabase and IIS 6 Configuration Compatibility

ASP.Net

In addition, you must run Visual Studio in the context of an administrator account........"

 

IIS 7 error on VS 2005 and Vista

Do the following -

  • Run VS.Net 2005 as Administrator - On the VS.Net 2005 shortcut, right click, Properties-Compatability and check the Run as administrator box is checked.
  • Check if ASP.NET is installed: Go to Control Panel - Programs and Features - Turn Windows features on or off - Internet Information Services -World Wide Web Services - Application Development Features - Check ASP.Net option. 
  • Make sure the IIS 6 compatibility is installed: Go to Control Panel - Programs and Features - Turn Windows features on or off - Internet Information Services - Web Management Tools - IIS 6 Management Compatibility - Check all of them.
  • Published Friday, June 01, 2007 7:07 PM by shahpiyush
    Filed under: ,

    Comment Notification

    If you would like to receive an email when updates are made to this post, please register here

    Subscribe to this post's comments using RSS

    Comments

    # re: VS 2005 not loading project on IIS 7 and Vista

    Saturday, July 14, 2007 10:07 AM by andrewstan

    I have done all that's required and am still getting this error.

    I can access the local website with the browser but I cannot open it with VS.

    Running clean install of Vista Business with VS2005. All SPs and updates installed.

    Any help appreciated.

    Andrew

    # re: VS 2005 not loading project on IIS 7 and Vista

    Saturday, July 14, 2007 2:36 PM by shahpiyush

    Are you getting the same error as above? That error message is cryptic and generic at the same time. There may be many possible errors types with this same message.

    If you have not found a solution already, I would post in iis.net forums.

    Here are a few links I found on IIS.net forums -

    http://forums.iis.net/t/1073894.aspx

    http://forums.iis.net/t/1037444.aspx

    http://forums.iis.net/blogs/mvolo/archive/2006/12/28/fix-problems-with-visual-studio-f5-debugging-of-asp-net-applications-on-iis7-vista.aspx

    Hope this helps.

    # re: VS 2005 not loading project on IIS 7 and Vista

    Wednesday, October 17, 2007 3:29 AM by Sinewy

    Thank GOD!!! I found this page

    Thank you very much

    # re: VS 2005 not loading project on IIS 7 and Vista

    Thursday, October 25, 2007 12:42 PM by Rafae;

    VS 2005 used to work perfect but out of the blue I started getting the error when I try to open any of the solutions I have successfully created and worked with in the past. I have not installed anything else to cause and I double checked the troubleshoot list: ASP.NET and IIS are installed and I run VS 2005 as an admin.

    Anyone has an idea what may have caused it?

    # re: VS 2005 not loading project on IIS 7 and Vista

    Thursday, October 25, 2007 1:06 PM by RafaelNenninger

    Actually I reviewed Program and Features and the last application I installed was Silverlight...

    # VS 2005 not loading project on IIS 7 and Vista « A Digital Idea

    # re: VS 2005 not loading project on IIS 7 and Vista

    Monday, March 24, 2008 12:31 AM by Rahul

    thanx.....

    i was also getting this error....

    working on it... hope it gets solved....

    # re: VS 2005 not loading project on IIS 7 and Vista

    Wednesday, March 26, 2008 10:35 AM by hamid

    Thanks alot. It worked for me.

    # re: VS 2005 not loading project on IIS 7 and Vista

    Thursday, April 24, 2008 11:42 PM by sailakfan

    Thank you so much.  Have been struggling all day.  This fixed my issue.  Really appreciate it.

    # re: VS 2005 not loading project on IIS 7 and Vista

    Tuesday, May 06, 2008 9:40 AM by Rupak Ganguly

    I had the same error and I fixed it. I had other issues with Vista SP1, VS 2005 and IIS 7 and I have written a post here http://developershelf.blogspot.com/2008/05/problem-loading-iis7-hosted-wap.html

    # solution for programs not loading on vista

    Wednesday, June 11, 2008 4:12 AM by solution for programs not loading on vista

    # re: VS 2005 not loading project on IIS 7 and Vista

    Saturday, January 03, 2009 6:01 PM by Dave

    Great stuff. This solved the problem for me.

    Have a great day dude!

    # re: VS 2005 not loading project on IIS 7 and Vista

    Wednesday, March 25, 2009 3:12 PM by Philip

    If it weren't for dearest GOOGLE, I would never have found this!  MSDN just ignores it OWN blogs in searches.  I am happy to report that I am now able to create web sites on Vista x64 using VS2008!!!!

    Kindest regards,

    Smiling Philip

    # re: VS 2005 not loading project on IIS 7 and Vista

    Monday, May 11, 2009 1:26 PM by Walter

    Thank you Piyush Shah, it worked perfectly! The error msg said exactly what to do and I chose to ignore it and search for this instead, Go figure?

    # re: VS 2005 not loading project on IIS 7 and Vista

    Wednesday, July 22, 2009 1:42 PM by James

    This worked, once I followed the instructions exactly.

    Thanks!

    Leave a Comment

    (required) 
    required 
    (required) 

      
    Enter Code Here: Required
     
    Page view tracker