IIS Server Security - Response.Redirect problem

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > January 2004 > Response.Redirect problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Response.Redirect problem
JD

2004-01-24, 1:59 am


Howdy

Recently we implemented a web site using ASP.
It starts with a login page called Index.ASP. This page excepts a
user ID and PW and then redirects the user to the Main.ASP page.

Well, the Response.Redirect("Main.ASP") will no longer work. We
get a 500-Internal Server Error.

I wrote a simple ASP test page that simply redirects to another simple
ASP page the write a message to the screen. The Response.Redirect
still fails.

It's as if the iis is unable to resolve the path to the ASP pages.

Anyone know what might be causing this?

Thanks

JD



Bernard

2004-01-24, 1:59 am

When you get 500 error, disable IE friendly error msgs, post the real error
msgs.
HOW TO: Troubleshoot an "HTTP 500 - Internal Server Error" Error Message
http://support.microsoft.com/?id=311766
--
Regards,
Bernard Cheah
http://support.microsoft.com/
Please respond to newsgroups only ...



"JD" <Summer79@GTE.Net> ???? news:#yT3EKB1DHA.3824@TK2MSFTNGP11.phx.gbl...
quote:

>
> Howdy
>
> Recently we implemented a web site using ASP.
> It starts with a login page called Index.ASP. This page excepts a
> user ID and PW and then redirects the user to the Main.ASP page.
>
> Well, the Response.Redirect("Main.ASP") will no longer work. We
> get a 500-Internal Server Error.
>
> I wrote a simple ASP test page that simply redirects to another simple
> ASP page the write a message to the screen. The Response.Redirect
> still fails.
>
> It's as if the iis is unable to resolve the path to the ASP pages.
>
> Anyone know what might be causing this?
>
> Thanks
>
> JD
>
>
>




Christopher Haun

2004-01-24, 2:00 am


I'd like confirmation that ASP pages in general are still being served.
Will a simple asp page without a response.redirect serve? or will it give
a 500 error as well?

Definitely try diabling friendlies (In IE expand Tools menu, select
Internet Options, choose Advanced Tab, scroll down 1/3 of the way down,
take checkmark away from "Show friendly Error Messages"), refresh the page,
and see if the 500 changes into a less friendly message. Perhaps then
copy and paste the entire message for us.

Hope that helps,

Chris - IIS Team



[Standard disclaimer: These suggestions given without warranty, guarantee,
and/or the conveyance of any rights.]



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com