Skip to main content

Posts

Showing posts with the label XppIL

Getting Error on AIF Web service enabling for custom class in Ax 2012

Problem I am Getting below Errors on AIF Web service enabling for custom class in Ax 2012. 1. Application pool 'MicrosoftDynamicsAXAif60' is being automatically disabled due to a series of failures in the process(es) serving that application pool. 2. There was an error during processing of the managed application service auto-start for configuration path: 'MACHINE/WEBROOT/APPHOST/Default Web Site/MicrosoftDynamicsAXAif60'. The error message returned is: 'An initialization error occurred while trying to preload an application. Exception: System.Configuration.ConfigurationErrorsException Message: Duplicate type with name 'Dynamics.Ax.Application.NewItem' in assembly 'Dynamics.Ax.Application, Version=6.3.1000.309, Culture=neutral, PublicKeyToken=null'. StackTrace:    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)    at System.Web.Configuration.CompilationSection.LoadAllAssembl...

Solved:Getting Error during Full CIL in Ax 2012 R3 CU11

I am Getting Error during Full CIL in Ax 2012 R3 CU11 version. " The SysWorkflowDictElement.getAttribute() reflection API could not create and return the AifCollectionTypeAttribute object. Please check the parameters." No any single report executing and giving parameter related error then tried to do full CIL then above error coming. Solution: Solution of this issue is as below. 1. first, compile the class mentioned in the error message and see if this solves the problem if not then use compile forward option. 2.Then use incremental compile option if again other class error coming then compile again till incremental compile issue not resolved. 3. Once incremental compile did then do full CIL. 4. Then if the issue still exists then do steps. 1) first stop the aos services and go to the folder of the XPPIL folder and delete all files 2) start the services of aos 3) and do the incremental CIL 4)THEN  Do FULLY CIL, THEN ALL THE SERVICE WILL BE ST...

Steps to open AIF ports in case of major issue in Ax 2012

These are the Steps to open or enable all AIF port in case of major issue in Ax 2012 like Workflow issues, Business logic execution etc. 1) Stop all relevant AOS server(s) 2) On your relevant AOS server(s) navigate to the following folder (default) using Windows Explorer: C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL 3) Make sure you create a safe copy of the XPPIL folder content to another new local folder on the AOS computer (example: C:\XPPIL_Backup) 4) Now delete all folders and files inside the folder “C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL” but keep the folder “XPPIL” itself. 5) Start all AOS server(s) 6) Rull full dos based compilation using axutil. (axbuild.exe xppcompileall /aos=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" /workers=4) 7) Run a full CIL creation from AOT. This will create a fresh rebuild of all files/ folders inside the XPPIL folder 8)...

SSRS Report Execution error in ax 2012

Error:Getting below error SSRS Report Execution error in ax 2012 Solution: Do the below solution 1, Restart the AOS. 2.Delete the all the AUC and KTI files. 3.Delete records in table SysClientSession 4.Clear syslastvalue table. 5.Regenerate XppIL folder.

Error on Purchase order posting in Ax 2012

 If You are getting following error on  Purchase order posting in Ax 2012 Error Description Cannot execute a data definition language command on accounting distribution (AccountingDistributionTmpJournalize). Amount in transaction currency: 0,00. The SQL database has issued an error.  Object Server 01:   [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name  'tempdb.DBO.t100007_093C403F6242343F93ED4D1F8739A'. Error Message  INSERT INTO tempdb."DBO".t100007_093323236220423232323 (TRANSACTIONCURRENCYAMOUNT,ACCOUNTINGDISTRIBUTION,RECVERSION,PARTITION) SELECT T1.TRANSACTIONCURRENCYAMOUNT,T1.RECID,1,5637144576 FROM ACCOUNTINGDISTRIBUTION T1 WHERE ((T1.PARTITION=5637144576) AND ((T1.REFERENCEROLE=3) AND (T1.SOURCEDOCUMENTLINE<>563343466))) AND EXISTS (SELECT 'x' FROM ACCOUNTINGDISTRIBUTION T2 WHERE ((T2.PARTITION=5637144576) AND (((T2.SOURCEDOCUMENTLINE=5637251266) AND (T2.MONETARYAMOUNT=1)) AND (T2.RECID=T1.REFERENCEDISTRIB...