Hi All,
I am facing issues in CIL generation for the Services Approval Service, Document handling, Expense Services and Timesheet service. there is no compilation error but system throws exception while doing Full CIL or Inc. CIL operation.
i have tried to delete the XPPIL folder and truncate the table sysxppassembly and restarted the AOS. but there is no luck.
please help me resolve this issue. Because of this issue workflows are not working.
Below are the error for Approval Service Group error.
System.OperationCanceledException: AIF service group not activated. Service group: ApprovalsServices. Error: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomChartAxis' from assembly 'Dynamics.Ax.Application, Version=6.3.2000.326, Culture=neutral, PublicKeyToken=null'.
at Microsoft.Dynamics.Ax.Services.ServiceHelper.GetKnownTypes(ICustomAttributeProvider provider)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.ServiceModel.Description.TypeLoader.GetKnownTypes(Object[] knownTypeAttributes, ICustomAttributeProvider provider)
at System.ServiceModel.Description.TypeLoader.UpdateOperationsWithInterfaceAttributes(ContractDescription contractDesc, ContractReflectionInfo reflectionInfo)
at System.ServiceModel.Description.TypeLoader.LoadContractDescriptionHelper(Type contractType, Type serviceType, Object serviceImplementation)
at System.ServiceModel.Description.ContractDescription.GetContract(Type contractType, Type serviceType)
at System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts)
at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at Microsoft.Dynamics.Ax.Services.AxServiceHost..ctor(Type serviceType, String serviceGroupName, String portType, Boolean integrationEnabled, Boolean portDeployedToIIS, Boolean isXppService, ServiceElement serviceElement, Uri[] baseAddresses)
at Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices(String serviceGroupName)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices(String serviceGroupName)
at Microsoft.Dynamics.Ax.Services.AifHelper.PublishAllServiceGroups(Dictionary`2 faultedServices)