Solved

.asp pages along side an asp.net website (visual studio problem?)

Posted on 2007-03-19
2
905 Views
Last Modified: 2013-11-26
Is it possible to have pages with the classic asp extension inside of an asp.net 2.0 website?  I would like a portion of a website I'm developing have the .asp extension.  So for example a folder with pages in .asp AND the rest of the site in .aspx pages.  I'm using visual studio 2005 and am having trouble getting the website to read the .asp pages.  I'm get the error listed below and I'm not sure how to tell visual studio it's ok to use .asp pages.  If I'm not mistaken Visual Studio creates its own localhost for websites, so I'm not sure If I should make the appropriate changes in IIS or Visual Studio.  

Server Error in 'applicationname' Application: This type of page is not served.  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.  

0
Comment
Question by:deloused
2 Comments
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 18750219
Yes, you can have both ASP and ASPX pages in the same directory - they will not be aware of or interfere with each other.

The built in webserver in VS2005 is designed for use with ASP.Net and as such will not run classic ASP pages.  You will need to deploy this to an IIS based web server to run ASP pages properly.

Dave Dietz
0
 

Expert Comment

by:Edward Joell
ID: 20024424
Is there any way to construct an application using VS 2005 so that you can run and view in browser  the ASP pages of the application as well as the ASP.Net pages like you could do in VS 2003?  Otherwise this inability will probably triple the time needed to make what would have been a minor upgrade to an exisiting production application relied on by DHS.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now