Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect to an IPC Port: The system cannot find the file specified. #205

Open
f3xx opened this issue Aug 15, 2017 · 1 comment
Open

Comments

@f3xx
Copy link

f3xx commented Aug 15, 2017

Some users of my application are experiencing an issue with IPC setup with EasyHook. The error is detailed below.

Other users are experiencing no problems at all and so I guess this could be a permissions error where the user does not have permission to set up named pipe IPC?

What would be the best steps to diagnose / resolve? Are there minimal requirements for IPC?

Thank you

System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: The system cannot find the file specified.
 

Server stack trace: 
   at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
   at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
   at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

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)
@justinstenning
Copy link
Member

Pretty sure a permission issue will give you an access denied message.

I would debug further to determine that the channel is actually open, it doesn't sound like an issue with EasyHook. Perhaps a simple test app(s) that setup and use IPC as a sanity check?

Cheers,
Justin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants