CodePerspective
CodePerspective copied to clipboard
Failed to connect to an IPC Port: Access is denied
testing on an ASP.NET 4.0 application in Windows 7. Recompile and Analyze all seem to work fine, but the Monitor tab shows "Error querying ipc://xray_119283722/query Failed to connect to an IPC Port: Access is denied."
The only reference I found that might be useful is this: http://social.msdn.microsoft.com/Forums/en/netfxremoting/thread/9bcb3ac6-8603-4dd6-b558-37642a488137.
The full error message is
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: Access is denied.
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) at XLibrary.IpcQuery.GetLog(Int32 count) at XBuilder.MonitorPanel.ProcessListView_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ListView.WmReflectNotify(Message& m) at System.Windows.Forms.ListView.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Maybe if you right-click run XBuilder as administrator it will let the Monitor tab show running XRayed processes. What version of windows are you running? It seems to have some non-standard security settings.