473,503 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 13338
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
6010
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
1420
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
1620
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
2926
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
3310
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
2503
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
2492
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
1527
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
3495
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...
0
7201
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
7278
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,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6988
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
7456
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
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
1510
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
379
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.