473,396 Members | 1,861 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,396 software developers and data experts.

Problem Running ASP.NET/ASP App Under VS 2005

I took an application that we have that is part ASP, part ASP.NET, and
migrated it to VS 2005. The migration worked okay, it's trying to run
it where I am having some challenges.

When I open the application in VS 2005, I can open it one of two ways
(okay, there's actually more than two, but these are the two I've
used), either from the file system or using my local IIS server.

When I open it from the file system and try to run the application, it
uses the ASP.NET Development Server as its web server. The problem is
that the first page of the site is one of the classic ASP pages, and
the following message is generated.

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: /ReportsWeb/login.asp

When I open the site using the local IIS option, the site runs
correctly (as I would expect, I'm using IIS to serve up the app).

So I guess the question is, is there any way to configure the ASP.NET
Development Server to serve up ASP pages? Or in this situation am I
required to rely on IIS?

Nov 24 '05 #1
2 2910
VS.Net has a built-in web server. Chances are you are having problems
because when you launch from VS.Net ,it uses the built-in web server which
doesnt' support ASP. You'll need to configure VS.Net to use IIS instead.

I don't VS.Net 2005 on my laptop, so I can't say exaclty where it is, but if
you right click on the web project and go to the properties, it should say
something aobut built-in server and IIS

Karl

--

MY ASP.Net tutorials
http://www.openmymind.net/

<cr**********@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I took an application that we have that is part ASP, part ASP.NET, and
migrated it to VS 2005. The migration worked okay, it's trying to run
it where I am having some challenges.

When I open the application in VS 2005, I can open it one of two ways
(okay, there's actually more than two, but these are the two I've
used), either from the file system or using my local IIS server.

When I open it from the file system and try to run the application, it
uses the ASP.NET Development Server as its web server. The problem is
that the first page of the site is one of the classic ASP pages, and
the following message is generated.

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: /ReportsWeb/login.asp

When I open the site using the local IIS option, the site runs
correctly (as I would expect, I'm using IIS to serve up the app).

So I guess the question is, is there any way to configure the ASP.NET
Development Server to serve up ASP pages? Or in this situation am I
required to rely on IIS?

Nov 25 '05 #2
On 24 Nov 2005 14:00:08 -0800, cr**********@gmail.com wrote:

So I guess the question is, is there any way to configure the ASP.NET
Development Server to serve up ASP pages? Or in this situation am I
required to rely on IIS?


Craig:

I don't believe so. The WebDev server has some limitations - this is
one of them.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Nov 25 '05 #3

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

Similar topics

1
by: Raghu | last post by:
Hello... I am running into a problem while running a query..can some1 help.. this is the query : ************** SELECT * from Table S where S.dtDate1 BETWEEN...
0
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
1
by: neha | last post by:
hi, i m trying to integrate python with apache on linux.For this i m using mod_python. I dont see any problem with the versions of python,apache and mod_python i m using. the versions i m using...
3
by: ChrisWinterscheid | last post by:
We are running DB2 8.1 on AIX 5.2. DB2level shows: DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08016" with level identifier "02070106". Informational tokens are "DB2...
5
by: Rich | last post by:
I loaded visual studio.Net 2003 on a windows XP workstation, and I was able to run aspx applications. Later I loaded JBuilder 2005 (Enterprise Java builder 2005) which runs the Tomcat 5.0 web...
0
by: Alexander Widera | last post by:
hello all, i have a problem ... like I already discussed in the thread "session empty" I have the following problem: I created a completely new web... i added 2 files: sessiontest1.aspx:
10
by: greenb | last post by:
Our asp.net web app uses a .NET component (DLL) in the bin directory to call several stored procedures back to back to perform updates. They don't return any data. Sometimes the total execution...
3
by: laststubborn | last post by:
Dear Memebers, I have a critical problem. I have an application is running on 64 bit machine. It used to be running on 32 bit machine. That application is using a Stored Procedure that uses...
9
by: HC | last post by:
Hello, all, I started out thinking my problems were elsewhere but as I have worked through this I have isolated my problem, currently, as a difference between MSDE and SQL Express 2005 (I'll just...
9
by: Peter Lux | last post by:
I'm fairly new to c#, but not new to programming. I'm tasked with rewriting our Gupta/Sqlwindows apps (5 years worth of development) in dot Net. The main reason is that virtually no one knows the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
0
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
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,...

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.