Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2004
    Posts
    285
    Provided Answers: 1

    Unanswered: Response.Redirect raising error in asp

    Good day,

    I have a website which has been working fine, no problems, and now suddenly I am getting the following error:

    error '8002801d'
    /MainPage.asp, line 1

    Line 1 is the following:
    <% Response.Redirect ("NewPage.asp")

    What would cause this and how do I fix it??

    Please can someone help?

    Thanks

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Have you got a closing ASP identifier (i.e. %>)?
    George
    Home | Blog

  3. #3
    Join Date
    Nov 2004
    Posts
    285
    Provided Answers: 1
    Sorry left out the closing identifier.
    Line of code reads:
    <% Response.Redirect ("NewPage.asp")%>

  4. #4
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Added any ASP extensions recently to the web server?
    George
    Home | Blog

  5. #5
    Join Date
    Nov 2004
    Posts
    285
    Provided Answers: 1
    Such as?? Sorry, now I am a little lost.

    I even tried it with a straight forward asp page, TestPage1.asp where the only code was:
    <%Response.Redirect("TestPage2.asp")%>

    And in TestPage2.asp the only code is:
    <%Response.Write("HELLO")%>

    If I run TestPage2.asp by itself it works fine and shows: HELLO
    But if I run the other page, TestPage1.asp that redirects to TestPage2.asp it doesn't work, gives me the error:
    error '8002801d'
    /TestPage1.asp, line 1

  6. #6
    Join Date
    Nov 2004
    Posts
    285
    Provided Answers: 1
    Picked up that one of the paths was incorrect, rectified that and all sorted now.

  7. #7
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,422
    Provided Answers: 7
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

  8. #8
    Join Date
    Aug 2010
    Posts
    1
    Great forum!!! Lots of useful information. Thanks for sharing this with us.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •