Home

How to install two instances SSRS on one server

Scenario: I have 2 AOS AX (maybe same in one server or different servers), but only one server for reporting server (I will install and configure multiple SRS instances in this server). Thing is how can we install and configure 2 SSRS instances on same server and running for 2 AOS. easierly, please take a look the picture below Figure 1: Two...

Read more

AX 2012 R3 CU8 CU9 and TFS Online 2013 Error

When you try connecting between TFS and Dynamics AX CU8, CU9 and you got error like this: Error 1 Team Foundation services are not available from server ****.visualstudio.com/defaultcollection. Technical information (for administrator): TF400813: Resource not available for anonymous access. Client authentication required. Error 2 Could not...

Read more

Caching form into AOS to increase performance for Dynamics AX

Scenario: Normally when we open form for the first time in Dynamics AX, it will take sometimes to compilte and cache into AOS. That’s why at second time always faster. If we often restart AOS, how can we keep performance ? Solution: After restart AOS we can let some scripts run to open up some often used forms then cache to AOS, then close th...

Read more

HOW TO USE "LIKE" OPERATOR IN QUERYBUILDRANGE

To make something as the LIKE operator in a query, just assign a value to the QueryRange including a wildcard. static void QueryBuildRange_Sample(Args _args) { Query query = new Query(); QueryRun queryRun; QueryBuildDataSource qbds; QueryBuildRange queryRange; Cu...

Read more

DefaultValue ComboBox in Dynamics AX with X++

Beside modify metadata on form properties, as best practice we can use code like below to assign default value for combobox. You can use this code in the form’s init method after super(): ComboBoxName.selection(ComboBoxName::DefaultValue); If this is a table field we should you best practice overriding the initValue method in the table...

Read more

Rename a Database in SQL Server

Open Microsoft SQL Server Management Studio. Connect to the server where in the DB you want to rename is located. Modify the following script and run it -- Replace all MyDBs with the name of the DB you want to change its name USE [MyDB]; -- Changing Physical names and paths -- Replace all NewMyDB with the new name you wa...

Read more