AX 2012 - Error during CIL: System.OperationCanceledException: AIF service group not activated.

Hi Readers,

Today, in this post we are going to share a solution for the below error. We got the below error while doing Full CIL.

Error:

System.OperationCanceledException: AIF service group not activated.  Service group: FinancialDimensionServices.  Error: Type 'Dynamics.Ax.Application.BudgetDimensionValidationStatusContract' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute.  Consider marking the base type 'Dynamics.Ax.Application.DimensionValidationStatusProcessor' with DataContractAttribute or SerializableAttribute, or removing them from the derived type. ---> System.Runtime.Serialization.InvalidDataContractException: Type 'Dynamics.Ax.Application.BudgetDimensionValidationStatusContract' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute.  Consider marking the base type 'Dynamics.Ax.Application.DimensionValidationStatusProcessor' with DataContractAttribute or SerializableAttribute, or removing them from the derived type.

   at System.Runtime.Serialization.ClassDataContract.ClassDataContractCriticalHelper..ctor(Type type)

   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.CreateDataContract(Int32 id, RuntimeTypeHandle typeHandle, Type type)

   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.GetDataContractSkipValidation(Int32 id, RuntimeTypeHandle typeHandle, Type type)

   at System.Runtime.Serialization.XsdDataContractExporter.GetSchemaTypeName(Type type)

   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter..ctor(OperationDescription description, DataContractFormatAttribute dataContractFormatAttribute, DataContractSerializerOperationBehavior serializerFactory)

   at System.ServiceModel.Description.DataContractSerializerOperationBehavior.GetFormatter(OperationDescription operation, Boolean& formatRequest, Boolean& formatReply, Boolean isProxy)

   at System.ServiceModel.Description.DataContractSerializerOperationBehavior.System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(OperationDescription description, DispatchOperation dispatch)

   at System.ServiceModel.Description.DispatcherBuilder.BindOperations(ContractDescription contract, ClientRuntime proxy, DispatchRuntime dispatch)

   at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)

   at System.ServiceModel.ServiceHostBase.InitializeRuntime()

   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)

   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

   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)

Solution:

1. Go to System Administrator >> Setup >> Services and Application Integration Framework >> Inbound Ports.
2. Check the above error with Inbound Ports services, without proper investigation please don't activate the services.


3. After investigation click on 'Activate' or 'Retry activate' button to run the service like below image.


4. Please run the Full CIL again, you should not get any error now.


Comment below if this solution works for your...

Author:
Chirag Gupta
Microsoft Dynamics 365 AX Technical Consultant at IBM Bangalore

Date:
21-Sep-2019

Happy Learning !!

Comments

  1. Hello Guys, Use this online converter for your file converting to other files;

    Unique Converter

    ReplyDelete
  2. Ax 2012 - Error During Cil: System.Operationcanceledexception: Aif Service Group Not Activated. >>>>> Download Now

    >>>>> Download Full

    Ax 2012 - Error During Cil: System.Operationcanceledexception: Aif Service Group Not Activated. >>>>> Download LINK

    >>>>> Download Now

    Ax 2012 - Error During Cil: System.Operationcanceledexception: Aif Service Group Not Activated. >>>>> Download Full

    >>>>> Download LINK 2v

    ReplyDelete

Post a Comment

Popular posts from this blog

[Solved] : Error: String or binary data would be truncated. Cannot execute a data definition language command on Vendor (VendLedgerReconciliationTmp)

AX 2012 - Command prompt compilation / AxBuild.exe for Parallel Compile on AOS of X++ to P-code / Parallel Compilation

AX 2012 - How to send SSRS report in email as an attachment using X++

AX 2012 - How to stop AOS when services got stuck at stopping status

AX 2012 - How to make a form field mandatory

Error: There was no endpoint listening at net.tcp://your_server_name:8201/Dynamics AX/Services…

Fetch vendor address using X++ in AX 2012

AX 2012 - How to print current date and time on SSRS Report

[Error] - Error in unit of amount in currency KES. Must be rounded to 0.01 | The unit of 37.563.5343100000000000 KES being posted to account 32710001-- is outside the current penny rounding threshold | Posting has been canceled

[Solved] : AX 2012 - No connection could be made because the target machine actively refused it 192.168.10.249:8201