I have written a service that retrieves postcode data, it is currently working fine on a Dynamics crm system 2011 ru18. I need to run this on a seperate system, Dynamics CRM 2011 ru11, transferred it all across but all I receive is Error: when trying to run it.
Am inclined to think there is a permissions issue to the WCF service, however what is the best route to debug this service - I've tried using F12 and then get totally lost as to what I need to do - anybody help?
If your WCF service talks to CRM and fails, you could try the following to get to the actual error message
01. Enable WCF tracing, and use the trace viewer, please see below
02. You can enable tracing in CRM and check the logs
You can enable tracing using the following tool
Download the archive, unzip, under the releases folder, rename the file inside the folder 5 to .zip and unzip this to get the actual exe. Copy this across to crm server an run and enable trace
And you can use the traced reader to identify the error easily
Download the archive, unzip the file, under the releases folder, rename the file in folder 3 to .exe and this is the reader application. Copy this across to CRM server to read the trace file
Make sure you disable the tracing once you done the debugging as it will be logging a lot of data and might quickly fill up the server hard disk
As you wrote the service , so better to write some logs each line which you feel may cause the issue and then deploy the environment . I hope you did proper error handling with try catch in your WCF service . Deploy the service and check the log . You should get the point where its failing.
If its CRM related issue then you can simply debug WCF service from your local machine using Visual Studio WCF client , make sure you are pointing the environment where its failing .
Have got it debugging now, gone a little bit further and the error is DOMParser' is undefined at line var parser = new DOMParser();
Am a little lost now as i think it's pointing to an incompatibility with the ru version rather than ie version?
Business Applications communities