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