Browse by Tags

Tagged Content List
  • Blog Post: Memory leaks and profiling with .Net

    I wrote some moths ago an article about the GC and highlighted some particularities (unsafe and unmanaged code, disposing and finalizing, etc). When you are developing with .Net you will be sometimes faced to memory or resource leaks. Especially if you are using the BC.Net, since the BC.Net is using...
  • Blog Post: Importing Leads and Contacts

    You can find a very good description on our team blog (EMEA Dynamics AX Support) how to import leads and contact Xml files with Dynamics Ax 2009 here . The problem you will be faced by using this is, that you can’t import data with non Ascii characters, which might cause some difficulties. The reason...
  • Blog Post: Template Wizard does create SheetNames with more than 30 characters

    The Template Wizard (Administration/Periodic/Data export/import/Excel spreadsheets/Template Wizard) creates unfortunately SheetNames that might exceed 30 characters, which is not allowed by Excel and results in annoying message boxes that are requesting a new SheetName with less than 31 characters. The...
  • Blog Post: Large Xml-documents with an AIF-WebService.

    If you are faced to 'large' Xml-documents with AIF-WebServices, you might be faced to difficulties for Inbound and OutBound services. The following two points should be applied for the client app.config, if the client uses the WCF for communicating with the AIF-WebService (Inbound-Services - you are...
  • Blog Post: ‘0’-values don’t appear in Xml files generated by the AIF

    Numeric values that are 0 (not null) are not serialized and don't appear in the Xml file. The reason for this is, that the numeric types in Dynamics Ax are not nullable (must have a value) and do interpret the value 0 as a "null value" (0 as a ‘ magic number ’) during the serialization. The...
  • Blog Post: Request for the permission of type 'SecurityPermission' failed

    When you get the following exception while executing a report on the SSRS or within Ax: System.Security.SecurityException was unhandled Message=" Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089...
  • Blog Post: base64Encode() of the kernel class ‘Image’ does return an empty string

    A partner asked me why the base64Encode method of the Image class does always return an empty string. In the following example: 1: Image image; 2: str sBase64Encode; 3: ; 4: image = new Image(); 5: image.loadImage(@ 'C:\sample.bmp' ); 6:   7: sBase64Encode = image.base64Encode...
  • Blog Post: Gender information in Employees-form and the Global Address Book (GAB)

    You can open the information about employees with the Global Address Book (Basic/Global Address Book) and with the Employees form (Basic/Employees). Normally it is no problem to modify data in both forms, but unfortunately this is not true for the ‘gender’ property . This information is stored in...
  • Blog Post: IDynamicsAXExpressionBuilder returned error code 0x80131509

    In forms that are using the ActiveX-control ExpressionBuilder (like TrvPolicyForm) you might be faced to the following error message: Method 'initialize' in COM object of class 'IDynamicsAXExpressionBuilder' returned error code 0x80131509 (<unknown>) which means: End enum not found. This...
  • Blog Post: Deploying service references with Dynamics Ax 2009

    Service references are are great feature in Dynamics Ax 2009 and using WCF with Ax is now really easy. But unfortunately it is not easy to deploy this service reference. If you now need to deploy a service reference from the development environment to the evaluation environment, or from the evaluation...
  • Blog Post: RPC error 1702 when calling a WinAPI method from a batch job

    You probably already noticed that error messages are sometimes not really helpful when you are trying to understand a problem. The following code creates such misleading error message: 1: public void run() 2: { 3: ; 4: if (WinApi::folderExists( @"c:\temp\")) 5: info("Folder exists...
  • Blog Post: AxUpdatePortal Utility

    I just want to remind the existence of this nice little tool , which is be very useful for any deployment or redeployment of your WebParts and EP-sites. Basically it is a simple .Net command-line executable which calls the same method as the AxSetup does during the installation of Ax 2009: EPReturnCodes...
  • Blog Post: Why some Web services can’t be consumed ‘as is’ by referenced services in Ax 2009

    Referenced services in Ax2009 are based on the .Net technology WCF and so it was for me pretty much clear, that it would be easy to integrate Microsoft's MapPoint services, since they are ‘simple’ standard web services. Unfortunately I was wrong. Referenced Services in Ax2009 two limitations (until now...
  • Blog Post: Ax4 + SSAS 2005 - troubleshooting

    Normally this is combination isn’t a problem – if you did everything fine directly from the beginning. If not, this could cost you quite a little time to make this working. First you must follow the pre requirements that are listed on this link for SSAS 2005 . When configuring Ax for OLAP, the server...
  • Blog Post: .Net 3.5 SP1 with Ax2009

    Unfortunately Ax2009 does create in conjunction with the .Net 3.5 SP1 the following exception: A ProgressTemplate must be specified on UpdateProgress control with ID ‘id’. This will be fixed very soon. Until then, please just don’t install the SP1 on your Ax2009 server or if you already did...
  • Blog Post: Making suggestions for Dynamics Ax

    As a Microsoft Dynamics partner you have the possibility on PartnerSource to log or vote for product suggestions and to vote for defects that have been logged by Microsoft support engineers ( here ). I added one suggestion on 28/05/2008 which might you give an idea of this service - if you don’t already...
  • Blog Post: Problems with the COM-Wrapper Wizard

    I recently got the following strange error-message during the execution of the COM-wrapper wizard: "Method 'Item' in COM-object for class 'Interfaces' returned error code 0x800A0009 (<unknown>) which means: <unknown>" Debugging the wizard, I recognized that at the origin of this...
  • Blog Post: PDF with Dynamics Ax

    As you already know, Microsoft Dynamics Ax does offer a native PDF support which works fine in most cases. The code for this has been written in X++. Unfortunately this might cause some performance problems for large PDF-documents, since X++ is an interpreted language and does not support very well multithreading...
  • Blog Post: Troubleshooting a simple BC.Net application

    Here's a simple checklist if you have problems to connect to the AOS (Dynamics Ax 4) with the BC.Net. Your code might look like this: 1: Microsoft.Dynamics.BusinessConnectorNet.Axapta ax; 2: string configuration = " C:\\Sample.axc " ; //see step 3 3: 4: ax = new Microsoft.Dynamics.BusinessConnectorNet...
  • Blog Post: Printer friendly with Enterprise Portal (EP)

    Having a printer friendly view seems to me a quite basic feature, but unfortunately this isn't the case for the EP. Fortunately the guys from Eggheadcafe had a great idea which permits you to create a printer friendly view with ease. (Thank you for that!) Here's my version for the EP: Just add a ...
  • Blog Post: Phantom CLR-objects with X++

    Some weeks ago I got the following code: 1: try 2: { 3: iop = new InteropPermission(InteropKind::ClrInterop); 4: iop.assert(); 5: 6: fileInfo = new System.IO.FileInfo(filename); 7: 8: if (WinAPI::fileExists(filename)) 9: { 10: fileInfo.Delete(); 11: } 12: fileInfo.Create(); 13: } 14: catch 15:...
  • Blog Post: Troubles with WinAPI in X++

    Maybe the title is some kind of misguiding, since it's neither the WinAPI nor X++ that are causing troubles, but the wrong use of the WinAPI with X++. Anyway, you might know what I mean ... Following blindly sample code from the web or the online documentation isn't always a good idea, especially...
Page 1 of 1 (22 items)