Professional Web Applications Themes

System.Net.WebException: The request failed with the error message: Object Moved - ASP.NET Web Services

We have a web service that we built with VB.NET and had been working for about 5 months or so, that is until last month. We use this web service to do some updates to our web inventory and that sort of thing from a VB.NET application. Now just about every morning we are getting the following message. System.Net.WebException: The request failed with the error message: -- <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href='/errors.aspx?aspxerrorpath=/InventoryUpdates.asmx'>here</a>.</h2> </body></html> --. at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) at WebInventoryListener.WebInventory.GenerateInventor y.UpdateInventory() in C:\Doents and Settings\Administrator\My Doents\Visual ...

  1. #1

    Default System.Net.WebException: The request failed with the error message: Object Moved

    We have a web service that we built with VB.NET and had been working
    for about 5 months or so, that is until last month. We use this web
    service to do some updates to our web inventory and that sort of thing
    from a VB.NET application. Now just about every morning we are
    getting the following message.

    System.Net.WebException: The request failed with the error message:
    --
    <html><head><title>Object moved</title></head><body>
    <h2>Object moved to <a
    href='/errors.aspx?aspxerrorpath=/InventoryUpdates.asmx'>here</a>.</h2>
    </body></html>

    --.
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
    message, WebResponse response, Stream responseStream, Boolean
    asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
    methodName, Object[] parameters)
    at WebInventoryListener.WebInventory.GenerateInventor y.UpdateInventory()
    in C:\Doents and Settings\Administrator\My Doents\Visual Studio
    Projects\WebInventoryListener\Web
    References\WebOrders\Reference.vb:line 48
    at WebInventoryListener.CuteFTP.GetWebInventory(Objec t parameters)
    in C:\Doents and Settings\Administrator\My Doents\Visual Studio
    Projects\WebInventoryListener\CuteFTP.vb:line 260

    Nothing major has changed. We did a few Windows Updates a while back
    to the .NET framework (.NET Framework 1.1 Service Pack 1, .NET
    Framework 1.0 Service Pack 3) Could these updates be the cause of
    these errors?

    If I go to the actual WebService page, I can see that the page exists
    and all of my methods are listed as its supposed to do.

    Anyone has any ideas?
    Edgar D Guest

  2. #2

    Default RE: System.Net.WebException: The request failed with the error message: Object Moved

    Hi,

    It sounds like the URL used by the proxy doesn't match the path expected by
    the server. This can happen if an IIS administrator moves the files and
    rehomes the vroot. Try refreshing the proxy on the calling side.

    Hope this helps

    Dan Rogers
    Microsoft Corporation
    --------------------
    >From: [email]ediazccrane.com[/email] (Edgar D)
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >Subject: System.Net.WebException: The request failed with the error
    message: Object Moved
    >Date: 29 Nov 2004 08:31:38 -0800
    >Organization: [url]http://groups.google.com[/url]
    >Lines: 36
    >Message-ID: <dd6f9316.0411290831.4571b4faposting.google.com >
    >NNTP-Posting-Host: 144.228.192.134
    >Content-Type: text/plain; cht=ISO-8859-1
    >Content-Transfer-Encoding: 8bit
    >X-Trace: posting.google.com 1101745899 24108 127.0.0.1 (29 Nov 2004
    16:31:39 GMT)
    >X-Complaints-To: [email]groups-abusegoogle.com[/email]
    >NNTP-Posting-Date: Mon, 29 Nov 2004 16:31:39 +0000 (UTC)
    >Path:
    cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado .fastwebnet.it!tiscali!new
    sfeed1.ip.tiscali.net!news.glorb.com!postnews.goog le.com!not-for-mail
    >Xref: cpmsftngxa10.phx.gbl
    microsoft.public.dotnet.framework.aspnet.webservic es:26850
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >We have a web service that we built with VB.NET and had been working
    >for about 5 months or so, that is until last month. We use this web
    >service to do some updates to our web inventory and that sort of thing
    >from a VB.NET application. Now just about every morning we are
    >getting the following message.
    >
    >System.Net.WebException: The request failed with the error message:
    >--
    ><html><head><title>Object moved</title></head><body>
    ><h2>Object moved to <a
    >href='/errors.aspx?aspxerrorpath=/InventoryUpdates.asmx'>here</a>.</h2>
    ></body></html>
    >
    >--.
    > at
    System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClient
    Message
    >message, WebResponse response, Stream responseStream, Boolean
    >asyncCall)
    > at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
    >methodName, Object[] parameters)
    > at WebInventoryListener.WebInventory.GenerateInventor y.UpdateInventory()
    >in C:\Doents and Settings\Administrator\My Doents\Visual Studio
    >Projects\WebInventoryListener\Web
    >References\WebOrders\Reference.vb:line 48
    > at WebInventoryListener.CuteFTP.GetWebInventory(Objec t parameters)
    >in C:\Doents and Settings\Administrator\My Doents\Visual Studio
    >Projects\WebInventoryListener\CuteFTP.vb:line 260
    >
    >Nothing major has changed. We did a few Windows Updates a while back
    >to the .NET framework (.NET Framework 1.1 Service Pack 1, .NET
    >Framework 1.0 Service Pack 3) Could these updates be the cause of
    >these errors?
    >
    >If I go to the actual WebService page, I can see that the page exists
    >and all of my methods are listed as its supposed to do.
    >
    >Anyone has any ideas?
    >
    Dan Rogers Guest

Similar Threads

  1. Replies: 0
    Last Post: May 18th, 07:48 PM
  2. System.Security.SecurityException: Request failed
    By Sunetra Urhekar in forum ASP.NET Security
    Replies: 0
    Last Post: November 8th, 02:04 PM
  3. Replies: 5
    Last Post: September 28th, 01:16 PM
  4. Replies: 5
    Last Post: September 16th, 07:33 PM
  5. System.Security.SecurityException: Request failed.
    By A. Elamiri in forum ASP.NET Security
    Replies: 0
    Last Post: April 8th, 03:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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