Ax 2012 upgrade

This question has suggested answer(s)

I am upgrading from ax 2009 to ax 2012  cu7 with 4 new partitions, In Lanuch data upgrade(bulk copy) i get an error in task "Transfer number sequence framework tables."

The error msg says "

Error Message (14:23:57) System.MethodAccessException: Attempt by method 'Dynamics.Ax.Application.NumberSeqModuleRCash.Loadmodule()' to access method 'Dynamics.Ax.Application.NumberSeqDatatype.Parmdatatypeid(Int32, Boolean)' failed.

  at Dynamics.Ax.Application.NumberSeqModuleRCash.Loadmodule() in NumberSeqModuleRCash.loadModule.xpp:line 11

  at Dynamics.Ax.Application.NumberSeqApplicationModule.Load() in NumberSeqApplicationModule.load.xpp:line 11

  at Dynamics.Ax.Application.NumberSeqApplicationModule.loadAll() in NumberSeqApplicationModule.loadAll.xpp:line 60

  at Dynamics.Ax.Application.ReleaseUpdateDB60_Basic.Upgradenumbersequencetables(Boolean _remapEdts, Boolean ) in ReleaseUpdateDB60_Basic.upgradeNumberSequenceTables.xpp:line 103

  at Dynamics.Ax.Application.ReleaseUpdateDB60_Basic.Upgradenumbersequencetables(Boolean _remapEdts)

  at Dynamics.Ax.Application.ReleaseUpdateDB60_Basic.Updatenumbersequenceframeworkpostsync() in ReleaseUpdateDB60_Basic.updateNumberSequenceFrameworkPostSync.xpp:line 38

  at ReleaseUpdateDB60_Basic::updateNumberSequenceFrameworkPostSync(Object , Object[] )

  at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)

  at Dynamics.Ax.Application.SysDictClass.invokeObjectMethod(XppObjectBase _object, String _methodName, Boolean _tryBaseClass, Boolean ) in SysDictClass.invokeObjectMethod.xpp:line 42

  at Dynamics.Ax.Application.SysDictClass.invokeObjectMethod(XppObjectBase _object, String _methodName, Boolean _tryBaseClass)

  at Dynamics.Ax.Application.ReleaseUpdateDB.Run(String methodName, sysReleasedVersion scriptVersion, Boolean force) in ReleaseUpdateDB.run.xpp:line 52

  at Dynamics.Ax.Application.ReleaseUpdateExecute.Run() in ReleaseUpdateExecute.run.xpp:line 37

  at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54

  at Dynamics.Ax.Application.BatchRun.runJobStaticWrapper(Object[] _args) in BatchRun.runJobStaticWrapper.xpp:line 15

  at BatchRun::runJobStaticWrapper(Object[] )

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

  at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runas(String userId, Int32 classId, String staticMethodName, Object[] parms, String company, String language, String partitionKey)

  at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 21

  at BatchRun::runJobStatic(Object[] )

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

  at BatchIL.taskThreadEntry(Object threadArg)

Has any one come across this issue?

All Replies
  • did you pass the checks in AX 2009 correctly?

  • yes Dick,

    i checked the below tables  in 2012 they have values DEL_NumberSequenceTable,DEL_NumberSequenceGroup,DEL_NumberSequenceGroupRef,DEL_NumberSequenceReference, DEL_NumberSequenceHistory,DEL_NumberSequenceList,DEL_NumberSequenceTTS

  • was the mapping also correct, table with errors are skipped

    also check

    Company mapping to legal entities in table Ledger is still wrong filled during conversion,

  • There are field mapping errors, but not related to number sequence tables... Also the exception thorwed is

    MethodAccessException

  • it seems to be some Access issue.

    I believe you must be running upgrade process as administrator

    You must run the upgrade process in DAT company

    one this you should check if all the License Configuration Key is enabled

    and I hope you have appropriate License.

    Please verify


    Please update with your feedback.

    If this post helps you, Please verify this answer and earn Thank you Badge for yourself (Follow this link for more details https://community.dynamics.com/braggerbadges/badge/48.aspx)

    Regards, NITESH RANAJN (PMP) | Dynamics AX Consultant

  • generating full cil code again helped..