Author: LeJeune | Posted on: 12/14/2008 8:28:34 AM | Views : 477

Hi - I have a webservice in a directory requiring  form authentication.

When I try to add a WebReference through VS2005 - I get the following error: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/webchat/login.aspx?ReturnUrl=%2fwebchat%2fConsole%2fWebService.asmx">here</a>.</h2>
</body></html>

When I remove my web.config - no problem.

There is the same problem calling the webservice through a proxy. If I add form authentication, it fails with the same error. Of course before calling the webservice, I create an authentication ticket.

 

Any idea - thanks

 

 
...

Go to the complete details ...