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.

Error:Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException

时间: 2024-08-07 08:47:15

Error:Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException的相关文章

从 Microsoft Dynamics CRM 4.0 服务器迁移到 Microsoft Dynamics CRM 2013 Server

不能就地升级早于 Microsoft Dynamics CRM Server 2011 的版本,比如 Microsoft Dynamics CRM 4.0 服务器.但是,可以在升级过程中使用 Microsoft Dynamics CRM Server 2011 的试用版 32 位版作为过渡步骤,将 Microsoft Dynamics CRM 4.0 部署升级为 Microsoft Dynamics CRM 2013.若要将本的 Microsoft Dynamics CRM 4.0 服务器 迁移

从 Microsoft Dynamics CRM 4.0 server迁移到 Microsoft Dynamics CRM 2013 Server

不能就地升级早于 Microsoft Dynamics CRM Server 2011 的版本号,比方 Microsoft Dynamics CRM 4.0 server.可是,能够在升级过程中使用 Microsoft Dynamics CRM Server 2011 的试用版 32 位版作为过渡步骤.将 Microsoft Dynamics CRM 4.0 部署升级为 Microsoft Dynamics CRM 2013.若要将本的 Microsoft Dynamics CRM 4.0 se

VS2008编译错误:error C2065: 'PMIB_TCPSTATS' : undeclared identifier c:\program files (x86)\microsoft sdks\windows\v7.0a\include\iphlpapi.h 411

安装了VS2008编译之前的程序,结果出现了编译错误,以为是VS2008的Sp1补丁没装好,重装补丁后还是不行,编译错误如下: 双击错误会定位在iphlpapi.h中, 一个可行的解决办法是:把iphlpapi.h文件的line386---line421 都注释掉了: 然后再尝试编译,编译成功,运行也没有问题. 看起来,这几行代码不会影响程序运行. VS2008编译错误:error C2065: 'PMIB_TCPSTATS' : undeclared identifier c:\program

SQL调用存储过程错误Internal error when parsing callable statement metadata (missing parameter type)

[6 Apr 2005 15:29] Chadwick Baatz Description: When calling a stored procedure with datatype Decimal(m,d) (i.e. Decimal(18,0)) the Connector/J library throws the exception below. After looking into the code it appears that the getCallStmtParameterTyp

(C# Debug)A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll

Debug 模式下运行程序的时候,Output 窗口出来个错误“A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll”. 但是并没有直接throw错误.无法知道具体在哪一步发生了这个错误. 如果想知道具体的内容,需要enable 这个debug If you do want to know, in Visual Studio -> Debug (main menu) ->

IOS Exception 1(libc++abi.dylib: terminating with uncaught exception of type NSException)

2014-08-05 22:18:46.455 SwiftUI[1329:40871] -[_TtC7SwiftUI14MViewControler clickMe]: unrecognized selector sent to instance 0x10ea15dc0 2014-08-05 22:18:46.458 SwiftUI[1329:40871] *** Terminating app due to uncaught exception 'NSInvalidArgumentExcept

找不到从属程序集 Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"

“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\webservice\396619ef\64fa1a2a\assembly\dl3\d8aa258e\ea6ee7cd_64f0d001\System.Data.SQLite.dll”的激活上下文生成失败. 找不到从属程序集 Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken

错误代码报错--terminating with uncaught exception of type NSException (lldb)

问题描述:在做搜索栏实验的时候,一点击搜索按钮就停止运行 还有报错代码是: 0x000000010b801145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) singnal SIGABRT 0x109d60580:  movq   0xb53449(%rip), %rax      ; (void *)0x000000010b8f3070: __stack_

这台计算机上缺少此项目引用的 NuGet 程序包-缺少的文件是 ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props

异常处理汇总-开发工具  http://www.cnblogs.com/dunitian/p/4522988.html 协助开发里面总有几个是极简爱好者,但是呢删了不该删的就会影响项目开发,下面看下完整错误信息: 这台计算机上缺少此项目引用的 NuGet 程序包.使用“NuGet 程序包还原”可下载这些程序包.有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105.缺少的文件是 ..\packages\Microsoft.CodeDom.