My project is using netnamedpipe service for performing CRUD operations on the databases and accessing database objects. Problem: When I am consuming the NetNamedpipe service in SSIS and running the job through SQL server Agent by using Localhost credentials(using Windows Authentication) in SSIS configuration manager the job is executing successfully and performing the CRUD operations on the tables as expected. But when I am running the same job using SSIS proxy user which is again on Windows Authentication mode, it is giving me the below attached error.
Executed as user: {domain\Proxyuser}
. ...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)
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(TimeSpan timeout) at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)
at ST_4afb40bbfa44442385f42de501c36110.csproj.ScriptMain.Execute()
The package executed successf... The step succeeded.
Do we have any separate way to consume WCF/netnamedpipe service with SSIS proxy user?
Note : Proxy user has login credentials for accessing the necessary databases objects for CRUD operation.
Kindly assist me with this issue, as I am facing this problem from past few months and running the job with SQL server Agent role , which is not preferable in PROD environment.