Can ASP Pages run in the ASP.NET application?

Q

Quentin Huo

Hi:

I am trying move the ASP application to .NET. And I want to move a part of
ASP pages to .NET firstly and then move the other bacause they are
independent with each other. But it seems the ASP pages cannot run the
ASP.NET application, right?

I just want to make sure because I cannot make an ASP page run in the .NET
application, even the ASP page is just 'hello world' page. Maybe I need to
re-configure the .NET application setting?

Thanks

Q.
 
M

M. Posseth

I have websites running with ASP and ASP.NET

it is a setting in IIS during the installation of IIS6 i can remember
that there was a option to install support for classic ASP

from ASP you cannot acces server side code or vice versa however i solved
this with so called proxys

scenario :

I have a webproject that has clients throughout europe , these clients are
making calls to ASP pages to generate license codes that are then send by
e-mail and / or fax
ofcourse all these requests are stored in a SQL database .

when .Net arived i wanted to rewrite this hole project because i thought (
and now prooved ) that i could write this more eficient in ASP.NET
however my boss did not wanted to replace all client apps ,

so what did i do alongside with the ASP prog i wrote the whole new .Net app
( even in the same webserver directory as the old ASP project )
when it was finished and thoroughly tested i wrote a ASP page with the same
name as the client used to call with its parameters

so my directory now contains these two files
PagCreateLic.asp

PagCreateLic.aspx


however the asp page contains nothing more as a
response.redirect("PagCreateLic.aspx?userid=" &
request.querystring("userid") & "&" )


So all new programs that are roled out are calling the ASPX page directly
all older programs think they comunicate with the ASP page however there
call is simply transfered

M. Posseth [MCP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top