log in error:
Server Error in '/tshop' Application.
Root element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: Root element is missing.
Source Error:
Line 41: string result = xmlhttp.responseText;
Line 42: XmlDocument xml = new XmlDocument();
Line 43: xml.LoadXml(result);
Line 44: XmlNode xmlNode = xml.SelectSingleNode("user/Authentication");
Line 45: if (xmlNode.ChildNodes[2].Attributes["value"].Value == "0")
|
Source File: d:\68_project\SeaSky\source_2080513\TShop\OthersLoginaspx1.aspx.cs Line: 43
Stack Trace:
[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1907125
System.Xml.XmlTextReaderImpl.Read() +38
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.LoadXml(String xml) +194
OthersLoginaspx.btnLogin_Click(Object sender, EventArgs e) in d:\68_project\SeaSky\source_2080513\TShop\OthersLoginaspx1.aspx.cs:43
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 Server Error in '/tshop' Application.
Root element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: Root element is missing.
Source Error:
Line 41: string result = xmlhttp.responseText;
Line 42: XmlDocument xml = new XmlDocument();
Line 43: xml.LoadXml(result);
Line 44: XmlNode xmlNode = xml.SelectSingleNode("user/Authentication");
Line 45: if (xmlNode.ChildNodes[2].Attributes["value"].Value == "0")
|
Source File: d:\68_project\SeaSky\source_2080513\TShop\OthersLoginaspx1.aspx.cs Line: 43
Stack Trace:
[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1907125
System.Xml.XmlTextReaderImpl.Read() +38
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
System.Xml.XmlDocument.Load(XmlReader reader) +96
System.Xml.XmlDocument.LoadXml(String xml) +194
OthersLoginaspx.btnLogin_Click(Object sender, EventArgs e) in d:\68_project\SeaSky\source_2080513\TShop\OthersLoginaspx1.aspx.cs:43
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |