Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

Using Microsoft CRM 2011 SDK calls in Threading application

$
0
0

Hello All,

I am using threading application in which I have CRM sdk call(like Create,Update,Execute) on crm entities which are different in each thread. I am using early bound entity classes generated by crmsvcutil tool. I am not adding service in service reference. Sometimes, I am getting following two errors indefinately.

1)

The HTTP request to 'https://orgname/XRMServices/2011/Organization.svc' was aborted.  This may be due to the local channel being closed while the request was still in progress.  If this behavior is not desired, then update your code so that it does not close the channel while request operations are still in progress.

2)

"Cannot access a disposed object.\r\nObject name: 'System.ServiceModel.Security.TransportSecurityProtocol'."

Is there any settings which I need to change on server side where CRM is installed or I am missing anything else.

Can any one please guid me on this?


Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>