Ansys Products

Ansys Products

Meshing Module is not opening

    • NAVEEDUR RAHMAN
      Subscriber

      Hi, Im  facing an error, at first for me spaceclaim was working properly after finishing with the geometry  i tried opeing mesh i got an error"Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.", so reinstalled ansys again and tried opeing mesh separately then also i’m geting the same error, I’m using ansys student version Ansys 2022 R2.  can someone help me.

      I found out someone had the same problem before, in that post someone asked that persons to,do following process,

      I flowed that procedure and found this error

      CoreEvent:

      Event log opened 27-10-2022 6.24.08 PM India Standard Time
       
      Product version: 2022 R2
      Build version: 22.2.0.2022051318
       
      {27-10-2022 6.24.23 PM} [ExcelNotInstalled:AddinLoad] Microsoft Office Excel application has not been detected as installed. The Microsoft Office Excel system is not available.
       
      {27-10-2022 6.24.58 PM} [ProjectReplaced:Project] A new project has been created.
       
      {27-10-2022 6.27.48 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.51.59 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.55.25 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.56.50 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh 1")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 7.06.55 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 7.09.41 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
      UIEvents:
      Event log opened 27-10-2022 6.24.13 PM India Standard Time
       
      Product version: 2022 R2
      Build version: 22.2.0.2022051318
       
      {27-10-2022 6.25.00 PM} [ExcelNotInstalled:AddinLoad] Microsoft Office Excel application has not been detected as installed. The Microsoft Office Excel system is not available.
       
      {27-10-2022 6.27.48 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.27.49 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.51.59 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.51.59 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.55.25 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.55.25 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.56.50 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh 1")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 6.56.50 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh 1")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 7.06.55 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 7.06.55 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 7.09.41 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      {27-10-2022 7.09.41 PM} [Ansys.Core.Commands.CommandFailedException:Message] Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       
      Server stack trace: 
         at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
         at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
         at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
         at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
         at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.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 Ans.Meshing.RemoteItf.IMeshingHelper.WaitForRemotingInitialization()
         at Ansys.Addins.Infrastructure.Remoting.RemotingApiHelper.FatalApiMethodInvalidOperationException(String message, RemotingApiMethod callback)
      --- Ansys.Core.Commands.UserReadableFailureException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Error while waiting for Meshing initialization to complete. Either the application crashed or Workbench lost communication with it.
      CommandName: Meshing.EditModel(Container="Mesh")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Meshing.Core.Commands.EditModel.InvokeAndWait(IProtectedContext context, DataContainerReference Container, Boolean Interactive)
         at Ansys.Meshing.GUI.EditModel.Invoke(GuiOperationContext context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
       
      Can someone please help me rectify this error
    • George Karnos
      Ansys Employee

      Can you try running with your firewall shut down as a test?
      Also, virus scanner..Cloudstrike, McAfee...etc

Viewing 1 reply thread
  • You must be logged in to reply to this topic.