Why does Microsoft Dynamics CRM 4.0 occasionally fail when calling the RetrieveMultiple web service?

Under high volume (and with default IIS/Windows Server settings) I have seen the server run out of available ports, since with every call to the CRM Service (even using the same service object) CRM opens up another port.

I am using RetriveMultiple to determine if there is an existing Lead record (using Email Address as the key). If there is, then the existing Lead record is updated. If there is not, a new Lead record is created.

Usually between 10-20 new Leads are created each day, and an additional 2-5 fail. I tried enabling tracing in CRM, which revealed nothing, no errors, which makes me think that it could be a networking problem, maybe port related. I increased the MaxUserPort TCPTimedWaitDelay registry settings to see if that would help but didn't make a difference.

Any other ideas? Thanks! – Lou Mintzer Feb 28 at 15:26 Any thoughts on how setting the UnsafeAuthenticatedConnectionSharing = true; property could cause this problem?

– Lou Mintzer Feb 28 at 22:25 If you're impersonating users, or multiple users are running the same process, UnsafeAuthenticatedConnectionSharing could cause security issues, although I don't believe I've seen it ever cause a Socket Exception. – Matt Feb 28 at 22:51 Also, if you updated the MaxUserPort and TCPTimedWaitDelay, did you restart the server? I believe one if not both of those require a server restart.

– Matt Feb 28 at 22:52.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions