Ryota Takamura
Subscriber

Hi George, thanks for the reply.

I am using Trend Micro Apex One as Anti-virus software.

I have checked the logs in it, but there's no significant message, so I doubt it as the cause of this error.

I found Workbench log file, the message was as follows.

Event log opened 2023/07/13 10:08:45 東京 (標準時)

Product version: 2022 R2
Build version: 22.2.0.2022051318

{2023/07/13 10:08:58} [ProjectReplaced:Project] A new project has been created.

{2023/07/13 10:09:31} [ProjectReplaced:Project] The project has been opened from C:\Work\2023\ansystest\test.wbpj.

{2023/07/13 10:10:27} [ProjectSaved:Project] The current project has been saved: C:\Work\2023\ansystest\test.wbpj.

{2023/07/13 10:29:50} [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: 既存の接続はリモート ホストに強制的に切断されました。

Server stack trace: 
   場所 System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   場所 System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
   場所 System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
   場所 System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
   場所 System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
   場所 System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
   場所 System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()
   場所 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   場所 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.StartMeshingEditor(ModelContainer="Mesh")
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
   at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
   at Ansys.Meshing.Core.Commands.StartMeshingEditor.InvokeAndWait(IProtectedContext context, DataContainerReference ModelContainer, Boolean IsBatchMode, Boolean RequireLicense)
   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)