Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا
Showing posts with label Admin - installation. Show all posts
Showing posts with label Admin - installation. Show all posts

Sunday, February 9, 2014

Unable to construct an object from the class in the batch framework

Hi,

when we want to run a custom class in the server as a batch job we need to extend the RunBaseBatch class and schedule a job for it.

When the test was successful, We scheduled the job and waited for the batch job status to go from Waiting to Ended, and to surprise to get an error.

"Unable to construct an object from the class Sample Class in the batch framework. Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters"

Steps on how to do this:

1.Open a new development environment and click Build and then choose Generate Incremental CIL.




Then, to double check if the job run well, go to System Administration > Inquiries > Batch Jobs and look for your job. It status should now be Ended.

Regards

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

Hi,

Solution to solve this error,

So, how do we fix this problem?

Step 1: Stop the AOS

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

When you do this, just delete all the files within the XppIL folder that are outside of other folders. Make a backup just in case, and the files would be generated while the full compilation is taking place



Step 3: Start the AOS




Step 3: Perform a full compile (it will not work without doing this)



Step 4: Perform a full CIL generation



 The drawback of this fix is that it takes a long time to complete. However, this fixes the issue, which is the desired outcome, and the services deployment and incremental CIL compilations moving forward would be error free.

As you can see, the service was deployed correctly and if I opened my inbound port I'll see it there.
  


UPDATE:

After a FULL CIL compilation some time you will get the following errors:



AOT > Class> ReleaseUpdateDB41_Basic




I just went to the object in question and compiled them separately.





The outcome would correctly compiled all the artifacts, including my new service gorup. 




Regards,



Wednesday, February 5, 2014

Clear password history in windows server

Hi,

In server OS it can be either 2008 or 2012 or may be 2013 its impossible to clear the history of password which are stored in ADDS.

regards,

Tuesday, February 4, 2014

SysDictClass object not initialized-while running SSRS report

