Wednesday, January 25, 2017

Dynamics Ax Internals: Global products - Table structure in Ax2012

obal products - Table structure in Ax2012: The structure of product master data in Ax2012 has changed quite a lot from previous versions. This post is a brief overview of some of the ...

Thursday, October 13, 2016

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.

I received the following error when trying to connect to a server's SQL Server. I was able to telnet the Server on the required TCP Port (1433) but SSMS could not connect to the SQL Server instance. 

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was – [Pre-Login] initialization=13472; handshake=14425; (Microsoft SQL Server, Error: -2)

I eventually found that a Hyper-V Adapter was responsible for the issue, disabling which resolved the issue, have faced a similar issue with VirtualBox adapter too.

Hope it helps.

Tuesday, October 4, 2016

[AX 2012 R3 / AX7 Retail]: Viewing events from MPOS in Event Viewer

This post is based on a conversation in Dynamics AX Community (link attached later in the post)
Events from the MPOS in AX 2012 R3 can be found in Event Viewer here:
Application and Services Logs -> Microsoft -> Windows -> AppHost -> AppTracing.
activate the event log using Event Viewer.
  1. Navigate to Application and Services Logs -> Microsoft -> Windows -> AppHost.
  2. Right click AppHost and Select View -> Show Analytic and Debug Logs

Events from the MPOS in AX 7 can be found in Event Viewer here:
Event Viewer: Applications and Services Logs->Microsoft->Dynamics->Commerce-ModernPos.- Admin, Debug, Operational (where Operational would contain errors and Debug is by default disabled but can be Enabled if needed.)
Please visit the source of this post at this link
for more information.

Sunday, August 14, 2016

[AX 2012 R3 Retail]: POS CU10 Upgrade using N-1 Approach


After deploying CU10 Update, your HQ is on CU10 Retail Distribution Framework will run on CU10 Schema, while you POS is still on RTM. In order for your HQ to communicate with the RTM POS Clients its necessary to have Retail Distribution Framework (Jobs and Sub Jobs) to run on RTM Channel Schema.

One need not create the RTM Channel Schema jobs and sub jobs manually, you can execute RetailCDXSeedData_R3 class to create the jobs and sub jobs for you. You need to then configure your existing Channel Database and Channel Data Groups to use the RTM framework for the Channel Schema.




-Hitesh

Defaulting Ledger Journal Line from Header - Journal Posting

Recently I was having an issue defaulting the journal line's financial dimension from the header. The below link helped me to resolve the issue

http://stackoverflow.com/questions/28894307/init-ledger-journal-trans-offset-account


Monday, August 1, 2016

TypeScript unknown option 'noEmitOnError'

I was unable to compile AX 2012 MPOS Windows Store App on Visual Studio 2013 Update 5. The below link helped me successfully resolve the issue.

http://ryanohs.com/2016/03/compiling-legacy-typescript/

-Hope this helps
Hitesh



Sunday, June 26, 2016

AX 2012 R3 Retail -Online Store CRT Pricing Engine Assembly load error

I faced an issue with CRT Pricing Engine assembly - Could not load assembly and that caused online store to break. The below link helped me to resolve the issue.

https://blogs.msdn.microsoft.com/axsupport/2015/08/13/dynamics-ax-r3-cu9-demo-image-a-different-the-price-cannot-be-calculated-for-the-item-error-in-epos/