Unable to start debugging on the Web server. The Web Server Could Not Find the Requested Resource.

Background

I was given a Windows 7 machine.  It has VS2010 and VS2013.  It also has .NET 4.5.1 installed.

Problem

My web project uses a local IIS and it fails to start in debug when the application pool uses Classic with .NET 4.0.  It debugs in Integrated mode.

Solution

I followed an article online (probably from stackoverflow)

“open IIS7 (run > inetmgr) and go to the Feature view. Open the ISAPI and CGI Restrictions section and check if your .Net version has the correct restriction (for example, if you’re working with 4.0 is should be on “Allowed”)”

image

Advertisements

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