Hi Guys,

I'm using new OrganizationServiceProxy to get service, but sometimes it will occur exception "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.". I wonder how can I determine if a connection of a service is still existed? Do have any existing method to determine it?

It may have a time out is 30s, but I don't know where can set it? Because I found the error will occur at 30 seconds.

Dynamics crm version is v9.0 on-premise.

Thanks,

Stone