Unable to read project

posted on: Tuesday, September 28, 2010 by: jhildeman

ERROR TEXT:

Unable to read the project file 'xyz.vbproj'. The Web Application Project xyzApp is configured to use IIS. To access local IIS Web sites, you must install all of the following Windows 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. By default, Windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator. To run Visual Studio with administrative privileges, right-click the Visual Studio icon and then click 'Run as administrator'.

 SCREEN SHOT:

  BACKGROUND:

After upgrading my machine from WinXP to Windows 7 this .vbproj would not open giving the above error. I realized that XP=IIS6 and Win7=IIS7 and read the MSDN article on converting. RESOLUTION: I just wanted to run the app using the development web server so I just wanted to get rid of the attempt to use IIS. After digging around, I found some settings in the .vbproj file. I manually edited my xyz.vbproj file and set:

  • "UseIIS" = false
  • "IISUrl" to be empty

Success, the project loads and everything is running.

0 comment(s) for Unable to read project

Leave a comment:

NOTE: Blog comments are moderated so your comments may not appear immediately.

Name:  

Email:  

Website:

Comment:  

Enter the code shown: