Tuesday, August 19, 2014

Hi,

I was working on export and import of model files using command prompt(NOT Microsoft Dynamics Power shell).

Before you go for this, make sure if you have proper permission on SQL. If not add your account to DB owner etc.

Below are the list of commands which are really helpful during this process. Open command prompt and write the following command and press enter:

cd C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities

Export model file using AXUtil


C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>axutil.exe export /model:"Model name" /file:"Model file location"

Delete a model file

axutil delete /model:”model file name”

Import a model file using AXUtil
 
<C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>axutil.exe import /file:" model file location" /conflict:"push"

Note: Using push command, an additional patch layer is created which has details of the conflicted objects. When I see the models installed, i was able to make out the models installed and the patch layer for for conflicted objects.


Tuesday, August 5, 2014

Unable to view application explorer when using Visual Studio 2012

I noticed that when using VS 2012, the "View" tab does not provide the option to view application explorer in VS.
Ideally one should install VS 2010 SP1 to view application explorer.

You can also view application explorer in VS 2012. All you need is to log in to AX, open any Dynamics AX model project and the project opens in VS 2012. Click on the "view" tab and you could view the application explorer.

Happy coding!

Monday, July 14, 2014

New day new learning:

Microsoft Dynamics Axapta 2009

Unable to start AOS service. Ends up with an error ending with error code 100

I was unable to start the AOS service for AX 2009 and discovered the server on which SQL is installed seems to be shut down. At times, when SQL service is down, same error code appears.

Wednesday, July 9, 2014

Hi Folks,

I was working with an alignment of a SSRS report and i used the below for displaying two values in one text box using the SSRS new line operator.

To achieve this, right click the textbox and click expression. Under the dialog box, use the below:

"field1" +  VBCRLF + "field 2"

Hope this might be helpful for someone.

Happy coding!