Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error when upgrade AX 2012 R3 CU9 to CU10

(0) ShareShare
ReportReport
Posted on by 4,917

Hi all,


I have AX 2012 R3 CU9 and i use axupdate.exe to upgrade to CU10.

Kernel version and Application vrsion is not the same :

Kernel version : 6.3.3000.111

Application version : 6.3.3000.110

3580.03.PNG

In Software Update checklist when i Compile into .NET Framework CIL i have this error :

the inbound port is not starter

6204.01.PNG

Faulted: 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 appealed. ---> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomChartAxis' from assembly 'Dynamics.Ax.Application, Version = 6.3.3000.110, Culture = neutral, PublicKeyToken = null'.

   to Microsoft.Dynamics.Ax.Services.ServiceHelper.GetKnownTypes (ICustomAttributeProvider provider)

   --- End trace of inner exception stack ---

   to System.RuntimeMethodHandle.InvokeMethod (Object target, Object [] arguments, Signature sig, Boolean constructor)

   to System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal (Object obj, Object [] parameters, Object [] arguments)

   to System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture)

   to System.ServiceModel.Description.TypeLoader.GetKnownTypes (Object [] knownTypeAttributes, ICustomAttributeProvider provider)

   at System.ServiceModel.Description.TypeLoader.UpdateOperationsWithInterfaceAttributes(ContractDescription contractDesc, ContractReflectionInfo reflectionInfo)

   to System.ServiceModel.Description.TypeLoader.LoadContractDescriptionHelper (Type contractType, serviceType Type, Object serviceImplementation)

   to System.ServiceModel.Description.ContractDescription.GetContract (contractType Type, Type serviceType)

   to System.ServiceModel.ServiceHost.CreateDescription (IDictionary`2 & implementedContracts)

   to System.ServiceModel.ServiceHostBase.InitializeDescription (UriSchemeKeyedCollection baseAddresses)

   to System.ServiceModel.ServiceHost..ctor (Type serviceType, Uri [] baseAddresses)

   Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices to (String serviceGroupName)

   --- End trace of inner exception stack ---

   to Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices (String serviceGroupName)

   to Microsoft.Dynamics.Ax.Services.AifHelper.PublishAllServiceGroups (Dictionary`2 faultedServices)

Also for Port DocumentHandling, ExpenseServices, SysWindowsAppApprovalsServices and TimesheetServices the same error.


also when i run Presynchronize i have this error :

4555.02.PNG

Module : ReleaseUpdateDB63_HRMMinor

Method name : allowDupIndex

Description : Disable the index

System.NullReferenceException: Object reference not set to an instance of an object.

    Dynamics.Ax.Application.ReleaseUpdateExecute.Run to () in ReleaseUpdateExecute.run.xpp: line 36

    to Dynamics.Ax.Application.BatchRun.runJobStaticCode (Int64 BatchID) in BatchRun.runJobStaticCode.xpp: line 54

    to Dynamics.Ax.Application.BatchRun.runJobStatic (Int64 BatchID) in BatchRun.runJobStatic.xpp: line 13

    to Batchrun :: runJobStatic (Object [])

    to Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall (Type type MethodName String, Object [] parameters)

    to BatchIL.taskThreadEntry (Object threadArg)



Any help pls.....

Regards,

*This post is locked for comments

  • RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi drameshcbe,

    I am also facing same issue for all services mentioned by you. After full compilation of application, above mentioned ports goes into error state. I have to manually Deactivate it individually and after full CIL, again activate it.

    Did you get any solution on it?

    Thanks in advance

  • Nirvana115 Profile Picture
    Nirvana115 4,917 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi drameshcbe,

    I did not find the solution.

    Regards,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi Nirvana,

     

    I too facing the same issue did u got the solution for this ? I did full compile and got "0" errors . if i put full CIL Approval service, timesheet service expense service are not activated. if you know the solution kindly share it. 

  • Nirvana115 Profile Picture
    Nirvana115 4,917 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi,

    the error is related to company account DAT :

    2678.Capture.PNG

    I want to synchronize tje databse.

    Regards,

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    It will be hard to give some more suggestions without having the full details of this environment. Probably you can try to synchronize the database first and then try to continue the actions for compilation and then the checklist.

  • Nirvana115 Profile Picture
    Nirvana115 4,917 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    hi,

    I have on partion the initial partition.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi,

    If you go to the partitions form in the System administration menu, you can first check it more than one partition exists. If not you don't have to check other partitions. If there are more partitions, you need to verify which user(s) are setup in other partitions. This can be checked in the UserInfo table on the SQL database directly.

  • Nirvana115 Profile Picture
    Nirvana115 4,917 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi André,

    This is a customer environment (Test).

    How to check that all partiton have a valid user ?

    I have on partion the initial partition.

    Regards,

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi Nirvana,

    As there is also that upgrade job, there might be something hanging. Is this a demo environment or a customer environment? Can you check if there is a valid admin user in all partitions?

  • Nirvana115 Profile Picture
    Nirvana115 4,917 on at
    RE: Error when upgrade AX 2012 R3 CU9 to CU10

    Hi André,

    yes I do x++ code compilation ad the full cil and i restart the AOS but i have the same error.

    Also i delete the files in folder XppIL restart AOS, x++ compilation , full CIL compile but i have the same error.

    regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans