| Author |
Message |
UsherNet
Joined: 31 Mar 2011 Posts: 4
|
Posted: Thu Mar 31, 2011 7:38 am Post subject: Error 2001: Response is not well formed XML |
|
|
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/saWebServices/UploadReportLogin.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. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Fri Apr 01, 2011 9:52 am Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
UsherNet
Joined: 31 Mar 2011 Posts: 4
|
Posted: Wed Apr 06, 2011 4:24 am Post subject: |
|
|
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. ---> 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? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Wed Apr 06, 2011 10:11 am Post subject: |
|
|
I will contact you via email with the debugging instructions. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group