Skip to main content

Posts

Showing posts from May, 2017

Resolved :The Web Part page was not created correctly on the site

Problem : While deploying EP form getting business connector error. Error  “The Web Part page  was not created correctly on the site. No .NET Business Connector session could be found.” . No .NET Business Connector session could be found Solution : You can  try this and check. 1. Uncheck the Anonymous user of "IIS \ Directory Security \ Authentication and access control " 2. Add the BCProxy user to the local Administration group on the IIS server. 3. Then restart IIS and AX.

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)...

How to Update Project Status by Code in Ax 2012

To Update Project Status by Code in Ax 2012 You can get help from below code sample. In this code if Project status is created then it will update to In process stage. Same way you can try as per your requirement. Projtable projTable; int cnt; ttsBegin; while select forUpdate projtable where projTable.Status==ProjStatus::Created { cnt++; projtable.Status=ProjStatus::InProcess; projtable.update(); } ttsCommit; info(strFmt("%1 Project Updated",cnt));