Dynamics AX Mobile 1.5 SSIS Package Failure when using SQL Server collation Danish_Norwegian_CI_AS

Recently we received some feedback around the SQL Server with Danish and Norvegian collation and we will like to communicate this work around to solve the problem. Error Description:  When running the Dynamics Mobile SSIS Package in SQL Server 2005/2008 the package may fail with messages similar to:                 Package Execution Utility:  “Error: SSIS Error…


Unit Testing DocumentHandlers With Parameters

In my previous post, I described how to unit test custom DocumentHandlers. When your DocumentHandler has one or more DocumentHandlerParameters, you have to manually assign values to these, since, during unit testing, the DocumentHandler instance runs outside the warm and fuzzy Mobile Server environment. This is as simple as setting the property to the desired…

1

Unit Testing DocumentHandlers

As I promised in a previous post, I’d like to discuss how to unit test a custom DocumentHandler. There’s really nothing to it: Just create a new instance of your DocumentHandler and start invoking its members. Here’s a test of the Submit method: [TestMethod]public void SubmitWillReturnCorrectDescription(){    // Fixture setup    string anonymousXml = “<anonymous>XML</anonymous>”;    Guid anonymousMessageId…

4

DocumentHandlerParameter Best Practices

When you create a custom DocumentHandler, it is very likely that you may need to supply it with some configuration data. Common examples include the address of your back-end server, credentials to the back-end system, etc. DocumentHandlers can be configured by adding public read/write string properties and decorating them with the DocumentHandlerParameter attribute. This is…

1

DocumentHandler – Behind The Scenes

Mobile Server gives you the option of developing custom code that integrates to your back-end system. One way you can do this is by implementing one or more .NET classes that derive from the abstract DocumentHandler class. This is already described in the documentation along with the other options for back-end integration, but in this…

3