Hi,

 When you created a SSRS report using a Data provider class that uses a Stored procedure to fill a temp table and the display the fields, using two AX environments, it works in the test one, but when I move to a different environment (let's call it production) sometime you will get this error:
Check business connector and at most Solution is full CIL generation surly it will work.
Regards


Friday, January 17, 2014

error 105: Unable to resolve the server's DNS address

Hi,

Start > All Programs > Accessories > Command Prompt. Right click on it and 'Run as Administrator'. Type the following and hit enter: ipconfig /flushdns

Regards,

Thursday, January 16, 2014

ManagementUtilities- axutil export- exporting the model in Dynamic AX 2012

Hi,



For exporting command:

Go to run-cmd

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

Give enter

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

axutil export /model:ABC /file:C:\ABCmodel.axmodel /config:MicrosoftDynamicsAX

Give enter

Y


ABC- is a model used

ABCModel.axmodel Saving file in c drive

MicrosoftDynamicsAX-instance name


Regards,

ManagementUtilities- axutil import- importing the model in Dynamic AX 2012

Hi,


For model importing:
Go to run-cmd
  cd C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities
Give enter
C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>
axutil import /file:C:\ABCmodel.axmodel /config: MicrosoftDynamicsAX /conflict:PUSH /createparents:ON
Give enter
Y


MSG will come as "model is successfully imported"
here ABCmodel.axmodel- is model that i saved
MicrosoftDynamicsAX-instance name(services/server aos/client configuration instance name)

Regards,

Overview of Microsoft Dynamics AX build numbers

Recent Build numbers from Microsoft
 Microsoft Dynamics AX 2012 R2
Version
Build number
[kernel / application]
Comment
Link
Recent published kernel build
6.2.1000.4838
13 Nov 2013
Recent published Retail POS build
6.2.1000.4810
11 Nov 2013
Cumulative Update 7
6.2.1000.4051
01 Nov 2013
Cumulative Update 6
6.2.1000.1437
26 Jun 2013
Cumulative Update 1
6.2.1000.156
26 Feb 2013
Hotfixes
6.2.1000.xxx
RTM
6.2.158.0
01 Dec 2012
 Microsoft Dynamics AX 2012
Version
Build number
Comment
Comment/Link
Recent published kernel build
6.0.1108.5958
10 Nov 2013
Recent published Retail POS build
6.0.1108.5861
25 Oct 2013
Cumulative Update 5
6.0.1108.4316
29 Apr 2013
Cumulative Update 4
6.0.1108.2423
02 Dec 2012
Cumulative Update 3
6.0.1108.670
28 Jun 2012
Cumulative Update 2
6.0.947.280
16 Nov 2011
Cumulative Update 1
6.0.947.61
01 Aug 2011
Hotfixes [new]
6.0.1108.xxx
After 15 Feb 2012
Hotfixes [old]
6.0.947.xxx
Until 15 Feb 2012
Feature Pack 1
6.0.947.862
Solution build 6.1.1108.0
RTM
6.0.947.0
01 Aug 2011
http://blogs.msdn.com/resized-image.ashx/__size/16x16/__key/communityserver-blogs-components-weblogfiles/00-00-01-39-16/3527.LogoSmall.png Microsoft Dynamics AX 2009
Version
Build number
 Comment
Link
Recent kernel build
5.0.1600.2194
05 Oct 2013
Recent published Retail POS build
5.0.1600.2194
05 Oct 2013
Retail
01 Jun 2012
Process Industries 3.1
25 Mar 2012
Project Time Management
25 Mar 2012
Professional Services Automation
25 Mar 2012
Payroll
01 Apr 2013
Rollup Update 8
5.0.1500.6491
21 Mar 2012
Rollup Update 7
5.0.1500.4570
25 Apr 2011
Rollup Update 6
5.0.1500.3761
16 Dec 2010
Rollup Update 5
5.0.1500.2985
30 Jun 2010
Rollup Update 4
5.0.1500.2116
22 Mar 2010
Rollup Update 3
5.0.1500.1313
22 Sep 2009
Rollup Update 2
5.0.1500.809
29 Jun 2009
Rollup Update 1
5.0.1500.358
12 Apr 2009
Hotfixes [New]
5.0.1600.xxx
After 18 Apr 2012
Hotfixes [Old]
5.0.1500.xxx
Until 18 Apr 2012
Service Pack 1
5.0.1000.52
Nov 2008
RTM RU-6
5.0.593.1429
RTM RU-5
5.0.593.1287
RTM RU-4
5.0.593.1084
RTM RU-3
5.0.593.827
RTM RU-2
5.0.593.662
RTM RU-1
5.0.593.439
RTM Hotfixes
5.0.593.xxx
Until 25 Apr 2011
RTM
5.0.593.0
2 Jun 2008
Microsoft Dynamics AX 4.0
Version
Build number
Comment
Link
Latest Kernel Build
4.0.2503.1610
22 Jun 2011
Hotfixes
Until 17 Oct 2011


Dynamics AX 2012 R2 CU7 Installation error

Importance of CU7:
Only  15 minutes to CU7 compiler
Data Import/Export Framework in AX2012 R2 CU7
----------
While install CU7 on a CU6 environment, an error appears when the new models are being imported.
Error results in:
Error updating model database: Microsoft.Dynamics.Setup.AxSetupException: AxUtil call returned errors:The model contains a customization of a configuration key. The model cannot be imported because you can overlayer a configuration key from the patching layer only.

Both CU6 and CU7 use the same model name "Update for Foundation" with a different display name.("Foundation ([KB#])" with KB# equals to their respective KB number.) And as suggested in the error message configuration key changes in CU6 blocked the installation.

Uninstall the existing CU6 model first will allow the installation to proceed. However, please do note that this work around does NOT guarantee element ID consistency and is not suitable for production system. 


FileNameSplit() to slip the Directory, file name and extension in D365 FnO

 Hi,     /// <summary>     /// Validate the Fileformat     /// </summary>     /// <param name = "filepath">FileP...