Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Tuesday, November 22, 2016

Dequeue all the workflow jobs in AX 2012

// To dequeue all the workflow for workflow performance

static void DequeueWorkFlow(Args _args)
{
SysWorkflowMessageTable     SysWorkflowMessageTable;
    ttsBegin;
    while select forUpdate SysWorkflowMessageTable where SysWorkflowMessageTable.MessageLifeCycleState !=2

        {
            SysWorkflowMessageTable.MessageLifeCycleState =2;
            SysWorkflowMessageTable.update();
    }
    ttsCommit;
}

Regards,

Friday, November 4, 2016

The Microsoft Dynamics 365 = AX + CRM

Hi All,

As we will know that AX 7 is rocking the market but soon that too will replaced by next upcoming product Microsoft Dynamics 365 and that merges the CRM and AX.

In my next post you will find  AX 7 Vs AX 2012 R3 technical / developer side changes.

REF : https://mbs.microsoft.com/customersource/northamerica/news-events/news-events/news/MicrosoftDynamics365

More details please login as either customer/partner portal to get relevant documents.

Regards,
Mohamed Alfasith Ismail.

Tuesday, August 30, 2016

The System Exception Handler in AX 2012

Hi,

An Exception can be handed in AX 2012 by try, catch, retry, throw whereas there is no Finally here.

Once you defined try but there is not catch handling for specified error that will be handled by system itself. but we cannot trace out the error.

In this cases AX system gives an opportunity to handle that kind of developers unspecified exceptions will be handled by
Global::error / Global::Warning /Global::Info.

With reference to this Global class we can trace-out error.

Thanks,

Wednesday, August 17, 2016

Enterprise Portal installation error: The AOS cannot be reached.

Hi,

1. Please check server BC configuration.
2. AX client > System administrator > setup> System> System service account.
Please check service account.


Hope issue will be fixed.

Thanks,



Sunday, May 22, 2016

SQL Server 2014 build versions

SQL Server 2014 build versions

This article lists the Microsoft SQL Server 2014 builds that were released after SQL Server 2014 was released.
SQL Server 2014 Service Pack 1 (SP1) and cumulative update (CU) builds
Cumulative update name
Build version
Knowledge Base number
SQL Server 2014 SP1 CU6
12.0.4449.0 (latest build)
SQL Server 2014 SP1 CU5
12.0.4439.1
SQL Server 2014 SP1 CU4
12.0.4436.0
SQL Server 2014 SP1 CU3
12.0.4427.24
SQL Server 2014 SP1 CU2
12.0.4422.0
SQL Server 2014 SP1 CU1
12.0.4416.1
SQL Server 2014 SP1
12.0.4100.1
SQL Server 2014 cumulative update (CU) builds
Cumulative update name
Build version
Knowledge Base number
CU13
12.0.2568.0 (latest build)
CU12
12.0.2564.0
CU11
12.0.2560.0
CU10
12.0.2556.4
CU9
12.0.2553.0
CU8
12.0.2546.0
CU7
12.0.2495.0
CU6
12.0.2480.0
CU5
12.0.2456.0
CU4
12.0.2430.0
CU3
12.0.2402.0
CU2
12.0.2370.0
CU1
12.0.2342.0

Ref : https://support.microsoft.com/en-us/kb/2936603

Tuesday, May 17, 2016

Ax error " A user session on the server could not be created. Try to start the client again. If the problem continues contact Ax Administrator


Cause:
AOS has no access to createusersessions stored procedure in the database.
Even there will not be any log in Event Viewer for this issue.


Occurrence :
Whenever C:drive of AOS server gets full then this will occur.

Resolution:
Clear the C: drive at-least to 2 GB to run the application.
Best way is to shirk the SQL databases.

Regards,

Tuesday, May 10, 2016

The user or group name 'DmainName\UserId' is not recognized in AX 2012 R3

Hi,

When  you restore the AOS database from 1 environment to another where there is no relation of domain or user then you will encounter above mentioned error nduring report server validation / creation of folder / making default.

Reason: Existence of records of parent server in the table SysServerSessions.  though you added the new server details as record in SQL level, you needs to delete those records too.

Hope this will solve your error.

Thanks,

Sunday, May 1, 2016

The internal time zone version number stored in the database is higher than the version supported by the kernel (8/7). Use a newer Microsoft Dynamics AX kernel

Hi,

This is the error which arrives when you start the service after restoring the database from DB to this concern DB.
This is due to mismatch of the time zone in the AX system.

This error can be noticed only in the event log.

Resolution:
 Open SQL 'SQLSystemVariables' table and edit the record in 'SYSTIMEZONEVERSION' column from 8 to 7.

Regards,

Sunday, April 17, 2016

SQL Server 2014 installation Reporting Services Catalog error

Hi,

ERROR: Reporting Services Catalog Database File Existence or  Reporting Services Catalog Temporary Database File Existence.
Cause : Earlier installed SQL instance leaves the reporting service files which are all in *.mdf file format stops to recreate.
Solution : Needs to delete those files which are all present in the below mentioned location.
'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA'
that needs to be repeated for all the 3 folders which I highlighted in trail images.





 
 Regards,


Sunday, March 27, 2016

Task recorder in AX 2012

Hi,

1. Open  AX application (Run as administrator),
2. File > Tools > Task recorder.

3. In that Opened task recorded we can start clicking on  start arrow (symbol) to start the recording
but before that we need to set the location for saving the records,
4. Open the parameters
5. Once you complete above step automatically it creates 4 file 2 in XMl and 1 mov and 1 in doc file
this 4 files related to the recordings that we traced out.

Regards,


Thursday, March 24, 2016

Let us move to cloud (Private) - Windows Azure Pack for Windows Server

Hi,

I started my post on AX 2009 now I plan to update to technology as AX 7 & Clouds. When I started to work on cloud I just amazed on the surfing and working over cloud, Ho I hope I'm flying inside the cloud.

Microsoft finds a new way to deliver a private cloud in a box

Windows Azure Services for Windows Server is a set of select features that originally debuted as part of Windows Azure which Microsoft made available to its service providers. The core set of technologies in this were hosted Linux and Windows Server virtual machines; support for high-density Web sites (the complement of Windows Azure Web Sites, codenamed "Antares"); Service Management Portal; and a Service Management application programming interface (codenamed Katal).

 The components in the Azure Pack include a management portal; service management programming interface; a Web sites service; a virtual machines service; and service bus support.

Download the application in below link.

Microsoft page for web site description of the new Azure Pack.

Download the Windows Azure Pack datasheet.

Technet page use below link.

https://technet.microsoft.com/library/dn296435.aspx?CR_CC=200142594

Video on recent Cloud Azure:
https://youtu.be/bv8RNBLwnko

Please wait for my next post for cloud in public network.


Regards,

Thursday, March 17, 2016

Procedure to make remote desktop in full screen for windows OS not for server

Hi,

Start -> Run  -> 'mstsc'




Select 'Option' - bottom-left corner of the "Remote Desktop Connection" dailog.

Choose "Display" tab.

Change "Display Configuration" to "Full Screen" by dragging the slider to extreme right. 

Regards,

Dimension Lookup for both standard and Custom dimension in D365

Hi,  /// <summary>     /// Provides the look-up interaction for the individual dimension value lookup controls.     /// </summary&g...