RSS

Category Archives: Installation and Configuration

DYNAMICS AX 2012 R2 – CU8 RELEASED

Microsoft Dynamics Ax 2012 R2 CU8 is now available to our customers for download on LCS, Customer and Partner source.

Cumulative Update 8 build number is 6.2.2000.14. You must have Microsoft Dynamics AX 2012 R2 installed or Microsoft Dynamics AX 2012 R2 to apply this cumulative update.

With the power of LCS, you can “slipstream” CU8. Slipstreaming means that updates are automatically detected and included as part of the installation, reducing the amount of time needed to install.

You can also download the install package directly from LCS

For installation instructions, download the Installation guide for cumulative update 8 for Microsoft Dynamics AX 2012 R2

The release notes is another great place to start with Cumulative Update 8 for Microsoft Dynamics Ax 2012 R2 deployment.

To learn about known issues in cumulative update 8, log into LCS by using CustomerSource or PartnerSource account. Then, in the Issue search box, enter “CU8 known issue” as the query for Microsoft Dynamics AX 2012 R2

OPEN WITH IE:
https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;3042171

image

Advertisements
 
 

Tags: , , ,

Build and deploy scripts for Microsoft Dynamics AX 2012

For those who were looking for build and deploy scripts. At Tech Conference this year, Microsoft Build Team recommends to use this one

https://gallery.technet.microsoft.com/scriptcenter/Build-and-deploy-for-b166c6e4

clip_image001

 

Tags: , , , ,

How to connect to a specific AOS in a load balanced environment

ISSUE:
In a load balanced, clustered environment. Occasionally, i would like to connect to a specific AOS for troubleshooting purposes.

SOLUTION:
We can use command line to connect.
Syntax: AX32.exe -loadbalance=0 -aos2=YOURAOSNAME:YOURPORT

How to find YOUR AOS NAME:
image

How to find your PORT:
Go to AX Server Configuration Utility

image

 

Tags: , , , , , ,

SSRS Report in R3 – VS 2012 vs. VS 2010

Problem:
In R3 environment, when I tried to to edit a report,  i received the following message
“Unable to preview the report, install the Business Intelligence Development Studio feature of Microsoft SQL Server For more information”

image

AOT > Visual Studio Projects > Select a project > Right Click > Edit

image

Notice that VS 2010 is still being used as a default one.

image

Solution:
AX R3 still needs to integrate with Visual Studio 2010 and therefore you have to have BIDS (Business Intelligence Development Studio). You can use a SQL Server 2008 R2 installation image to install it (it’s one of the components you can select during installation of “A new standalone server or additional components” on the client machine.

SQL Server 2008 R2 Setup Feature Selection

How to installing(adding) features (SSRS) to an existing SQL installation. Please follow this link:
http://mssqltrek.com/2012/02/10/installingadding-featuressrs-to-an-existing-sql-installation/

 

Tags: , , , , , ,

Make sure disk space is available before generating CIL.

I was trying to generate a full CIL and kept getting this error

The CIL generator found errors and could not save the new assembly.”

I took the follow steps in order to attempt to fix the issue

1> Restart AOS

2> Regenerate full CIL

I kept getting the same error again. and errors in few other classes. After I compiled the classes individually, the errors went away but when i generated CIL, it came back again. It was really frustrated. I decided something else must have caused this. This time i took different approach

1> Stop AOS

2> Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory

3> Start AOS

4> Perform a full compile and this time i got an additional message “There is not enough space on the disk”

clip_image002[4]

After verifying the hard drive, indeed there isn’t enough space in C drive

clip_image004[4]

Problem was solved after i freed up more space

 

Tags: , , ,

AOS takes a long time to start

Problem:

When you start an AOS, you may notice it takes a very long time before the service gets the status “Started”. A possible cause is left-over data in SysClientSession table. When starting up, the AOS seems to check if the client is still around.  The SysClientSessions contains the data for the client sessions that are currently active in the system.

Solution:

1. Shut down AOS for sing instance or all AOSes for multiple instances (not an ideal way in Production)

2. Use SQL Server Management Studio and run this sql

SELECT        SESSIONID, SERVERID, VERSION, LOGINDATETIME, LOGINDATETIMETZID, STATUS, USERID, SID, USERLANGUAGE, HELPLANGUAGE, CLIENTTYPE,
SESSIONTYPE, CLIENTCOMPUTER, DATAPARTITION, RECVERSION, RECID
FROM            SYSCLIENTSESSIONS

image

3. Delete all client records

4. Restart AOS(es)

 

Tags: , ,

Setup AX 2012 R3 Source Control with TFS online

It is working like a charm. Remember that I’m setting this up with AX 2012 R3. I’m sure there are some issues with AX 2012 (AX 2012 is only supported for TFS 2012 and 2012) and AX 2012 R2. We need  TFS 2012 client compatibility.

Notes:

  • Version control system (VCS) is a small part of Application Lifecycle Management (ALM)  which uses Team Foundation Server (TFS) as recommended toolset.
  • Visual Studio Online is a cloud based service. It was released in November 2013 and is free of charge for up to 5 users. Therefore it is the perfect first step to get in touch with the power of TFS Integration with Dynamics AX. There is nothing stopping you from testing the capabilities of this integration for your Dynamics AX 2012 development.

Let’s get started

Step 1:  VS Signup

Sign up with www.visualstudio.com. You are going get an account like YOURACCOUNT.visualstudio.com

Step 2: Setup a new project

image

image

Step 3: Version Control Parameters

Go to AX Development Workspace > Tools > Version Control > Version Control Parameters

image

Step 4: Parameters version control Setup

image

Step 5: Team Foundation Server Setup

image

Team Foundation Server URL: YOURACCOUNT.visualstudio.com
Team Foundation Project name: Project you created in “STEP 2”
Branch folder: Give it any name
Application root folder: A physical folder name in your repository folder that you setup at STEP 4

 
Current Directory Structure

image

You might be prompted for a log in

image

image

Step 6: Synchronize

This process can be lengthy, depending on the number of objects it has. TFS will download all files to local repository

image

Remember to check “Force”  to download all the object from the VCS (Version Control System)

image

The process will put all the objects in a model.

 image

You are now ready for development !!!

Snapshot of folder structures

Checking in a file

image

File on TFS server

image

File on local machine

image

 

Tags: , , , ,

 
%d bloggers like this: