Home > Visual Studio > You receive an “Unable to start program ‘http://localhost/. The system cannot find the file specified.” error when debugging

You receive an “Unable to start program ‘http://localhost/. The system cannot find the file specified.” error when debugging

If you are using Visual Studio 2012 and Windows 8, when trying to debug a website hosted on IIS, you may get the error listed above.

 

This is actually known issue and is listed in Microsoft Connect

https://connect.microsoft.com/VisualStudio/feedback/details/758876/visual-studio-2012-unable-to-start-program-error-when-debuging-website-on-win8-ie

 

To work around this, you will need to set your home drive to a local drive and then start Visual Studio

SET HOMEDRIVE=C:
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"

Advertisements
Categories: Visual Studio
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: