RSS

Category Archives: R3 CU8 Installation

The Model Store has Been Modified &The number sequence for party records is not set

Yesterday I was  preparing an AX enviornment with an upgrade of AX 2012 RTM to CU8 and CU9 and found myself having a strange issue.

I have installed Dynamics AX 2012 RTM with slipstreaming of CU8 and CU9 and imported the home made vertical model on the same.As part of the upgrade you need to complete a checklist including such things as Compile application and detect conflicts.

When I opened the environment first time after importing the model then after upgrading Microsoft Dynamics AX 2012 you will get the following dialog upon starting the AX client:

TheModelStoreHasBeenModified.gif

When I have performed the appropriate upgrade actions (AOT compile, code check, CIL compile, synchronize, upgrade scripts), the dialog still might pop up every time you start the client. Selecting “Skip” was not solved this.I run  through all these processes multiple times but everytime i was getting the same dialog popup “The Model Store has Been Modified“.

I installed AX on single server with AX 2012 R3+CU8+CU9.I also compiled application with client and AXBuild for Parallel Compile on AOS of X++ to p-code and  also had synchronized the client via database and via AOT.

I googled multiple places and found few solution to get rid of this dialog popup like

Solution 1 :AXUTIL set /noinstallmode which prevents the AX client initialization checklist

Solution 2:If you can access SQL server open SSMS locate ReleaseUpdateConfiguration Table update the column MinorUpgrade “One” to “Zero”.

Solution 3:

a)Prevent the dialog from appearing by clicking
System administration > Setup > Checklists > Prevent startup of checklist

b)Even after above steps still the pop up is coming then write a job containing this line

         SysCheckList_Update::finalizeMinorUpgrade();

I have tried all mentioned option which  helped me get rid of this popup but does not solved my problem.when i started opening user interface(forms) then i started getting another  error message in every module of AX. when i again tried to perform checklist:(

“The number sequence for party records is not set”

Now again I thought to perform Compile,CIL and Synchronize but doesn’t matter how many times I compile, CIL compile or sync (successfully),the error remain same and checklist remains saying that these items still need to be completed.I also spent so many hours to resolve this but no success.

I found an blog which clarified the reason  to solve ‘The number sequence for party records is not set.’. It only appear after when we import the ISV, VAR and USR models.

Root cause:It turns out the offending code was in the ISV model(Campus Nexus) in the startupPost() method on the Info class.our ISV model has a piece of code changes application behavior during startup.

Inside the startupPost() and startup() method was a find method that selects Table SYSSetupLog  which contains status information of initialization checklist and application wasn’t able to update the same for compile,CIL and Synchronization.So Kernel was considering model store is dirty. its little hard to digest.

Solution:

1.Truncate the SysSetupLog table from SQL using DELETE FROM SYSSETUPLOG).

2.Create the following job and run it inside AX:

 

checklist.png

This job is saving a record SysCheckList_Upgrade with description status Finished  in Table SysSetupLog because AX 2012 R3 CU9 Data Migration/Upgrade did not correctly set the SysCheckList_Upgrade SysSetupLog entry to Finished, but it is Executed.

3.Restart AX Services and Issue Resolved. 🙂

I will explore little more and will update on same page if found something.for me its solved the problem time being.

Special Thanks for below articles which helped me to solve my issue.for more details please refer below articles links :

Number sequence error when starting the Upgrade checklist

The Model Store Has Been Modified – AX2012 R3 CheckList

The Model Store has Been Modified – AX2012 R3 CheckList Issue

The model store has been modified

https://community.dynamics.com/ax/f/33/t/115564

Happy Daxing 🙂

Advertisements
 

Change Dynamics AX Client Installation Directory

I was trying to find some way to  move our dynamics AX installation directory to our local C drive from our local D drive which i mentioned at the time of installation.

Initially when i installed AX 2012 client system that time system prompted me to select the file location and i changed the default location C:\Program Files (x86)\Microsoft Dynamics AX\60 to D:\Program Files (x86)\Microsoft Dynamics AX\60.

I had also completely uninstalled  AX client and then i reinstalled again but I didn’t get the prompt for the file location. after lots of research i found this is getting stored in the registry in HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Dynamics \ 6.0 \ Setup \ Components \ InstallDir32

its has saved path D:\Program Files (x86)\Microsoft Dynamics AX\60.

I performed below steps to change Dynamics AX Client Installation Directory

1.Uninstall AX client

2.Change HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Dynamics \ 6.0 \ Setup \ Components \ InstallDir32 to C:\Program Files (x86)\Microsoft Dynamics AX\60

3.Install AX client again,Now system will save client on C drive.

 

Happy Daxing 🙂

 

Compilations errors in Payroll classes-Symmetry

Today We were migrating existing production environment to new production environment hardware.

So I have done fresh instillation of dynamics ax 2012 R CU8 on new machine.I have imported model store and restored Microsoft Dynamics AX(OLTP)database without any error.

when i initiated compilation on machine then got around 22 errors in ax standard classes like variable not declared  or syntax error in payroll classes.

Compiler Output Payroll Classes

 

“Symmetry.TaxEngine.STEPayrollCalculator ste,steApplicable”

There are many blog written to resolve this symmetry error.Most of them suggested to add ste.net.dll file from server and client bin folders in AOT ->References node

