Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Econnect no endpoint listening error

Posted on by Microsoft Employee

Hi ,

I have a sql job that kick starts the smartconnect map which is running fine when i run it through visual studio or as sql agent service user but i am getting a no endpoint listening error when i run it as sql proxy user.

I have made sure the econnect service is running and the proxy user has the admin priviliges to the windows server where the job is actually running and the user i also smartconnect admin.

Error message from smartconnect log:

RE_2_IMPORT: There was no endpoint listening at net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

Windows event log Error

Action:
Create

Current User Name:


Input parameters:

Exception type:
Microsoft.Dynamics.GP.eConnect.eConnectException

Exception message:
There was no endpoint listening at net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

Stack Trace:
at Microsoft.Dynamics.GP.eConnect.ServiceProxy.InitializeServiceProxy()
at Microsoft.Dynamics.GP.eConnect.ServiceProxy.GetInstance()
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessEntityImport(String connectionString, String sXML, Boolean isTransaction)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML)
Exception type:
System.ServiceModel.EndpointNotFoundException

Exception message:
There was no endpoint listening at net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

Stack Trace:

Server stack trace:
at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Open()
at Microsoft.Dynamics.GP.eConnect.ServiceProxy.CreateServiceChannel(ChannelFactory`1 svcChannelFactory)
at Microsoft.Dynamics.GP.eConnect.ServiceProxy.InitializeServiceProxy()
Exception type:
System.ServiceModel.AddressAccessDeniedException

Exception message:
The pipe name could not be obtained for net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations.

Stack Trace:
at System.ServiceModel.Channels.PipeSharedMemory.Open(String sharedMemoryName, Uri pipeUri)
at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
Exception type:
System.IO.PipeException

Exception message:
The pipe name could not be obtained for the pipe URI: Access is denied. (5, 0x5)

Stack Trace:


Any thoughts ? Thanks

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Econnect no endpoint listening error

    Hi Tim,

    We have econnect installed in the same server where sqlagent is running.

    & yes everything ran from the same machine.

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Econnect no endpoint listening error

    Could you describe the server, client setup.

    Where is eConnect installed and where is the service running?

    " visual studio or as sql agent service user but i am getting a no endpoint listening error when i run it as sql proxy user"

    Are these all being ran from the same machine?

    Tim

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans