Author Archives: gatesasbait

Logging independently of transaction scope by using a separate thread in Dynamics AX (deux)

  Good evening   Michal Kupczyk from this thread on the Microsoft communities proposes a much better way to log independantly of transaction scope in Dynamics Ax than what I had originally proposed here. Instead of using a separate thread … Continue reading

Posted in Dynamics AX 2009 | Comments Off on Logging independently of transaction scope by using a separate thread in Dynamics AX (deux)

Dynamics AX 2009 SSRS and SSAS Integration Tips

  Good morning   Here’s a good list of Resources and Known Issues for SSRS report deployment and Role Centers under Enterprise Portal in AX 2009, for those with access to PartnerSource you can find the original here (link on … Continue reading

Posted in Dynamics AX 2009 | Comments Off on Dynamics AX 2009 SSRS and SSAS Integration Tips

Logging independently of transaction scope by using a separate thread in Dynamics AX

Good morning, Continuing on the topic of good ideas to palliate lazy code designs (ref: previous post on runbuf()), I wanted to discuss a possible way to write to a table from inside a TTS (between a begin and a … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Logging independently of transaction scope by using a separate thread in Dynamics AX

Basic calculator using runbuf() in Dynamics AX

Good evening, If you ever need to build a mathematical calculator in Dynamics AX, you might consider using runbuf() as basis for the code. The only critical considerations are to make sure that an attacker cannot use the calculator to … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Basic calculator using runbuf() in Dynamics AX

Microsoft New Orleans Convergence 2009

  Good evening   I’ve finally got some time to post a quick recap of Convergence 2009. New Orleans is a great city, well on its way to returning to its former self, kudos to Microsoft for hosting Convergence there. … Continue reading

Posted in Dynamics AX 2009 | Comments Off on Microsoft New Orleans Convergence 2009

Dynamics Ax 2009 SSRS report deployment under Server 2008 (deux)

  If you get the following error in the deployment log file:   The following components have not been installed or are not configured correctly: AL.exe Microsoft Domain-Specific Language Tools   This error message indicates that the following software components … Continue reading

Posted in Dynamics AX 2009 | Comments Off on Dynamics Ax 2009 SSRS report deployment under Server 2008 (deux)

Dynamics Ax 2009 SSRS report deployment under Server 2008

  If you get the following error in the deployment log file:   “Deployment failed with the following exception:System.Runtime.InteropServices.COMException (0x80040208)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObject.Initialize(Boolean getObject)   at System.Management.ManagementBaseObject.get_Properties()   at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)   at Microsoft.Dynamics.Framework.Deployment.Reports.SrsWmi.get_ConfigPath()   at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.DeployBusinessLogicAssemblies(IEnumerable`1 businessLogicAssemblies, DeploymentLogger logger)   … Continue reading

Posted in Dynamics AX 2009 | Comments Off on Dynamics Ax 2009 SSRS report deployment under Server 2008

AP Posting fails because of security setup in Dynamics Ax 4

Good afternoon During an AX implementation, I’ve noticed that when doing security setup of user groups and permissions, it is important to have the ‘Tables’ node (in AP for example) set to full control for anyone doing AP postings. Starting from … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on AP Posting fails because of security setup in Dynamics Ax 4

How to temporarily suppress infolog messages in Dynamics Ax (deux)

  Good afternoon,   My previous post on the topic was flawed. Here’s a better solution when you want a section of code not to report to the infolog, but still want previous messages to be shown at the end … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on How to temporarily suppress infolog messages in Dynamics Ax (deux)

Exception::Break in X++ while loop

  Good morning   I noticed something interesting yesterday. When breaking execution while running a loop (by pressing ctrl-break) an Exception::Break is thrown if ‘Yes’ is clicked on the resulting break prompt. Sometimes even if the exception is caught, the … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Exception::Break in X++ while loop