Dear all,
I upgrade AX 2012 R3 Cumulative Update 11 to 12.
Cumulative Update 12 was installed successfully.
I have restarted AOS service.
Compile application was completed successfully.
But, when compile into .NET Framework CIL, I got error
System.OperationCanceledException: AIF service group not activated.
Service group: ApprovalsServices. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomChartAxis' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
System.OperationCanceledException: AIF service group not activated.
Service group: DocumentHandling. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysWindowsAppFileDataContract' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
I checked in "Inbound Ports" and the result is below.
1. "ApprovalsServices" is not activated.
Error :
System.OperationCanceledException: AIF service group not activated.
Service group: ApprovalsServices. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomChartAxis' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
2. "DocumentHandling" is not activated.
Error :
System.OperationCanceledException: AIF service group not activated.
Service group: DocumentHandling. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysWindowsAppFileDataContract' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
3. "ExpenseServices" is not activated.
Error :
System.OperationCanceledException: AIF service group not activated.
Service group: ApprovalsServices. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomChartAxis' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
4. "SysWindowsAppApprovalsServices" is not activated.
Error :
System.OperationCanceledException: AIF service group not activated.
Service group: ApprovalsServices. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomFieldContract' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
5. "TimesheetServices" is not activated.
Error :
System.OperationCanceledException: AIF service group not activated.
Service group: ApprovalsServices. Error: Exception has been thrown by the target of an ivocation.
--> System.Reflection.TargetInvocationException: Exception has been thrown by target of an invocation.
--> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysWindowsAppFileDataContract' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
I retry activate the "ApprovalsServices" and got error :
The port "ApprovalsServices" could not be deployed.
\nError :
C:\Users\AXAOSAdmin\AppData\Local\Temp\ServiceGeneration\SysCustomSectionServiceGetSectionsRequest.cs(21,48) :
error CS0246: The type or namespace name 'SysCustomSectionContext' could not be found (are you missing a using directive or assembly reference?)
C:\Users\AXAOSAdmin\AppData\Local\Temp\ServiceGeneration\SysCustomSectionServiceGetSectionsRequest.cs(17,48) :
error CS0246: The type or namespace name 'SysCustomSection' could not be found (are you missing a using directive or assembly reference?)
C:\Users\AXAOSAdmin\AppData\Local\Temp\ServiceGeneration\SysWorkflowApprovalWorkItemServiceGetAttachmentContentResponse.cs(17,16) :
error CS0246: The type or namespace name 'SysWindowsAppFileDataContract' could not be found (are you missing a using directive or assembly reference?)
C:\Users\AXAOSAdmin\AppData\Local\Temp\ServiceGeneration\TrvExpenseReportCustomServiceGetExpenseDelegatesResponse.cs(17,48) :
error CS0246: The type or namespace name 'TrvExpenseDelegateContract' could not be found (are you missing a using directive or assembly reference?)
Please advise. Thanks in advance.
Best regards,
Johanna