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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

(1) ShareShare
ReportReport
Posted on by

Hi All

I have encountered a problem with CRM partially reporting errors with the sandbox service.

The system consists of the following servers:

crmweb3001 - Only frontend roles installed
crmapp3001 - All roles installed
crmsql3001 - SQL server

The system is running ADFS/IFD and everything seems to be working perfectly when using the UI and working through Outlook. The system uses split DNS so requests from the internet goes to the frontend server and requests from the intranet goes to the backend server. The setup is hosting multiple organisations.

The problem occures in a simple plugin i have developed. The plugin executes when a custom entity is updated and does a retrievemultiple on a related child entity to Count the number of related entities. The plugin is working perfectly in the Development setup with all roles on one server.  

If i access the UI on the backend server, and update the entity, the plugin is executed perfectly.
If i access the UI on the frontend server, and update the entity, the plugin gives the following error:

The plug-in execution failed because no Sandbox Hosts are currently available. Please check that you have a Sandbox server configured and that it is running.
System.ServiceModel.EndpointNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #F037E259

Looking through the trace files this is the details i found

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

In the trace files i can also see the backend servers is preparing the endpoint a couple of lines earlyer:

net.tcp://crmapp3001/CrmSandboxHost
using clientSpn: MSCRMSandboxService/CRMAPP3001
created WCF channel OK

So it seems the server know to get ready for sandbox processing, but it only works if everything is running on the backend server.

I have verified that there is no firewall blocking connections between the 2 servers and name resolving is also working as expected.

Could this be a SPN configuration problem?

Any help is appreciated. Thanks

/Peter

*This post is locked for comments

I have the same question (0)
  • Thangamani Profile Picture
    507 on at
    RE: Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

    Hello All,

    Today we have faced the same issue from all of our 3 environments which are mentioned below.

    Reason: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/CrmSandboxHost that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

    We are using MSCRM2013 version and we just did a trace of each environments and got the same error.

    We did restart a services of Microsoft CRM Sandbox Processing service and ADFS service and it started connecting to all the environments.

    Hope this helps...

    Regards,

    Thangamani

  • Peter Toftager-Larsen Profile Picture
    on at
    RE: Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

    Hi Milan

    We never found a solution that worked correctly.

    My workaround was to install the Sandbox service on all servers, so the application always redirects to localhost when trying to call the service.

    This is NOT a ideal solution, as we wanted the sandbox service to be executed on a isolated server, but it got the system running.

    The links Raheem is refering to is about the same problem, but this is something we are not allowed to touch as it might break the CRM platform. So not really usefull in this context.

    I believe there is a SPN problem involved here, but haven't been able to find the solution, and there has been no feedback from any of the MS Guys.

    If anyone has a solution, ot would be great to here what it is.

    /Peter

  • minohimself Profile Picture
    2 on at
    RE: Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

    We changed from multiserver deployment to one server with all roles, and its working now.

    But would be nice to find out what cause this issue

  • Community Member Profile Picture
    on at
    RE: Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

    I hope this is related to WCF service issue:

    Please try the below:

    forums.asp.net/.../2021920.aspx

    stackoverflow.com/.../wcf-there-was-no-endpoint-listening-at-net-tcp-querier-svc-that-could-a

    www.codeproject.com/.../WCF-There-was-no-endpoint-listening-at-that-could

  • minohimself Profile Picture
    2 on at
    RE: Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

    Have you been able to solve it ? we are having the exact same issue.

    Thanks

  • Peter Toftager-Larsen Profile Picture
    on at
    RE: Error: There was no endpoint listening at net.tcp://crmapp3001/CrmSandboxHost

    No one have any suggestions?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans