locked
Failed to connect to an IPC Port: The system cannot find the file specified. RRS feed

  • Question

  • Hi Experts,

    I was working on to implement Coded UI Testing to a custom control.

    in that am facing the Code Test builder crash due to the following exception.

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

      Source=mscorlib
      StackTrace:
        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 Syncfusion.Grid.WPF.UITest.Services.IGridInteropService.GetElementFromPoint(Int32 pointX, Int32 pointY)
           at Syncfusion.Grid.WPF.UITest.GridTechnologyManager.GetElementFromPoint(Int32 pointX, Int32 pointY)
           at Microsoft.VisualStudio.TestTools.UITest.Framework.UITestService.GetElementFromPoint(Int32 pointX, Int32 pointY)
           at Microsoft.VisualStudio.TestTools.UITesting.UITestControl..ctor(Point point)
           at Microsoft.VisualStudio.TestTools.CodedUITest.Controls.UIControlLocator.UIControlFinder.PlaybackThreadproc()
           at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException:

    How to resolve this issue,.. 

    Thanks in advance,

     

    sankar

    Monday, July 2, 2012 10:14 AM