2. Make sure the website or virtual directory is an Application.
3. Set permissions to Scripts Only
4. Click Configuration. Under the Mappings tab, click the Add button
5. You need to insert the path to the file aspnet_isapi.dll. This is most likely C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll.
6. In the Extension field, enter “.*” (excluding quotes).
7. Select All Verbs. Select “Script Engine”. Make sure ”Check that file exists” is not selected.
8. Here’s the bug. “.*” This isn’t a valid extension in IIS 5.1 so the OK button is disabled. Click in the
Extension field, then in the Executable field, and the OK button should be enabled! Click OK at this point.
4 comments:
That's what i was looking
these settings work with intranet MVC 3 template but not with internet MVC 3 template. Visual studio throws an error: Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occured on a receive. Any ideas? How can we fix it? I am using Visual Studio 2010.
The settings you suggested works with intranet template of MVC 3 using Visual studio 2010 and IIS 5.1 but as soon as you switch to internet template of MVC 3, it stops working. Visual studio does not even let me run it. This is the error message that it throws:
Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a receive.
The settings you suggested works with intranet template of MVC 3 using Visual studio 2010 and IIS 5.1 but as soon as you switch to internet template of MVC 3, it stops working. Visual studio does not even let me run it. This is the error message that it throws:
Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a receive.
Post a Comment