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

E

Edgar D

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.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at WebInventoryListener.WebInventory.GenerateInventory.UpdateInventory()
in C:\Documents and Settings\Administrator\My Documents\Visual Studio
Projects\WebInventoryListener\Web
References\WebOrders\Reference.vb:line 48
at WebInventoryListener.CuteFTP.GetWebInventory(Object parameters)
in C:\Documents and Settings\Administrator\My Documents\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?
 
D

Dan Rogers

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: (e-mail address removed) (Edgar D)
Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
Subject: System.Net.WebException: The request failed with the error message: Object Moved
Date: 29 Nov 2004 08:31:38 -0800
Organization: http://groups.google.com
Lines: 36
Message-ID: <[email protected]>
NNTP-Posting-Host: 144.228.192.134
Content-Type: text/plain; charset=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: (e-mail address removed)
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.google.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet.webservices:26850
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices

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.SoapHttpClientProtocol.ReadResponse(SoapClient
Message
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at WebInventoryListener.WebInventory.GenerateInventory.UpdateInventory()
in C:\Documents and Settings\Administrator\My Documents\Visual Studio
Projects\WebInventoryListener\Web
References\WebOrders\Reference.vb:line 48
at WebInventoryListener.CuteFTP.GetWebInventory(Object parameters)
in C:\Documents and Settings\Administrator\My Documents\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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top