locked
OrganizationData.svc cannot be activated due to an exception during compilation. The exception message is: Value cannot be null RRS feed

  • Question

  • We activated SSL in Dynamics CRM 2011 website and OrganizationData.svc stopped working.

    CRM Application and SOAP endpoint (Organization.svc) continue working, just the rest endpoint stopped.

     

    Accessing OrganizationData.svc throw this exception:

    Object reference not set to an instance of an object. at Microsoft.Crm.MainApplication.Application_Error

     

    And in trace logs:

     

    Error: The service '/<ORG>/XRMServices/2011/OrganizationData.svc' cannot be activated due to an exception during compilation.  The exception message is: Value cannot be null.

    Parameter name: addresses.

    Error Message: The service '/<ORG>/XRMServices/2011/OrganizationData.svc' cannot be activated due to an exception during compilation.  The exception message is: Value cannot be null.

    Parameter name: addresses.

    Source File: Not available

    Line Number: Not available

    Request URL: https://<CRM-URL>/<ORG>/XRMServices/2011/OrganizationData.svc

    Stack Trace Info: [ArgumentNullException: Value cannot be null.

    Parameter name: addresses]

     

    Some ideas? Some registry or db configs?  We have only 1 frontend server.

    Thanks.

     


    Virtual Group - Soluções Inteligentes www.virtualgroup.com.br
    Monday, January 16, 2012 11:25 PM

All replies

  • No idea? :/
    Virtual Group - Soluções Inteligentes www.virtualgroup.com.br
    Tuesday, January 17, 2012 11:22 AM
  • Did you figure this out?  Having the exact same message....

    I wonder if it's SSL related?

    EDIT: I turned off the option in IIS to "Require SSL" and it started working...not a big fan of that though.


    • Edited by MProper Friday, January 27, 2012 8:10 PM
    Friday, January 27, 2012 7:46 PM