CRM Dynamics - Organization Service detailed error

Category: dynamics crm development

Question

RkHirpara on Thu, 09 Jun 2016 05:05:35


There,

I am using trial version of the MS - Dynamics CRM - 2016 trial version, and accessing organization web Service, many times I am getting an error saying me

"The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."

This error dont convey me an information which I can dig and fix or understand the problem, I want specialize error message.

In short, no time I expect generalize error what should I do.

Thanks and Regards,

Rk_Hirpara

Replies

RkHirpara on Mon, 13 Jun 2016 06:14:46


Is there any one expert enough to reply here Or I am at wrong place.. ???

DavidJennaway on Mon, 13 Jun 2016 13:05:31


Try catching the exception as a FaultException - see https://msdn.microsoft.com/en-us/library/gg327884.aspx

If it is a FaultException, the Detail.Message property should give more information. If it is not a FaultException, what Exception type is it ?

RkHirpara on Tue, 14 Jun 2016 05:23:28


David,

Thanks for your reply

I have already done the way you suggested more precisely I have copied the code from there only.

Any advice here ???

I have screenshots as well but this site dont allow me to upload the screenshot.

Thanks and Regards,

Rk_Hirpara