Link to home
Start Free TrialLog in
Avatar of ianinn
ianinn

asked on

Cannot run asp code on a redirected page, display only html

I have a web-based application written in asp code on a Win NT machine running IIS. I have also created a virtual directory on a NT PDC. The asp code running on IIS will redirect the page to the virtual directory on the PDC, but on redirection, it stripped off the asp code and only display the HTML, i.e. the asp code has completely no effect on the displayed page. Any help will be appreciated.
Avatar of heskyttberg
heskyttberg

Hi!

Could you please explain your setup ?

Are the Win NT machine a server with IIS that maps a shared directory from a PDC to a drive letter on which you create a virtual directory ?

That's the behaviour of ASP it shouldn't be seen on client computer only HTML.

If you have a META REFRESH TAG at top of ASP page the redirection will take place, but nothing in the first called ASP will follow with the redirection ?

You will need a new ASP file in the virtual dir to which you redirect ?

I might be missing something here, but please explain how your setup really looks.

Regards
/Hans - Erik Skyttberg
Avatar of ianinn

ASKER

I have tried mapping a shared dir as a drive letter or \\computername\conference but it does not work.
ASKER CERTIFIED SOLUTION
Avatar of heskyttberg
heskyttberg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ianinn

ASKER

It is ok now. I have used another machine with IIS and it is working as expected.
Thanks for the help.