Florian's weblog

My first experience with Microsoft Dynamics AX, BC.Net and the Enterprise Portal at Microsoft.

  • Florian's weblog

    Webcast: .Net for X++ programmers

    • 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

    Working with Images (BLOBS) between Dynamics Ax and external applications (UPDATED: 06/01/2010)

    • 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

    IDynamicsAXExpressionBuilder returned error code 0x80131509

    • 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

    RPC error 1702 when calling a WinAPI method from a batch job

    • 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

    Is Google Chrome open-source?

    • 4 Comments
    The German blog datenschutzbeauftragter-online questioned the assertion that Chrome is open-source. They pointed out the paragraph 10.2 of the license: You may not (and you may not permit anyone else to) copy, modify, create a derivative work of...
  • Florian's weblog

    The CLR for X++ programmers

    • 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

    Enums and localization… in X++

    • 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

    Printer friendly with Enterprise Portal (EP)

    • 3 Comments
    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...
  • Florian's weblog

    Request for the permission of type 'SecurityPermission' failed

    • 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

    Deploying service references with Dynamics Ax 2009

    • 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

    Some links to IIS 7 information

    • 2 Comments
    IIS 7 changed fundamentally since IIS 6. Here are some links that might help you when you feel lost with all these changes ;-) IIS 7 Links: http://technet.microsoft.com/en-us/library/cc732976.aspx ( IIS 7.0: Operations Gui de) http://www.iis.net/ConfigReference...
  • Florian's weblog

    Enterprise Portal license required for workflows with dynamics Ax 2009

    • 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

    Down, up, super and base

    • 2 Comments
    Sometimes the programming language is determining the perspective. Last week I read the definition of downcasting on Wikipedia : In object-oriented programming , downcasting or type refinement is the act of casting a pointer or a reference to a...
  • Florian's weblog

    Passing CLR-object between an Ax-client and the AOS

    • 2 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

    Meet me at the Convergence 2008

    • 2 Comments
    I’ll be there from the 18-20 November 2008.
  • Florian's weblog

    Axapta 3: ADO instead of ODBC or install the SP6

    • 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

    Casting CLR-objects with X++

    • 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

    Handling .Net exceptions with X++

    • 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

    using the BC.Net with Ax2009 et Ax4 on the same machine might result in a AccessViolationException

    • 1 Comments
    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...
  • Florian's weblog

    Internet Explorer 8 RC1

    • 1 Comments
    Because I blogged about Google Chrome when it was getting beta, I’m doing this with the IE 8, too. You can now install the RC1 of this version, which is very close the the final version. This version is available here . The key features of this version...
  • Florian's weblog

    AxUpdatePortal Utility

    • 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

    The .Net Business Connector (BC.Net) and the IIS

    • 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

    How to develop with multiple developers on an Enterprise Portal (Ax2009) application

    • 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

    Why some Web services can’t be consumed ‘as is’ by referenced services in Ax 2009

    • 1 Comments
    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...
  • Florian's weblog

    2. Exception handling in X++ and C#

    • 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...
Page 1 of 3 (68 items) 123