Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 1 of 1

Thread: Can someone plz look @ gccallback.aspx.cs

  1. #1
    joecalardo is offline Member
    Join Date
    May 2011
    Posts
    61

    Default Can someone plz look @ gccallback.aspx.cs

    Hello, is it safe for me to post my gccallback.aspx.cs file information, I keep getting errors in google checkout, iv'e followed all the procedures to integrating this thing, and I still do not get my orders in my store, just google checkout. Now recently I'm getting this error from google checkout .. will someone please help me , let me know if it's okay to post my code here - -


    But here is the error message I am receiving from google checkout -

    We encountered an error trying to access your server at https://www.mystore.com/Store/gccallback.aspx -- the error we got is Send failed with code: 500. Response body was: <html> <head> <title>Data at the root level is invalid. Line 1, position 1.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/Store' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Data at the root level is invalid. Line 1, position 1.</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>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. <br><br> <b> Exception Details: </b>System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.<br><br> <b>Source Error:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> Line 39: // by evaluating the root tag of the document Line 40: XmlDocument googleResponse = new XmlDocument(); <font color=red>Line 41: googleResponse.LoadXml(xmlData); </font>Line 42: Line 43: int MerchantOrderNumber = 0;</pre></code> </td> </tr> </table> <br> <b> Source File: </b> d:\domains\mystore.com\wwwroot\Store\gcCallback.as px.cs<b> &nbsp;&nbsp; Line: </b> 41 <br><br> <b>Stack Trace:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [XmlException: Data at the root level is invalid. Line 1, position 1.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +90 System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127 System.Xml.XmlTextReaderImpl.ParseRootLevelWhitesp ace() +1954130 System.Xml.XmlTextReaderImpl.ParseDocumentContent( ) +503 System.Xml.XmlTextReaderImpl.Read() +41 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145 System.Xml.XmlDocument.Load(XmlReader reader) +96 System.Xml.XmlDocument.LoadXml(String xml) +197 AspDotNetStorefront.gcCallback.Page_Load(Object sender, EventArgs e) in d:\domains\mystore.com\wwwroot\Store\gcCallback.as px.cs:41 System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +13 System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +43 System.Web.UI.Control.OnLoad(EventArgs e) +98 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4295 </pre></code> </td> </tr> </table> <br> <hr width=100% size=1 color=silver> <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.1891; ASP.NET Version:2.0.50727.1887 </font> </body> </html> <!-- [XmlException]: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitesp ace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent( ) at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at AspDotNetStorefront.gcCallback.Page_Load(Object sender, EventArgs e) in d:\domains\mystore.com\wwwroot\Store\gcCallback.as px.cs:line 41 at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.gccallback_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\store\afbabcd7\187b25c5\App_Web_cvtnoejk.57. cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e() at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
    Code:
    XML we sent: 	
    
    serial-number=462968894073255-00001-7
    Last edited by joecalardo; 06-23-2011 at 11:29 AM.