Hello,
I’m having a problem compiling and saving a customised report from Visual Studio to the AOT.
Facts:
-
Report InventTransferShip
-
If I compile and save the original report it works fine
-
When I try to compile and save our customization it gives me a FatalErrorException saying it cannot connect to the AOS
-
All the other reports work fine
-
This report doesn’t work from any machine
-
The same report in another environment it works nice
I imagine there’s something wrong but what? Where can I find more information about the error?
When previewing it gives me this error:
Errore 1 Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.SessionException: L’operazione non è riuscita a causa di un problema di connessione all’AOT. La connessione è stata ripristinata. È necessario eseguire nuovamente l’ultima operazione. —> Microsoft.VisualStudio.Modeling.ModelingException: L’operazione non è riuscita a causa di un problema di connessione all’AOT. La connessione è stata ripristinata. È necessario eseguire nuovamente l’ultima operazione. —> Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.SessionException: L’operazione non è riuscita a causa di un problema di connessione all’AOT. La connessione è stata ripristinata. È necessario eseguire nuovamente l’ultima operazione. —> Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.FatalSessionException: Adapter oggetto Dynamics Call non riuscito. —> Microsoft.Dynamics.AX.ManagedInterop.LogonFailedException
in Microsoft.Dynamics.AX.ManagedInterop.TranslateRPCErrorForCurrentThread(IAxSession* pAxSession)
in Microsoft.Dynamics.AX.ManagedInterop.Object.CallWithReturnType(String methodName, Type returnType, Object[] paramList)
in Microsoft.Dynamics.AX.ManagedInterop.Object.Call(String methodName)
in Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName)
— Fine della traccia dello stack dell’eccezione interna —
in Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.HandleException(String message, Exception exception, HandleExceptionCallback callback)
in Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsBase.HandleExceptionInternal(String message, Exception e)
in Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName)
in Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Microsoft.Dynamics.Framework.BusinessConnector.Adapter.IAxaptaObjectAdapter.Call(String methodName)
in Microsoft.Dynamics.Framework.BusinessConnector.Proxy.TreeNode.AOTsave()
in Microsoft.Dynamics.Framework.Design.Modeling.Interop.TreeNodeAdapter.b__9()
in Microsoft.Dynamics.Framework.Design.Modeling.Interop.TreeNodeOperationExecuter.<>c__DisplayClass1.b__0()
in Microsoft.Dynamics.Framework.BusinessConnector.OperationExecuter.Execute[T](Collection1 messages, Func
1 nodeAction)
— Fine della traccia dello stack dell’eccezione interna —
in Microsoft.Dynamics.Framework.BusinessConnector.OperationExecuter.Execute[T](Collection1 messages, Func
1 nodeAction)
in Microsoft.Dynamics.Framework.Design.Modeling.Interop.TreeNodeOperationExecuter.Execute[T](ITaskLogger logger, Func1 nodeAction) --- Fine della traccia dello stack dell'eccezione interna --- --- Fine della traccia dello stack dell'eccezione interna --- in Microsoft.Dynamics.Framework.Design.Modeling.Interop.TreeNodeOperationExecuter.Execute[T](ITaskLogger logger, Func
1 nodeAction)
in Microsoft.Dynamics.Framework.Design.Modeling.Interop.TreeNodeOperationExecuter.Execute(ITaskLogger logger, Action nodeAction)
in Microsoft.Dynamics.Framework.Design.Modeling.Interop.TreeNodeAdapter.SaveInternal()
in Microsoft.Dynamics.Framework.Design.Modeling.Interop.ResourceTreeNodeAdapter.SaveInternal()
in Microsoft.Dynamics.Framework.Design.Model.Reports.ReportAdapter.SaveInternal()
in Microsoft.Dynamics.Framework.Design.Model.Reports.DataMethodSynchronizerHelper.SynchronizeExistingDataMethods(ModelValidationContext context, ReportDefinition report, List1 assemblyDataMethods) in Microsoft.Dynamics.Framework.Design.Model.Reports.DataMethodConstraint.ValidateDataMethods(ModelValidationContext context, ReportDefinition report) in Microsoft.Dynamics.Framework.Design.Model.Reports.ReportConstraint.Validate(ModelValidationContext context, ReportDefinition element) in Microsoft.Dynamics.Framework.Design.Model.GenericConstraint
1.Validate(ModelElement modelElement, ModelValidationContext context)
in Microsoft.Dynamics.Framework.Design.Model.ModelValidationEngine.Validate(ModelElement modelElement, ModelValidationContext context) \SSRS Reports\Reports\InventTransferShip 0 0 SEM_ReportInventTransferShip_RITS