Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect to asp does not work

Status
Not open for further replies.

mrichards

Programmer
Nov 18, 2000
74
CH
I have set up a test server with W2K. When I do a redirect to an APS page I get an "page can not be displayed" error. It works on our other servers and redirects to html pages also work. Does anyone have any ideas?
 
In your browser window click Tools/Internet Options, select the Advanced tab, scroll down and de-select Show Friendly HTTP Error Messages

Run your page again and you will now have a more descriptive error message


 
What version of IIS? 4.0? If that's the case then Buffering is off by default. At the top of your ASP page you'll need to add the line <%response.buffer=&quot;true&quot;%>

This will allow you to redirect without an error. You should also take GaryC123's advice so you can get a real error message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top