real solutions for real problems
Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » X++   (RSS)

Using the DLLFunction kernel class on a 64bit Dynamics AX 2009 AOS

One of the nice features added with Dynamics AX 2009 is the support for 64bit (x64) for the Dynamics AX 2009 Application Object Server and the Dynamics AX 2009 .NET Business Connector. However when you have some existing X++ that you are now migrating
Posted by EMEAAXTec | 0 Comments
Filed under: , , ,

How to fix SQL error: "Too many parameters were provided in this RPC request"

Recently we were confronted with a case where we received the following SQL error: [Microsoft][SQL Native Client][SQL Server]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided
Posted by EMEAAXTec | 0 Comments
Filed under: , , ,

How to set the number sequence for Global Address Book when virtual companies are used

In global address book parameters a number sequence and a company must be selected to use for Global Address Book (GAB) entries. In our scenario we have 70 companies. We do not have a single company which ALL users have access to, so it seems we cannot
Posted by EMEAAXTec | 0 Comments
Filed under: , ,

License issue when customizing Gantt controls

When using Gantt charts from any module it works fine, but when trying to edit it from the AOT the following error occurs: (e.g. when opening AOT/Forms/SmaDispatchBoard/Designs/Design/ and right click/edit) The licensing has failed! Please contact Netronic
Posted by EMEAAXTec | 0 Comments
Filed under: , ,

Problems when trying to update a certain field with AIF

Recently I tried to setup AIF in standard AX 2009. The purpose was to send service orders electronically with AIF, in XML-format and sending it back to AX in order to update the field StageId of the specific service order. I had managed to send the service
Posted by EMEAAXTec | 0 Comments
Filed under: , , ,

Tips & Tricks around debugging X++ code in Dynamics AX

When you are developing X++ code for Dynamics AX over the time you will for sure run into a situation where the below Tips & Tricks can make your debugging live easier. The information are no secrets it is just hard finding them the very first time
Posted by EMEAAXTec | 3 Comments
Filed under: , ,

Certain Web Forms show no data in Dynamics AX 2009 Enterprise Portal

When you are developing new Enterprise Portal content in Dynamics AX 2009 you should rather create new ASP.NET User Controls in Visual Studio 2008 (stored in the Web Controls in the AOT) than new Web Forms. Never the less Web Forms are still supported

About locking and blocking in Dynamics AX and how to prevent it

The locking of records is necessary to ensure transactions are processed accurately and with a high level of concurrency. Unfortunately the more records are locked the higher is the chance other transactoins are getting blocked resulting in peformance

How to print query information on reports with generated design

A report is made in generated design. When printing this report it is not possible to print query information as such an option (ie print options) does not exists for generated designed report. It exists only for auto designed report. This means that
Posted by EMEAAXTec | 0 Comments

"No Device" error message on client start

Recently I wanted to avoid that the infolog pops-up with several 'No Device' error messages when opening the AX client with ConfigKey Telephony Integration enabled. This error message is caused by the ActiveX component for the phone integration on form
Posted by EMEAAXTec | 0 Comments
Filed under: , , , ,

Error executing code: Insufficient memory to run script

In Dynamics AX 4.0 or Dynamics AX 2009 it can happen that a lengthy operation terminates with the following error message in the InfoLog: Error executing code: Insufficient memory to run script. A typical example that can result in this error message
Posted by EMEAAXTec | 0 Comments
Filed under: , , , , , ,

XML parser namespace error

You are using Microsoft Dynamics AX to create an XML Document. The code you are using to create the XML file was created for the previous version of the product and is now upgraded to Microsoft Dynamics AX 4.0 SP1. Using the method setAttribute('namespaceprefix:attribname','attribvalue');
Posted by EMEAAXTec | 0 Comments
Filed under: , , ,

Enterprise portal cannot save file to another server

We are calling AX code from Enterprise Portal that uses WinApi::CopyFile method. When we run EP from a browser window that is running on the same machine as Business Connector and IIS, the code works. If we run EP from a browser window running on a local

Error when executing direct SQL - SqlStatementExecutePermission

Sometimes it happens that you receive an error message if you have tried to execute a native SQL statement. The reason for this is that the request for the permission of type ' SqlStatementExecutePermission ' failed. (S)\Classes\SqlStatementExecutePermission\demand
Posted by EMEAAXTec | 0 Comments
Filed under: , ,

How can you disable copying from using CTRL + C

How can you disable copying from form using CTRL + C or menu (Edit -> Copy)? It's quite easy! On the form you can override copy() method in following way: public boolean copy() { ; WinApi::emptyclipboard(); return true; }
Posted by EMEAAXTec | 4 Comments
Filed under: , ,
More Posts Next page »
 
Page view tracker