C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin

C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin

Variable Symmetry has not been declared Compilation error in Ax 2012

AX2012 R3 CU8 – AOT Compile Errors on Payroll Classes related to Symmetry DLL

but it didn’t work for me and  many more. I identified one more simple solution because i faced similar issue in AX 2009 related to missing of system Base Enum.

I uninstalled  AX client and did installation again and restarted the AX services.when i tried compilation again then there was no syntax error left.

 

Happy Daxing 🙂

 

HOW TO RESTORE MS DYNAMICS AX 2012 R3 CU8 CONTOSO DEMO DATA

I have setup MS Dynamics AX 2012 R3 system on my environment. I am working on an article which shows the procedure to install AX 2012 R3. Till then, I have written a quick article which shows the steps to restore the Contoso Demo Data for 2012 R3 CU8.

Step 1.

  • Download the “Contoso Demo Data” from PartnerSource and  “Test Data Transfer Tool (beta)” for AX 2012 from InformationSource
  • Extract the demo data files from DynamicsAX2012R3DemoData.exe to a specific location.

 

zb1

image

  • The output folder will contain the files of following extension types:
  1. .OUT—– data file that contains metadata for AX transactional database
  2. .OutModel —- data file that contain metadata for AX model database
  3. .XML —- data file that contains AX table data.
  • Install the “Test Data Transfer Tool (beta)” by double clicking AX2012TestDataTransferTool.msi and follow on screen instructions and complete the setup.

zb2

  • After successful installation, the folder will look like as shown below:

zb3

Step 2

  • In the generated files above, you will find a XPO file – MetaDataXMLGenerator.xpo.Import the file in AOT, this creates a job.

 

  • This XPO imports results a job inside job node under AOT.This job will generate Metadata.xml. This Metadata.xml will be created in window temporary folder.

 

08-Job

  • Path of file in metadata.xml can be get from info log which will appear after successful run of job.

 

image

 

  • if you lost info log,You can get temporary folder path with following command echo %temp%. where you can get Metadata.xml

image

 

  • Copied metadata.xml into [list] folder of test tool Data folder. If it already exists then overwrite it.

image

Step 3

  • Stop MS Dynamics AX service.
  • Open Notepad and paste below command

E:\Software\AX2012TestDataTransferTool\dp.exe IMPORT “E:\Software\AXR3\DynamicsAX2012R3DemoData\DynamicsAXR3DemoData” MicrosoftDynamicsAx

Let me explain you mean of this command one by one

Test Data Transfer Tool Path and command to import data :

E:\Software\AX2012TestDataTransferTool\dp.exe IMPORT

Demo Data Path extracted path :

“E:\Software\AXR3\DynamicsAX2012R3DemoData\DynamicsAXR3DemoData”

Actual database name(Ax DB Name): MicrosoftDynamicsAx

  • Save this Notepad file with BAT extension.

Untitled

  • Now Double click on BAT file and you will get the following screen.

image

 

image

 

  • If we enter ‘Y’, then following screen will open up describing the count for importing the table data and Error (if they come up)

image

 

 

This process takes hours and hours with respect to your machine.I encountered few errors in the process but, nonetheless everything worked fine. After completion, I found demo data inside my dynamics Ax 2012 R3.See the screenshot below which shows the Contoso Demo Data loaded on AX 2012 R3.

                                image

Happy Daxing  Smile

 

Tags: , , , ,

Microsoft Dynamics AX 2012 R3 CU8 Installation-Now Requires Microsoft Visual Studio 2013 for Visual Studio Tools.

In this blog post, I will be sharing my experience on upgrading CU8 to my existing AX 2012 R3 environment.and let me tell you the installation experience of CU8 is quite different from my previous experiences with AX versions and there’s a set of things you would need to complete.

I’ve updated my environment to CU8 yesterday and this one caught me out. When you get to the binary part of the install if you are applying CU8 on top of an environment then you might not be able to select the AOS to be updated after you have updated the Report Viewer component and the message says “please uninstall the Visual Studio 2010 Dev Tools” my local system environment.

This is actually referring to the AX2012 Visual Studio tools.Based on the installation guide and other technet articles I have prepared my own steps which helped me to install in multiple environments, It is important to note what this means. Development work (ex. Enterprise Portal, SSRS) done in Visual Studio will now be with Microsoft Visual Studio 2013.

Note when going to CU8
• Report Viewer 2012 runtime component is required.I installed Report Viewer 2012 from here-http://www.microsoft.com/en-us/download/confirmation.aspx?id=35747
• Visual Studio Tools (for 2010) will have to be uninstalled via AX setup.exe > Install Microsoft Dynamics AX components > Remove components > under Developer tools mark Visual Studio Tools.Then when you restart the updater it will allow you to have the AOS selected for the update.

• Install Visual Studio 2013 (Professional or higher) SP2 as a minimum.
• When going through CU8 installer note the Visual Studio 2013 Dev Tools selection,If you notice down the bottom of the update installer there is a new option for Visual Studio 2013 Dev Tools.

                        AX R3 CU8_1

                        AX R3 CU8

                        AX R3 CU8_3

                       AX R3 CU8_4

After the installation, you may check the version of your AX32.exe and AX32serv.exe and they should both have version 6.3.100.601

 

Tags: , , , ,