Error 2001: Response is not well formed XML

.NET obfuscator and automated error reporting

Error 2001: Response is not well formed XML

Postby UsherNet » Thu Mar 31, 2011 7:38 am

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.

TIA


Paul.
UsherNet
 
Posts: 4
Joined: Thu Mar 31, 2011 7:16 am

Postby Brian Donahue » Fri Apr 01, 2011 9:52 am

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.
Brian Donahue
 
Posts: 6590
Joined: Mon Aug 23, 2004 10:48 am

Postby UsherNet » Wed Apr 06, 2011 4:24 am

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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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. ---&gt; System.TypeInitializationException: The type initializer for '&#x12;.&#x1D;' threw an exception. ---&gt; 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;.œ&#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?
UsherNet
 
Posts: 4
Joined: Thu Mar 31, 2011 7:16 am

Postby Brian Donahue » Wed Apr 06, 2011 10:11 am

I will contact you via email with the debugging instructions.
Brian Donahue
 
Posts: 6590
Joined: Mon Aug 23, 2004 10:48 am


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest