web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

General Ledger journal validate button error

(0) ShareShare
ReportReport
Posted on by

Hi all,

I'm getting the below error, when i tried to do the general ledger journal validate error in ax 2012. Kindly help me to resolve this specific error. 

Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.callReturn(Int32 rc, interpret* ip)
at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.CallStatic(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes)
at Microsoft.Dynamics.Ax.Xpp.XppObjectBase.StaticCall(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs)
at Dynamics.Ax.Application.Debug.assert(Boolean expression)
at Dynamics.Ax.Application.DimensionDefaultingService.applyFixedDimensions(Object[] _parms) in DimensionDefaultingService.applyFixedDimensions.xpp:line 43
at DimensionDefaultingService::applyFixedDimensions(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at SysDictClass::invokeStaticMethod(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

Regards,

Zahir

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Zahir,

    Do full CIL and ensure that there are no errors in your objects.

  • Andres Bdz Profile Picture
    25 on at

    I have the same problem, how did you solve it?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Good Morning Andres Bdz,

    Is it possible that you open a new thread/question and provide some information about the AX version that you operate?

    Can you also share a screenprint of the original error message and let us know whether you see this issue only once or in all of your systems (dev, test, live, etc.)

    That is because this thread is almost 4 years old and your system environment might be totally different.

    Many thanks and best regards,

    Ludwig

  • Andres Bdz Profile Picture
    25 on at
    I am using ax 2012 cumulative r3, the case of the error only occurs in some of the companies not in all.
    general accounting >> newspaper >> opening transactions
    6378.error-ax.PNG

    error

    Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException' was thrown.
    at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
    at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.callReturn(Int32 rc, interpret* ip)
    at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.CallStatic(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes)
    at Microsoft.Dynamics.Ax.Xpp.XppObjectBase.StaticCall(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs)
    at Dynamics.Ax.Application.Debug.assert(Boolean expression)
    at Dynamics.Ax.Application.DimensionStorageSegment.construct(String _displayValue, Int64 _dimensionAttributeValueId, Guid _hashKey) in DimensionStorageSegment.construct.xpp:line 29
    at Dynamics.Ax.Application.LedgerTransferOpening.Getmainaccountstoragesegment(String _mainAccountId, Boolean _createIfNecessary, Boolean ) in LedgerTransferOpening.getMainAccountStorageSegment.xpp:line 20
    at Dynamics.Ax.Application.LedgerTransferOpening.Getmainaccountstoragesegment(String _mainAccountId)
    at Dynamics.Ax.Application.LedgerTransferOpening.Processquery(Int32 _transactionType, QueryRun _queryRun, Int64 _dimensionAttributeSet, LedgerParameters _ledgerParameters) in LedgerTransferOpening.processQuery.xpp:line 105
    at Dynamics.Ax.Application.LedgerTransferOpening.Run() in LedgerTransferOpening.run.xpp:line 708
    at Dynamics.Ax.Application.LedgerTransferOpening.runIL(Object[] _pack, Boolean _isPublicSectorEnabled, Boolean ) in LedgerTransferOpening.runIL.xpp:line 10
    at Dynamics.Ax.Application.LedgerTransferOpening.runIL(Object[] _pack)
    at LedgerTransferOpening::runIL(Object[] )
    at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
    at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
    at SysDictClass::invokeStaticMethod(Object[] )
    at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
    at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)
  • André Arnaud de Calavon Profile Picture
    303,446 Super User 2026 Season 1 on at

    Hi Andres,

    Did this work before correctly? Can you try to do a full x++ compilation and if this one is successful also a CIL build? After the CIL build, restart all the AOS services for this environment. If it is a production environment, you can also do this task in a copy of the environment and when successful, move the model store to the production environment and restart the AOS machines.

  • Brandon Wiese Profile Picture
    17,788 on at

    It looks like you may have a main account number that no longer exists.  

    Did you rename a main account at some point since the last time you ran opening transactions?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans