zoukankan      html  css  js  c++  java
  • Error:Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException

    I had the same issue with AX 2012 R2 and SQL Server 2012. When I try to call the "calc" method in SalesQuotationTotals calss by business connectors ,the operation  failed with the following message on the infolog:

    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.DimensionEnabledType.constructForSystemDefinedByTableId(Int32 _viewId, String _viewLabel, Boolean ) in DimensionEnabledType.constructForSystemDefinedByTableId.xpp:line 200

       at Dynamics.Ax.Application.DimensionEnabledType.constructForSystemDefinedByTableId(Int32 _viewId)

       at Dynamics.Ax.Application.DimensionAttribute.getAttributeByHierarchyType(DimensionHierarchyType _hierarchyType) in DimensionAttribute.getAttributeByHierarchyType.xpp:line 116

       at Dynamics.Ax.Application.DimensionHierarchy.getHierarchyIdByHierarchyType(DimensionHierarchyType _hierarchyType) in DimensionHierarchy.getHierarchyIdByHierarchyType.xpp:line 88

       at Dynamics.Ax.Application.DimensionHierarchy.getSystemGeneratedHierarchyIds() in DimensionHierarchy.getSystemGeneratedHierarchyIds.xpp:line 21

       at Dynamics.Ax.Application.DimensionMetadataSetup.Loaddata() in DimensionMetadataSetup.loadData.xpp:line 9

       at Dynamics.Ax.Application.SysSetupInstaller.Writealldata() in SysSetupInstaller.writeAllData.xpp:line 19

       at Dynamics.Ax.Application.SysSetupInstaller.Run() in SysSetupInstaller.run.xpp:line 7

       at Dynamics.Ax.Application.SysSetupInstaller.loadPartitionData(Object[] _c) in SysSetupInstaller.loadPartitionData.xpp:line 3

       at SysSetupInstaller::loadPartitionData(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)


    The problem was caused by the debug settings enabled on the AOS and client configuration utilities (enable breakpoints). At this point partitions
    are not initialized, so there may be some debug asserts being hit due to debugging being enabled. You should be able to alter your AOS and client
    configurations, disabling all the breakpoint options. After doing so, restart the AOS and then perform the operation. It runs successfully!

     

    To disable the debugger on Business Connector:

    1.Click Control Panel, click Administrative Tools, and then double-click Microsoft Dynamics AX 2012 Configuration.

    2. On the Developer tab, select the check boxes in the Settings area, to disable the functionality you want.

    ◦ To disable breakpoints for user code, unselect Enable user breakpoints to debug code in the Business Connector.

    ◦ To disable global breakpoints in the Business Connector or client, unselect Enable global breakpoints to debug code running in the Business Connector or client.

    To disable the debugger on the AOS:

    1. Click Control Panel, click Administrative Tools, and then double-click Microsoft Dynamics AX 2012 Server Configuration.

    2. On the Application Object Server tab, unselect the check box labeled Enable breakpoints to debug X++ code running on this server.

     

  • 相关阅读:
    第三次博客园作业
    centos7+jdk1.8+tomcat8 配置https
    输入30个数存入数组a,求出数的每个位数的平方和存入数组b,从小到大排列后输出(C语言)
    50个[100,300]的随机数,要求用二分法查找从键盘录入的关键数字。找到回复位置,找不到回复不存在(C语言)
    产生20个随机数,在[200,400]内,其中能被5整除的存入数组array2,要求输出array2中的平均值(C语言)
    最小生成树
    PTA路径判断
    PTA构造哈夫曼树
    图的其中两种表示方式
    中序遍历树并判断是否为二叉搜索树
  • 原文地址:https://www.cnblogs.com/HlxDo/p/4582829.html
Copyright © 2011-2022 走看看