I am trying to connect to CRM 365 on primases from CRM SDK as following:
CrmServiceClient conn = new CrmServiceClient(new System.Net.NetworkCredential(username, password, domain), server, port, orgName);
IOrganizationService _orgService = (IOrganizationService)conn.OrganizationServiceProxy;
But I got this error in the "LastCrmError" attribute in the conn object:
ERROR REQUESTING ORGS FROM THE DISCOVERY SERVER
ERROR REQUESTING ORGS FROM THE DISCOVERY SERVERThe 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.Unable to login to Dynamics CRM, Error was : 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.
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.Unable to Login to Dynamics CRM
Unable to Login to Dynamics CRM
It was working fine, but once we enabled https on the crm and IIS with SSL, we got this error. How to fix it?! Thanks