Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - The pipe name could not be obtained - when using ASP.NET Impersona

 
 
Old 06-23-2008   #1 (permalink)
Vijay


 
 

The pipe name could not be obtained - when using ASP.NET Impersona

I have a web application written in VS2008, trying to use a WCF service
running on a console. The service is running as me - the person logged in,
while the web application is impersonating an administrator user on the
windows 2003 server. I notice I get the below error whenever trying to make
the WCF call using impersonation. It works if I make it false.

System.ServiceModel.EndpointNotFoundException: There was no endpoint
listening at net.pipe://127.0.0.1/AddressGlobalizer that could accept the
message. This is often caused by an incorrect address or SOAP action. See
InnerException, if present, for more details. --->
System.ServiceModel.AddressAccessDeniedException: The pipe name could not be
obtained for net.pipe://127.0.0.1/AddressGlobalizer. --->
System.IO.PipeException: The pipe name could not be obtained for the pipe
URI: Access is denied. (5, 0x5) --- End of inner exception stack trace --- at
System.ServiceModel.Channels.PipeSharedMemory.Open(String sharedMemoryName,
Uri pipeUri) at
System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri) ---
End of inner exception stack trace --- Server stack trace: at
System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri) at
System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddr
Source : mscorlib
Message : There was no endpoint listening at
net.pipe://127.0.0.1/AddressGlobalizer 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) 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.TakeConnection(TimeSpan
timeout) 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.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel
channel, TimeSpan timeout) at
System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan
timeout, CallOnceManager cascade) at
System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs,
TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String
action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
Object[] outs) at
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
methodCall, ProxyOperationRuntime operation) at
System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgD
Inner Exception : System.ServiceModel.AddressAccessDeniedException: The
pipe name could not be obtained for net.pipe://127.0.0.1/AddressGlobalizer.
---> System.IO.PipeException: The pipe name could not be obtained for the
pipe URI: Access is denied. (5, 0x5) --- End of inner exception stack trace
--- at System.ServiceModel.Channels.PipeSharedMemory.Open(String
sharedMemoryName, Uri pipeUri) at
System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri)


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Pipe response Yes to ALl PowerShell
Pipe a pipe command to a file VB Script
How to map openssl obtained private key parameters to RSAParameters struct members? .NET General
possibly pipe max? PowerShell
getting arguments from pipe PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46