Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Florian's weblog
My first experience with Microsoft Dynamics AX, BC.Net and the Enterprise Portal at Microsoft.
RSS for posts
Search
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++
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)
Common Tasks
Blog Home
Email Blog Author
About
RSS for comments
RSS for posts
Atom
MSDN Blogs
>
Florian's weblog
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Florian's weblog
Request for the permission of type 'SecurityPermission' failed
Posted
over 4 years ago
by
flo2005
3
Comments
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...
Florian's weblog
RPC error 1702 when calling a WinAPI method from a batch job
Posted
over 4 years ago
by
flo2005
4
Comments
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...
Florian's weblog
Deploying service references with Dynamics Ax 2009
Posted
over 4 years ago
by
flo2005
2
Comments
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...
Florian's weblog
Limitations of the Dynamics Ax service references
Posted
over 3 years ago
by
flo2005
0
Comments
The article about service-references limitations is available on my new blog.
Florian's weblog
Working with Images (BLOBS) between Dynamics Ax and external applications (UPDATED: 06/01/2010)
Posted
over 3 years ago
by
flo2005
5
Comments
(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...
Florian's weblog
1. The garbage collector in X++ and the CLR
Posted
over 5 years ago
by
flo2005
1
Comments
I often hear from X++ developers, that the .Net garbage collector ( GC ) does not work correctly or that it isn’t as good as the one from Dynamics Ax because it is not known to you when objects are collected. This is of course nonsense not true and the...
Florian's weblog
The .Net Business Connector (BC.Net) and the IIS
Posted
over 5 years ago
by
flo2005
1
Comments
BC.Net client application The BC.Net is designed to be a client application in a non multithreading context. This is why the assembly is deployed in the bin-directory of the Dynamics Ax client . The following schema describes the standard scenario...
Florian's weblog
Enums and localization… in X++
Posted
over 4 years ago
by
flo2005
3
Comments
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...
Florian's weblog
2. Exception handling in X++ and C#
Posted
over 5 years ago
by
flo2005
1
Comments
Exceptions in Dynamics Ax are quite different than exceptions in .Net. Not only because of the type “System.Exception” and the way you are handling exceptions, but because of the different philosophy on handling exceptions, too. First of all I’d like...
Florian's weblog
3. Some important things for a X++ developer to know when writing C# code
Posted
over 5 years ago
by
flo2005
0
Comments
3.1 Changing types (converting and casting) C# is an strongly-typed programming language (even if there are different opinions about this, but coding managed, safe code with C# will fit the definition of a strongly-typed programming language). I quote...
Florian's weblog
IDynamicsAXExpressionBuilder returned error code 0x80131509
Posted
over 4 years ago
by
flo2005
4
Comments
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>...
Florian's weblog
Axapta 3: ADO instead of ODBC or install the SP6
Posted
over 5 years ago
by
flo2005
1
Comments
I recently did face a quite annoying problem with the OdbcConnection-class on Axapta 3 (client build number: 1951.8). I could access my DB2 (9.5)database without problems, but unfortunately I wasn’t able to close the connection. The only way to close...
Florian's weblog
Webcast: .Net for X++ programmers
Posted
over 4 years ago
by
flo2005
5
Comments
I will do a short Webcast about .Net basics for X++ developers which is based on the articles I posted here recently. During 1 hour I’ll talk about the basics of .Net and how to do’s. If you are a X++ programmer and you are new to .Net, this Webcast might...
Florian's weblog
Google Chrome
Posted
over 5 years ago
by
flo2005
1
Comments
Google presented today a comic that described their project for their new browser which will be available this night . From an artistic point of view it is really nice. They clearly were able to explain a non IT-professional what they want to realize...
Florian's weblog
The CLR for X++ programmers
Posted
over 5 years ago
by
flo2005
4
Comments
Dynamics Ax offers since Ax4 a .Net support ( BC.Net, EP and CLR objects with X++ ). As a matter of fact .Net will have a more and more important influence on Dynamics Ax since .Net is the glue of the Microsoft product stack . Sharepoint, BizTalk, SQL...
Florian's weblog
Workaround for problems with the SQL Browser in a clustered SQL Server 2000 or SQL Server 2005 (Ax4 and Ax2009)
Posted
over 5 years ago
by
flo2005
0
Comments
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...
Florian's weblog
Enterprise Portal license required for workflows with dynamics Ax 2009
Posted
over 3 years ago
by
flo2005
2
Comments
Dynamics Ax workflow does require the Enterprise Portal (EP) license. License changes since Dynamics Ax 4 can be found here . Please double-check that the EP license is well configured when the BC.Net throws the following exception (can be found in the...
Florian's weblog
Handling .Net exceptions with X++
Posted
over 5 years ago
by
flo2005
1
Comments
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...
Florian's weblog
How to develop with multiple developers on an Enterprise Portal (Ax2009) application
Posted
over 5 years ago
by
flo2005
1
Comments
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...
Florian's weblog
Passing CLR-object between an Ax-client and the AOS
Posted
over 5 years ago
by
flo2005
1
Comments
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...
Florian's weblog
How to implement FileSystemWatcher with X++
Posted
over 5 years ago
by
flo2005
0
Comments
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...
Florian's weblog
Casting CLR-objects with X++
Posted
over 5 years ago
by
flo2005
1
Comments
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...
Florian's weblog
AxUpdatePortal Utility
Posted
over 4 years ago
by
flo2005
1
Comments
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...
Florian's weblog
Importing Leads and Contacts
Posted
over 4 years ago
by
flo2005
0
Comments
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...
Florian's weblog
Large Xml-documents with an AIF-WebService.
Posted
over 4 years ago
by
flo2005
1
Comments
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...
Page 1 of 3 (68 items)
1
2
3