web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics CRM 365 On-Premise Troubleshooting Sporadic Lockups and Errors until IIS is reset

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I have a Dynamics CRM 365 on-premise environment that is used daily by over 300 individuals.

Sporadically, about once a week, the entire CRM environment will become slow, sluggish, and start throwing errors.

Generally, when this starts to happen, I'll perform a reset on IIS and after about 5 minutes everything will come up and go back to normal for another week or so until it happens again (not at the same time of day or even the same day of the week).

To help provide some more details about this situation, the last time it occurred, I have a WCF Service that creates records in the CRM and it started throwing exceptions over and over again with the following:

System.ServiceModel.CommunicationObjectFaultedException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E662A8E9

I then went into the CRM and tried to create an opportunity (unrelated to what the WCF service is doing). The first time I tried to save an opportunity record I received the following error from a plugin that has been running on opportunity create for several years without problems:

The plug-in execution failed because no Sandbox Worker processes are currently available. Please try again.

I then went back and tried to create the opportunity a second time and it worked.

When the system starts 'acting up' I've seen these errors everywhere from account plugins, incident plugins, opportunity plugins, and outside external applications trying to connect to the CRM.

Basically, I was wondering if anyone would have any troubleshooting techniques or tips they would be so kind to offer me in regards to how I can track down what is happening... Maybe something I can run or monitor for example to find the culprit?

 

Thanks again everyone for all of the help.

 

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    Sometimes AppPool recycle need to be scheduled in off-business hours periodically to solve such mystery issues.

    Memory leak or any setup issues could be the reason, are you seeing anything odd in trace or event viewer logs?

    MS support can help you to run diagnostic tools to see the bottlenecks.

  • Community Member Profile Picture
    on at

    Arun,

    Thank you for taking the time to get back to me on this one.

    I took your advice and looked through the application logs of the event viewer on our server and there were a lot of invalid trace directory and errors regarding the termination of sandbox worker processes.

    We did perform an upgrade of our environment from CRM 2015 to 365 and if my memory serves me correctly this is around when this all started happening.

    I found this article blog.qualtechsoftware.com/high-number-of-sandbox-worker-processes-dynamics-365 that goes into detail regarding a large number of sandbox work processes and there potentially being an issue with the service itself.

    I'll investigate this further and see where this takes me.

    Thanks again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans