Reinhard在使用AIF的时候,服务端收到如下错误提示之一,并触发InsufficientMemoryException 和ServiceActivationException异常,那么代表你服务器的可用内存过低. "Memory gates checking failed because the free memory (14618624 bytes) is less than 5% of total memory. As a result, the service will not be…
      最近,Reinhard在使用Http Adapter类型的AIF入站端口时,总是报以下错误: Server Error in '/MicrosoftDynamicsAXAif60' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please re…
    今天,Reinhard发现某个入站端口,突然一直报错: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebu…
今天调用AIF出现异常,异常信息如下 This chanel can no longer be used to send message as the output session was auto-closes due to a service-initiated shutdow.Either disable auto-close by setting the DispatchRuntime.AutomaticinputSessionShutdown to false or consider…
Reinhard在一个Customer Service里的一个Method中,发现一个Transcation RollBack Bug.先看该Method的代码: [SysEntryPointAttribute(true)] public void SomeMethod() { ttsbegin; createJournalTable; createJournalLine; ttsend; try { //throw error inside postJournalTable throw err…
    Reinhard写好自定义服务A,添加好服务操作A1,A2,A3.....     然后,Reinhard在增强的入站端口,选择服务操作时,却找不到这些A1,A2,A3.     查找相关资料后,发现,要在服务A上右键,点"登记服务".     一段等待之后,重新打开入站端口,在选择服务操作时,就能找到A1,A2,A3了.…
Dynamics AX 2012 R2 电子邮件广播错误 0x80040213 今天Reinhard在新环境做邮件广播测试时,发现无法发送邮件,并报以下错误: 类"CDO.Message"的 COM 对象中的方法"send"返回了错误代码 0x80040213 (),此错误代码表示: 与服务器的传输连接失败.. Reinhard检查了电子邮件参数里的配置,与老环境中的配置一致,并没有问题.电子邮件参数和邮件模板配置方法可以参考Reinhard之前的博文 Dynami…
今天Reinhard在VS中部署SSRS报表时,接到以下错误: 部署因错误而被取消.在报表服务器上,验证:-SQL Server Reporting Services 服务是否正在运行. 接着,Reinhard进入到AX中,检查系统的报表服务器配置是否正确.不知道怎么配置的同学可以查看Reinhard之前的博文 Dynamics AX 2012 R2 配置报表服务器  .检查发现,报表服务器中的配置也正确.Reinhard点击了一下 验证设置 按钮,收到以下错误: 无法连接到位于MSDynAX的…
当处理的数据量较多,逻辑比较复杂时,报表可能会超时.为了解决这个问题,Reinhard一直使用SrsReportDataProviderPreProcess来做预处理报表.它会在调用SSRS前,在AX会话中处理数据.预处理过的数据存储在常规表中,该表是所有用户会话共享的,通过会话id标识.这样的方法在多用户并发时,会有瓶颈. 在Dynamics AX 2012 R2中,其实还有一个类,SrsReportDataProviderPreProcessTempDB,他可以使用临时表,来持有跨会话(从数…
对路径“C:\inetpub\wwwroot3\wechat\img\qrcode\”的访问被拒绝. “/wechat”应用程序中的服务器错误. 对路径“C:\inetpub\wwwroot3\wechat\img\qrcode\”的访问被拒绝. 说明: 执行当前 Web 请求期间,出现未经处理的异常.请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息. 异常详细信息: System.UnauthorizedAccessException: 对路径“C:\inetpub\ww…