Red Gate forums :: View topic - Error 2001: Response is not well formed XML
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Error 2001: Response is not well formed XML

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
UsherNet



Joined: 31 Mar 2011
Posts: 4

PostPosted: Thu Mar 31, 2011 7:38 am    Post subject: Error 2001: Response is not well formed XML Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Fri Apr 01, 2011 9:52 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
UsherNet



Joined: 31 Mar 2011
Posts: 4

PostPosted: Wed Apr 06, 2011 4:24 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Wed Apr 06, 2011 10:11 am    Post subject: Reply with quote

I will contact you via email with the debugging instructions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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