I am trying to do maintenance on an existing web site. I have loaded Visual Studio 2005 on a machine that already has IIS version 6 installed.
The site uses only classic ASP pages (no aspx).
When I attempt to run the site from within VS, the browser opens to ?http://localhost:1647/yourDev/yourpage.asp? rather than the expected ?http://localhost/yourDev/yourpage.asp?. This error message displays:
Server Error in '/yourDev' Application.
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.asp' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /yourDev/yourpage.asp
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Now, if I remove the ?:1647? from the URL, the page and subsequent ones load just fine!
I?ve researched the error message on this site and many others. What I?ve found were half explained solutions or suggestions to ?fix IIS?, as if I know what THAT means.
I can?t find ANY info on why the server adds the port number suffix (and how to prevent it from happening).
What I need is a solution that I can follow, step by step, to fix this problem.
Does anyone know what all this is about and how to fix it????