Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2002
    Location
    the Netherlands
    Posts
    1

    ASP error when redirecting!!!!

    am trying to redirect to another site using server.execute http://www.somesite.com. This is a site on another server. Although the Server.execute syntax works for other files on the same server using relative path, I get the following message trying to go to another server:
    Server object error 'ASP 0231 : 80004005'

    Server.Execute Error

    /theirf&you/specificneeds/preprocess.asp, line 7

    Invalid URL form or fully-qualified absolute URL was used. Use relative URLs.

  2. #2
    Why not just redirect using:

    <%
    response.redirect "http://www.whatever.com"
    %>

  3. #3
    Join Date
    May 2002
    Location
    Ontario
    Posts
    44
    Yes, use the response.redirect command instead.

    server.execute is usually used to just run an asp script that doesn't have any user output.

Posting Permissions

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