Error 2001: Response is not well formed XML
UsherNet
Posts: 7
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.
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.
Comments
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.
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. ---> System.TypeInitializationException: The type initializer for '.' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ...cctor()
--- End of inner exception stack trace ---
at ..œ(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?