|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem Running ASP.NET/ASP App Under VS 2005migrated 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? 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 Show quoteHide quote news:1132869608.575528.72100@g14g2000cwa.googlegroups.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? > On 24 Nov 2005 14:00:08 -0800, craig.wag***@gmail.com wrote:
> Craig:>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? I don't believe so. The WebDev server has some limitations - this is one of them.
Other interesting topics
How to add a small HTML table under a row of a GridView
Application["TotalPlayings"]++ doesn't work Source Control Products??? Correct syntax for an update stored procedure Some questions about masterpages. Downloading file from database how load one frame before another in aspx page The server tag is not well formed Finding DataKey in GridView DropDownList |
|||||||||||||||||||||||