Skip to content
+1-888-319-3663

COMMUNITY FORUM

Econnect no endpoint listening error

Koushik asked 3 years ago
Hi ,

I have a sql job that kick starts the smartconnect map to run 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
Answers
Ethan Sorenson Staff answered 3 years ago
Koushik,
 
This error is caused by the eConnect service not running on the machine.
We have a help article for resolving this error.
There was no endpoint listening at net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations that could accept the message
Koushik Baddam replied 3 years ago

Thanks for the quick response. i have made sure Econnect service is up and running.

Sql Job is running successfully when i execute it as a sqlagent service user but i am getting an error when i use a proxy.


If you would like to submit an answer or comment, please sign in to the eOne portal.