Solved

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

Posted on 2007-03-19
2
913 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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