473,434 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

How to allow classic ASP pages in Visual Studio 2005 development server?

IIS on my local machine serves both ASP and ASP.NET pages fine but
when I debug using the built in Development Server that comes with
Visual Studio 2005 I get the following error when I try to cross to a
classic ASP page:

Server Error in '/myapp' 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: /myapp/home.asp
I know how to configure IIS to do them, but how do I configure the
Visual Studio 2005 Development Server to allow .asp files?

Mar 13 '07 #1
3 13332
I don't think you can. The development server that comes with VS is, I
believe, an modified version of the Cassini web server that MS made
available. Essentially, it was only for running ASP.net pages and was really
just a lightweight test server for users who had XP Home and couldn't
install IIS (since it doesn't come with XP Home).
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Jude" <jd*****@aaahawk.comwrote in message
news:11*********************@n76g2000hsh.googlegro ups.com...
IIS on my local machine serves both ASP and ASP.NET pages fine but
when I debug using the built in Development Server that comes with
Visual Studio 2005 I get the following error when I try to cross to a
classic ASP page:

Server Error in '/myapp' 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: /myapp/home.asp
I know how to configure IIS to do them, but how do I configure the
Visual Studio 2005 Development Server to allow .asp files?

Mar 13 '07 #2
On Mar 13, 4:42 pm, "Jude" <jdem...@aaahawk.comwrote:
IIS on my local machine serves both ASP and ASP.NET pages fine but
when I debug using the built in Development Server that comes with
Visual Studio 2005 I get the following error when I try to cross to a
classic ASP page:

Server Error in '/myapp' 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: /myapp/home.asp

I know how to configure IIS to do them, but how do I configure the
Visual Studio 2005 Development Server to allow .asp files?
I believe Mark's got it correct. As Mark mentioned you XP-Home
doesn't come with IIS. However, if you're running XP-Professional you
can install IIS and turn the web server on which can then render
Classic ASP pages. Your other option might be to make slight changes
to the Classic ASP pages and run them under ASP in compatibility
mode. To do this you'd put a <%@ Page Language="vb" aspcompat="true">
page directive at the top of the ASPX page. Check this link out. I
did this once to buy myself some time, worked fine.

http://authors.aspalliance.com/anjum/ASPMigration.aspx

Mar 14 '07 #3

Thanks for the background information about Cassini. That pretty much
explains it.

On Mar 13, 4:48 pm, "Mark Fitzpatrick" <markf...@fitzme.comwrote:
I don't think you can. The development server that comes with VS is, I
believe, an modified version of the Cassini web server that MS made
available. Essentially, it was only for running ASP.net pages and was really
just a lightweight test server for users who had XP Home and couldn't
install IIS (since it doesn't come with XP Home).

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Jude" <jdem...@aaahawk.comwrote in message

news:11*********************@n76g2000hsh.googlegro ups.com...
IIS on my local machine serves both ASP and ASP.NET pages fine but
when I debug using the built in Development Server that comes with
Visual Studio 2005 I get the following error when I try to cross to a
classic ASP page:
Server Error in '/myapp' 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: /myapp/home.asp
I know how to configure IIS to do them, but how do I configure the
Visual Studio 2005 Development Server to allow .asp files?- Hide quotedtext -

- Show quoted text -

Mar 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
10
by: anthonymelillo | last post by:
What do I have to do to allow me to create ASP.NET Pages on a Windows 2003 Server ? I have installed IIS6, ASP.Net support, SQL 2000, ASP.Net remote components. I do not know what security to...
2
by: EO | last post by:
I have much of what I need, but would appreciate a sanity check and I have some hopefully easy questions. (Easy for YOU, that is!) I have a website with about 2000 pages to convert to .net....
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
9
by: Andrew Kidd | last post by:
Hi, I've just been working through several examples of how to create Master pages and then create content pages which are linked, but I cannot see the Master page when I'm viewing the content...
1
by: Dr T | last post by:
Hi! I downloaded MS Visual Web Developer 2005 Express Edition, MS .NET Framework SDK v2.0, and MS SQL Server 2005. Subsequently, I bought MS Visual Studio 2005 Professional Edition. 1) Are...
3
by: Jason | last post by:
Will just getting VB.net allow me to make asp server pages, or web applications? Or do I need the whole suite?
1
by: andwan0 | last post by:
I have a legacy classic ASP website with lots of classic AJAX (many ASP files specially made for processing AJAX requests). We are slowly migrating the website to ASP.NET 2.0 and developing under...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.