Exception is thrown
System.Net.WebException was unhandled by user code
Message=The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fforumdemo%2fdefault.aspx">here</a>.</h2>
</body></html>
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><SetUserCookieResponse xmlns="http://tempuri.org/"><SetUserCookieResult>true</SetUserCookieResult></SetUserCookieResponse></soap:Body></soap:Envelope>
--.
Source=System.Web.Services
StackTrace:
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 YafUser.Register.SetUserCookie(String UserName, String Password) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vhsdemo\eaea8c65\2af81a84\App_WebReferences.ijejjmxk.0.cs:line 98
at Login.Button1_Click(Object sender, EventArgs e) in d:\ashah\petrel\vhsdemo\Login.aspx.cs:line 14
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
Originally Posted by: AbhishekRShah