Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Protocol Error "Object moved"

$
0
0

My web service works fine when I test with Localhost, but when I deploy to the web I get a Protocol error with the message

Message=The request failed with the error message:
--
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://XXXX.org.uk/WSLog.asmx">here</a></body>
--.
Where the HREF is the correct address of the service.

I created the service interface with the "Add service reference/advanced/Add Web reference" in Visual studio 2013

I assume I'm missing a setting in the web config or the host site ("Anonymous authentication" is checked on the host)


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>