Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

(0) ShareShare
ReportReport
Posted on by 195

Hello Techies,

We have started getting the below error suddenly from last 2 hours.

"The plug-in execution failed because the Sandbox Client encountered an error during initialization.

there were no changes made in recent past. the above issue comes only for the entity which has plugins registered against them.

Any help is appreciated!!

Thank you,

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Hi,

    Did you try the below KB articles?

    support.microsoft.com/.../mscrmsandboxclient-errors-in-the-event-viewer-for-microsoft-dynamics-c

    support.microsoft.com/.../errors-occur-when-maximum-worker-processes-in-iis-have-been-modified-w

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Hi Ravi,

    Ours is on-premises, below error was getting logged.  Error stopped after iisreset and sandbox restart. Looking for any possible root cause. (how to avoid this in future?) 

    The Sandbox SDK Listener failed to start.
     Source: w3wp.exe 
     Endpoint: net.tcp://localhost/CrmSandboxSdkListener-w3wp
     Error: System.ServiceModel.AddressAlreadyInUseException: The TransportManager failed to listen on the supplied URI using the NetTcpPortSharing service: the URI is already registered with the service.

    Thanks,

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Hi,

    If it is CRM Online then it is likely a sandbox service down for your org/ tenant. It should be fixed now. If not, reach out to MS Support.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Same error faced: helped by below steps.

    IISRESET + Restart of Sandbox service.

    Thank you Francesco.

    What is the root cause, please guide.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Point 2 :-)

    I'm glad you solved it.

    If you found the answer helpful, please mark as Verified 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • SreeniPavalla Profile Picture
    SreeniPavalla 195 on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Hi Francesco,

    Sandbox service was down on that day. After we created a ticket , MS have started the service and everything started working as expected.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Could you confirm my previous point 1)?

    Thanks

    Francesco

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    Hello. We still have the same problem and no sollution. We are using online system.

    Did someone find a sollution for this?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365
    1. Your are talking about last year, so please try to update reference to last sdk libraries and republish the plugin.
    2. If this doesnt work it might be a Microsoft issue and I would do the following:
      1. Try to debug to understand the right point where the plugin fails
      2. If there is no reason to fail, open a Ticket to MS

    Please let us know.
    Greetings
    Francesco

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The plug-in execution failed because the Sandbox Client encountered an error during initialization. - Dynamics 365

    We are facing similar problem since morning

    No changes from our side since last week. All was working fine and then suddenly we started getting error

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans