locked
How to make CRM server relay exceptions RRS feed

  • Question

  • Hello,

    I am getting an error in CRM 2011 Outlook Client and when I look at the traces (on client) to find out what is the error it says

    Error connecting to URL: http://machineserver/XRMServices/2011/Discovery.svc Exception: System.ServiceModel.FaultException: 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,

     

    Can someone tell me in which .config to put the serviceDebug or ServiceBehaviour. I could not see CRM's WCF services defined in CRMWeb\web.config. Where is it?


    Manny Grewal || Australia
    Friday, August 12, 2011 7:08 AM

Answers

  • What if you turn on CRM platform trace log? I had an impression that CRM web services used code-based configurations which means that we have no way to change them, but I could be wrong.


    Daniel Cai | http://danielcai.blogspot.com
    • Marked as answer by Manny Grewal Monday, August 15, 2011 4:20 AM
    Friday, August 12, 2011 10:02 PM

All replies

  • It would be in the web.config in CRMWeb (it may have to go under a different sub section).

    That said, be aware that any changes to web.config may be overwritten when patches/new versions of CRM are installed.

    Michael

    Friday, August 12, 2011 9:46 PM
  • What if you turn on CRM platform trace log? I had an impression that CRM web services used code-based configurations which means that we have no way to change them, but I could be wrong.


    Daniel Cai | http://danielcai.blogspot.com
    • Marked as answer by Manny Grewal Monday, August 15, 2011 4:20 AM
    Friday, August 12, 2011 10:02 PM