Problem Using IIS Express with Visual Studio 2010 SP1

I have a problem with IIS Express and it annoys me.

I have Visual Studio 2010 Ultimate. I installed IIS Express, then installed VS2010 SP1. I get all the IIS Express commands.

However, when I create a new web application, including MVC, the directive at the top gets a blue underline with the error "ASP.NET runtime error: Unable to map path" / IISExpress / 7.5 / LM / W3SVC / 6 / ROOT '

If I run VS as an administrator, which I would prefer not to do, the error now is "ASP.NET runtime error:" / IISExpress / 7.5 / LM / W3SVC / 6 / ROOT "is not a valid IIS application"

Due to an error, you do not get any intellisense when editing the apsx file, which is annoying. I tried clicking "Create Virtual Directory" so as not to affect. I tried to delete the IIS Express configuration files, so it should redo them again, without any consequences.

Does anyone know how I can start my IIS Express again with Visual Studio?

Update: Un-installing SP1 and IIS Express, and then reinstalling them, seemed to make it work. I used to download copies from MS to provide the latest version, and not using the Web Platform installer. Simon

+4
source share
2 answers

Eliminating the installation of SP1 and IIS Express and then reinstalling it seems to have made it work. I used to download copies from MS to provide the latest version, and not using the web platform installer.

Simon

+2
source

You must always run VS as an administrator.

Your problem is similar to http://forums.iis.net/p/1177460/1979252.aspx#1979252

0
source

All Articles