jutoroa
Subscriber

tsiriaks here is the screenshot and the text.



An unexpected error has occurred: There was an error when trying to write AFD rules files


System.InvalidOperationException: There was an error when trying to write AFD rules files


 


at Ansys.Study.Proxies.AfdCore.PhysicsDataModel.RulesReaderWriter.RulesWriter.WriteRules(String controllerRootDir, String outdir, String datamodelLocation, Boolean asynch)


 


at Ansys.Study.Proxies.AfdCore.PhysicsDataModel.RulesReaderWriter.Write(String controllerRootDir, String datamodelLocation)


 


at Ansys.Study.Proxies.AfdCore.PhysicsDataModel.DataSourceUtils.DataSourceFactory.ParseRules(String& rulesdata, String& physicsdata, String& docdata)


 


at Ansys.Study.Proxies.AfdCore.PhysicsDataModel.DataSourceUtils.DataSourceFactory.MakeDataSourceAndObjectFactory[TPropertyExtender](IDataSource& dataSource, IAggregateObjectFactory& objectFactory, AggregateObjectParenting& aggregateObjectParenting, IMultiModeSyncer& syncer, IMutationManager& mutationManager, EvaluatorManager& evaluatorManager)


 


at Ansys.Study.PhysicsCoupling.PCService.MakePhysicsCouplingDataSource(IApiProvider apiProvider, ISyncSetup syncSetup, ISynchronisationMode syncMode, PropertyMapper propertyMapper)


 


at Ansys.Study.PhysicsCoupling.PCService..ctor()


 


at Ansys.Study.PhysicsCoupling.PCService.get_Instance()


 


at Ansys.Study.Proxies.PhysicsCoupling.Application.SystemCouplingEventObserver.EventSourcePersistenceStateChanging(Object sender, PersistenceActionsEventArgs e)


 


--- Ansys.Core.Events.EventPublishFailedException: There was an error when trying to write AFD rules files


 


Event:


 


at Ansys.Core.Events.EventPublishHelper.RethrowExceptions(Boolean wait)


 


at Ansys.Core.Events.EventPublishHelper.FireAsyncWait(List`1 events)


 


at Ansys.Core.Events.EventPublishHelper.FireAsyncWait(Delegate del, Object sender, EventArgs evtArg)


 


at Ansys.Core.DataModel.ProjectSystem.ProjectEventListener.Receive(IEvent eventInfo)


 


at Ansys.Core.Events.EventInvoker.Invoke()


 


--- Ansys.Core.Events.EventPublishFailedException: There was an error when trying to write AFD rules files


 


Event: Name=ProjectAboutToReplace Topic=Project Source=ResetCommand Data={}


 


at Ansys.Core.Events.EventInvoker.Invoke()


 


at Ansys.Core.Events.EventPublishHelper.InvokeInvoker(EventInvoker invoker, Boolean wait)


 


--- Ansys.Core.Events.EventPublishFailedException: There was an error when trying to write AFD rules files


 


Event:


 


at Ansys.Core.Events.EventPublishHelper.RethrowExceptions(Boolean wait)


 


at Ansys.Core.Events.EventPublishHelper.FireAsyncWait(List`1 events)


 


at Ansys.Core.Events.EventManager.FireEvent(List`1 observers, IEvent eventInfo, Boolean wait)


 


at Ansys.Core.Events.EventManager.PublishEvent(IEvent eventInfo, List`1 matchingProxies, Boolean wait)


 


at Ansys.Core.Events.EventManager.DoPublishAndWait(IEvent eventInformation)


 


at Ansys.Core.Events.EventInvoker.Invoke()


 


--- Ansys.Core.Events.EventPublishFailedException: There was an error when trying to write AFD rules files


 


Event: Name=ProjectAboutToReplace Topic=Project Source=ResetCommand Data={}


 


at Ansys.Core.Events.EventInvoker.Invoke()


 


at Ansys.Core.Events.EventPublishHelper.InvokeInvoker(EventInvoker invoker, Boolean wait)


 


--- Ansys.Core.Events.EventPublishFailedException: There was an error when trying to write AFD rules files


 


Event:


 


at Ansys.Core.Events.EventPublishHelper.RethrowExceptions(Boolean wait)


 


at Ansys.Core.Events.EventPublishHelper.FireAsyncWait(List`1 events)


 


at Ansys.Core.Events.EventManager.FireEvent(List`1 observers, IEvent eventInfo, Boolean wait)


 


at Ansys.Core.Events.EventManager.PublishEvent(IEvent eventInfo, List`1 matchingProxies, Boolean wait)


 


at Ansys.Core.Events.EventManager.DoPublishAndWait(IEvent eventInformation)


 


at Ansys.Core.Events.EventManager.PublishAndWait(IEvent eventInformation)


 


at Ansys.Core.DataModel.ProjectSystem.ResetCommand.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: There was an error when trying to write AFD rules files


 


CommandName: Reset()


 


at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)


 


at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)


 


at Ansys.Core.DataModel.ProjectSystem.ResetCommand.InvokeAndWait(IProtectedContext context)


 


at Ans.Program.Runtime.Initialize(RuntimeSettings settings)