Hi Guys,
I'm using the code below to get organization service, it can get service, but now it sometimes show "System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server." when I invoke this service. I'm not sure if it's because I didn't explicitly use TLS1.2(ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; ).
I'm using Dynamics crm 9.0 on-premise version.
Thanks,
Dejun


Report
All responses (
Answers (