What are the challenges you face when working across database platforms? Take the survey

Error 2001: Response is not well formed XML

UsherNetUsherNet Posts: 7
edited April 6, 2011 5:11AM in SmartAssembly
Hi, I have just deployed a build of our code with the new version of SA6, we use a custom web server to collect error reports and usage reports. I have installed the lastest SmartAssembly6.0.0.513_WebService files on our testing server and validated that everything is up and running by running a browser test on http://www.steamboatnav.com/saWebServic ... Login.asmx

When I attempt to report an error within our application, using either the standard template or a custom template (freshly compiled), I receive an error on stage 2, "Connecting to server."

Can anyone shed any light on what steps I have missed or why I am unable to report to my custom web server. We are not using SSL and there are no proxies involved.

If I report to the Red-Gate server everything works on both standard template and custom template.




  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Paul,

    The webserver is probably returning an error or a 404 page. First thing to do is check the log - if the webservice is configured correctly there should be a SmartAssembly.Webservice.log file in the same folder as the rest of the webservice files. The answer may be in there.

    If not, I would try is to attach an HTTP debugger like fiddler on the client and look at what is coming back in the trace.

    Third-line of troubleshooting is debugging the web app, which can get messy.
  • Options
    Hi Brian,

    Here is the response as seen through Fiddler

    HTTP/1.1 500 Internal Server Error
    Cache-Control: private
    Content-Type: text/xml; charset=utf-8
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    Date: Wed, 06 Apr 2011 03:19:50 GMT
    Content-Length: 888

    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.TypeInitializationException: The type initializer for '&#x12;.&#x1D;' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at &#x12;.&#x1D;..cctor()
    --- End of inner exception stack trace ---
    at &#x12;.&#x1D;.&#156;&#x10;(Exception , Object[] )
    at SmartAssembly.WebServices.UploadReportLoginService.GetServerURL(String licenseID)
    --- End of inner exception stack trace ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

    Any ideas?
  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    I will contact you via email with the debugging instructions.
Sign In or Register to comment.