Issue with Response.Redirect / Server.Transfer

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Issue with Response.Redirect / Server.Transfer

    Hi,

    I have a problem with getting a redirect to work on our server.

    It's worked fine on our server for months, but suddenly won't work and I
    can't figure out why.

    codewise, It's nothing special:

    Response.Redirect("indexThankYou.htm");

    instead of redirecting the browser to this page, an JavaScript-alert-style
    message comes up with the text:

    Cannot Find 'file://E:\wwwroot\mdc00152-learnproengine2_00\index.htm'. Make
    sure the path or Internet address is correct.

    (No page exists, nor was there ever any mention of it in the code)

    I've examined the output with fiddler to find:

    <html><head><title>Object moved</title></head><body>
    <h2>Object moved to <a
    href='E:\wwwroot\mdc00152-learnProEnginev2_00\index.htm'>here</a>.</h2>
    </body></html>

    I've checked that the aspnet client folder, and it's there and loads with a
    code 200 (from fiddler)

    Has anyone any ideas why this might have suddenly stopped working? Does
    this sound like a cache-ing problem? The code has worked fine previously.

    It would be preferable if I could get this working again without rebuilding
    the application.

    Thanks in advance.

    Craig


    Craig Douglas Guest

  2. Similar Questions and Discussions

    1. Response.Filter not working on Server.Transfer
      I set the Response.Filter in my aspnet application but I have noticed that if you do a Server.Transfer that the filter doesn't get called. And in...
    2. Response.Redirect or Server.Transfer?
      Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two...
    3. Response.Redirect Issue
      I am not sure I understood your problem correctly. Can you restate the problem? "Mark Roberts" <mroberts@wackenhut.com> wrote in message...
    4. Response.Redirect Issue
      I'm having a similar problem with Response.Redirect(). Everything works fine for Windows clients but Mac clients will occasionally get into a...
    5. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
  3. #2

    Default Re: Issue with Response.Redirect / Server.Transfer

    Do you have any third party controls in use with this application?
    Perhaps an evaluation or license period has ended and this is a
    misguided way to alert you of the expiration.

    I would also check if anyone has installed something new onto the
    server or modified the Machine.config. This looks like very strange
    behavior.

    Brennan Stehling
    [url]http://brennan.offwhite.net/blog/[/url]

    Craig Douglas wrote:
    > Hi,
    >
    > I have a problem with getting a redirect to work on our server.
    >
    > It's worked fine on our server for months, but suddenly won't work and I
    > can't figure out why.
    >
    > codewise, It's nothing special:
    >
    > Response.Redirect("indexThankYou.htm");
    >
    > instead of redirecting the browser to this page, an JavaScript-alert-style
    > message comes up with the text:
    >
    > Cannot Find 'file://E:\wwwroot\mdc00152-learnproengine2_00\index.htm'. Make
    > sure the path or Internet address is correct.
    >
    > (No page exists, nor was there ever any mention of it in the code)
    >
    > I've examined the output with fiddler to find:
    >
    > <html><head><title>Object moved</title></head><body>
    > <h2>Object moved to <a
    > href='E:\wwwroot\mdc00152-learnProEnginev2_00\index.htm'>here</a>.</h2>
    > </body></html>
    >
    > I've checked that the aspnet client folder, and it's there and loads with a
    > code 200 (from fiddler)
    >
    > Has anyone any ideas why this might have suddenly stopped working? Does
    > this sound like a cache-ing problem? The code has worked fine previously.
    >
    > It would be preferable if I could get this working again without rebuilding
    > the application.
    >
    > Thanks in advance.
    >
    > Craig
    offwhite Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139