Anyone know how I can enable .asp files in a simple VS2010 Website project?
For example:
Start VS2010
Click "File/New Web Site..."
Accept defaults
Add an html file called "Test.asp"
Attempt to open Test.asp (debug project with that file active) and you get the following error: "This type of page is not served. ... is not server because it has been explicitly forbidden. The extension '.asp' may be incorrect " <blah><blah><blah>
SO, HOW DO I EXPLICITLY ALLOW IT? VS2010 is using the ASP.NET Development Server....
ojm37
Contributor
2248 Points
832 Posts
Enable .asp in simple VS2010 Website project
Nov 11, 2010 03:56 PM|LINK
Anyone know how I can enable .asp files in a simple VS2010 Website project?
For example:
SO, HOW DO I EXPLICITLY ALLOW IT? VS2010 is using the ASP.NET Development Server....
TIA,
Imar_Spaanja...
Contributor
2784 Points
481 Posts
ASPInsiders
MVP
Re: Enable .asp in simple VS2010 Website project
Nov 11, 2010 04:32 PM|LINK
Hi there,
AFAIK, the built-in web server does not support classic ASP pages.
You could try creating a new web site targeting IIS instead.
Cheers,
Imar
My Blog - My Company
ojm37
Contributor
2248 Points
832 Posts
Re: Enable .asp in simple VS2010 Website project
Nov 11, 2010 04:55 PM|LINK
I was afraid of that.
Thanks.
Gyrecon
Member
2 Points
1 Post
Re: Enable .asp in simple VS2010 Website project
Jan 13, 2012 11:48 AM|LINK
Old post but for anyone that needs a solution, please use Webmatrix