Network of MS Dynamics D365, AX, NAV, GP, SL, CRM, RMS, POS professionals › Forums › Microsoft Dynamics AX / Axapta › AX Installation & Administration › India GST Patch issue on AX 2012 R2
July 17, 2019 at 10:24 am #20770
We’ve installed GST hotfix and so all the mentioned DLL’s and objects are available at required places after installation. All required Tax setup has been done as per the documentation from MS.
Now, I am trying to test it by creating SO. But as soon as I click any of the buttons which goes for GTE tax calculation(Totals, confirmation..), I am getting an error as
Processing item Solving merged Z3 expression failed: The solving formula encountered a run-time error.. Details: Parameters
Header.Lines.GST.SGST.Rate.Rate = 0
Header.Lines.GST.CGST.Rate.Rate = 0.14
Header.’Total Discount Percentage’ = 0
Header.Lines.’Assessable Value’ = 100
Solving parsed Z3 expression
Header.Lines.’Base Amount’=Header.Lines.’Assessable Value’*(100-Header.’Total Discount Percentage’)/100
Header.Lines.’Price includes tax’=0
Header.Lines.GST.CGST.’Base Amount’=Header.Lines.’Base Amount’
Header.Lines.GST.CGST.’Tax Amount’=Header.Lines.GST.CGST.’Base Amount’*Header.Lines.GST.CGST.Rate.Rate
Header.Lines.GST.SGST.’Base Amount’=Header.Lines.’Base Amount’
Header.Lines.GST.SGST.’Tax Amount’=Header.Lines.GST.SGST.’Base Amount’*Header.Lines.GST.SGST.Rate.Rate
System exception: Fail to load Z3. at Microsoft.Dynamics365.Tax.Core.CalculationEngine.Calculation.FormulaEngine.FormulaEngineFactory.GetFormulaEngine()
at Microsoft.Dynamics365.Tax.Core.CalculationEngine.FormulaFacade.Calculate(FormulaMetadata metadata, Hashtable parameters)
Anyone else faced this issue?
It looks like a issue with the dll “”Microsoft.Dynamics365.Tax.Core””.
Please suggest if anything else needs to be done apart from the installation steps provided by MS or If there could be anything I can do to overcome the issue?July 18, 2019 at 11:34 am #20789
Most of cases, this issue is due to loading of Z3 assemblies. Please use assembly dependency check tool (for instance Dependency Walker, you could easily get online) to validate all dependencies assemblies of Microsoft.Z3.dll and libz3.dll are well settled in your machine.
For instance you go with Dependency Walker, run it and click “File” => “Open” to select the assembly you want to check,
The result will show we missed some DLLs need for libz3(MSVCP110.dll, VCOMP11.dll and MSVCR110.dll), it is because “Microsoft Visual C++ 2012” is not well installed in your environment. Please follow the link or search installation file online to repair.
Expected result of 2 DLLs: regarding Microsoft.Z3, it should all green without any validation error. Regarding libz3, there might be some bridging dependency issue, but as long as the 4 direct dependencies are well settle like screenshot above, it’s good to go.July 18, 2019 at 1:31 pm #20772
Disabled hot swapping of assemblies and Generated Full CIL after resolving dll issue.July 20, 2019 at 4:37 pm #20774
For this error there is one solution which is Microsoft visual c++ 2015 redistributable package (x64) download.
if this solution is not useful then try in Virtual Machine.
because there is DLL problem in your server.
You must be logged in to reply to this topic.