Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
Search
Archives
Archives
July 2010
(1)
June 2010
(3)
February 2010
(1)
January 2010
(3)
November 2009
(1)
August 2009
(9)
May 2009
(1)
March 2009
(2)
February 2009
(1)
January 2009
(4)
December 2008
(8)
November 2008
(8)
October 2008
(4)
September 2008
(4)
August 2008
(10)
July 2008
(8)
Tags
AIF
Ax2009
Ax4
Ax-Client
AxToolbox
Ax-Troubleshooting
BC.Net
C#
EP
Fun
MS CSS support
Programming
The CLR for X++ programmers
Thoughts
Troubleshooting
X++
Common Tasks
Blog Home
Email Blog Author
About
RSS for posts
RSS for comments
Tagged Content List
Blog Post:
Working with Images (BLOBS) between Dynamics Ax and external applications (UPDATED: 06/01/2010)
flo2005
(updated the 05/01/2010 and 06/01/2010) The idea Whenever you need to transfer data in a platform specific format (like Images), the easiest way of doing this is to create an envelope (in Xml) and put the data in an encoded format in this envelope. Here’s a schema that shows such a scenario: The...
on
4 Jan 2010
Blog Post:
Template Wizard does create SheetNames with more than 30 characters
flo2005
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...
on
18 Aug 2009
Blog Post:
Large Xml-documents with an AIF-WebService.
flo2005
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...
on
11 Aug 2009
Blog Post:
‘0’-values don’t appear in Xml files generated by the AIF
flo2005
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...
on
11 Aug 2009
Blog Post:
AIF-service call with COM and .Net Business Connector
flo2005
When executing an AIF-service with the COM and .Net Business Connector the client will not be notified about exceptions during the execution. The reason for this is, that AIF-services are always executed within a transaction ( ttslevel = 1) even when no ttsBegin has been executed. And as described on...
on
11 Aug 2009
Blog Post:
Request for the permission of type 'SecurityPermission' failed
flo2005
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...
on
10 Aug 2009
Blog Post:
base64Encode() of the kernel class ‘Image’ does return an empty string
flo2005
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...
on
10 Aug 2009
Blog Post:
Gender information in Employees-form and the Global Address Book (GAB)
flo2005
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...
on
10 Aug 2009
Blog Post:
IDynamicsAXExpressionBuilder returned error code 0x80131509
flo2005
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...
on
5 May 2009
Blog Post:
Deploying service references with Dynamics Ax 2009
flo2005
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...
on
9 Feb 2009
Blog Post:
RPC error 1702 when calling a WinAPI method from a batch job
flo2005
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...
on
29 Jan 2009
Blog Post:
AxUpdatePortal Utility
flo2005
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...
on
28 Jan 2009
Blog Post:
Enums and localization… in X++
flo2005
On Msdn enumerators (Enums) are described as: X++ does not support constants but has an enumerable type (Enum), which is a list of literals. You need to create an Enum in the Application Object Tree (AOT) before you can use it. Enum values are represented internally as integers. The first literal...
on
8 Jan 2009
Blog Post:
How to develop with multiple developers on an Enterprise Portal (Ax2009) application
flo2005
Many partners asked if it would be possible to have just one Enterprise Portal Server (WSS3.0 or MOSS + EP components) for their EP-development as described in the following scheme: The answer is no. Theoretically it would be possible to have one EP-server where each developer would have it’s...
on
22 Dec 2008
Blog Post:
Why some Web services can’t be consumed ‘as is’ by referenced services in Ax 2009
flo2005
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...
on
6 Dec 2008
Blog Post:
Workaround for problems with the SQL Browser in a clustered SQL Server 2000 or SQL Server 2005 (Ax4 and Ax2009)
flo2005
If you have a clustered SQL Server 2000 or SQL Server 2005 you might have the following error message: The SQLBrowser service was unable to process a client request. The cause of this problem and why this hasn’t been fixed is described on this blog. Normally, it is recommended in this case...
on
4 Dec 2008
Blog Post:
using the BC.Net with Ax2009 et Ax4 on the same machine might result in a AccessViolationException
flo2005
I was working on a case where a partner was having problems with the Business Connecter for Ax2009. Calling a method on the AOS resulted under certain circumstances in a AccessViolationException: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication...
on
25 Nov 2008
Blog Post:
Changed application elements Ax2009 vs. Ax4 SP2
flo2005
This Excel spreadsheet list all application elements changed in Ax2009 since Ax4 SP2.
on
5 Nov 2008
Blog Post:
Passing CLR-object between an Ax-client and the AOS
flo2005
As explained on msdn you can’t pass an CLR-object between a Ax-client and the AOS. So the following example will work for the client-to-client but will fail for the client-to-server scenario: The code for the CLR-class: 1: using System; 2: 3: namespace Samples 4: { 5: public class Customer 6: ...
on
3 Nov 2008
Blog Post:
Handling .Net exceptions with X++
flo2005
In my last blog I was talking about casting CLR-objects in X++. In the code example you might have noticed the following code: 1: catch (Exception::CLRError) 2: { 3: //we'll discuss this later... 4: } Well, handling CLR-objects isn’t that easy. But fortunately you can find...
on
22 Oct 2008
Blog Post:
Casting CLR-objects with X++
flo2005
Casting CLR-objects with X++ isn’t that obvious as it is in .Net languages as C# or even VB.Net. The following code will not compile because of the incompatibility of the two types System.Net.WebRequest and System.Net.HttpWebRequest even if you are allowed to upcast in any .Net language the WebRequest...
on
22 Oct 2008
Blog Post:
ReportViewer
flo2005
If you need a great reporting tool, or you want to use the RDLs from the Reporting Services 2005 without a SQL Server 2005 license, then this link will be very interesting for you (or maybe you already know the ReportViewer? ): http://www.gotreportviewer.com/ Here's an excerpt from the product...
on
15 Oct 2008
Blog Post:
.Net 3.5 SP1 with Ax2009
flo2005
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...
on
3 Sep 2008
Blog Post:
How to implement FileSystemWatcher with X++
flo2005
The CLR offers with System.IO.FileSystemWatcher a very simple to use class which can be used with X++ in order to identify new created, renamed, deleted and changed (The change of a file or folder. The types of changes include: changes to size, attributes, security settings, last write, and last access...
on
1 Sep 2008
Blog Post:
Adding dynamically UserControls to a report with X++
flo2005
This is a pretty simple example how to add an UserControl to an existing Report. But since the documentation isn’t talking a lot about here’s the code: public boolean fetch() { ReportSection reportSection; ReportTextControl textControl; ; reportSection = element. design() .autoDesignSpecs(...
on
25 Aug 2008
Page 1 of 2 (26 items)
1
2