Search This Blog

Google Website Translator Gadget

Friday, February 6, 2015

service unavailable http error 503

service unavailable http error 503 while opening the EP













Error: service unavailable http error 503 while opening the EP


OS: Windows Server 2012
AX: AX 2012 R3
SQL: SQL 2014
SharePoint: SharePoint 2013

User was getting service unavailable http error 503 while opening the EP site.

When I checked IIS, i found out that Application pool Stopped for the Web Application.

So, I started it and then again launched the site. Yet it still shows the same error and the pool was automatically stopped.

Solution:


  1. Verify that all SharePoint services are started, this error might occur because of changing the service account password. You may need to change the new password to application pool or SharePoint timer service. Click the stopped application pool -> click advanced settings ->Identity ->click the user to retype the user ->Application Pool Identity dialog ->click set -> manually type the user name and password. Then restart the server.
  2. Check the web site properties in IIS. Under home directory tab, check the application pool value and then open that application pool from the application pools (separate node in the IIS tree). Click the identity tab and see who is the pool assigned to. For the sake of testing, you can select "Predefined" and select local service from the drop down. Restart IIS and see if things work out for you. Http 503 error is generated by the IIS and it happens when web server sends data stream back to the web site.

 And it worked! :)

Happy AX Infra!

Sunday, February 1, 2015

autorun.hta is not a valid win32 application

autorun.hta is not a valid win32 application

Issue: When Microsoft Dynamics AX 2012 R3 setup by double clicking setup.exe to install AX from DVD or Image ISO file error comes as "autorun.hta is not a valid win32 application"











AX Version: Microsoft Dynamics AX 2012 R3
OS: Microsoft Windows Pro 7 /  Microsoft Windows Server 2012 R2
SQL: Microsoft SQL 2014

Solution:

Go to Control Panel – Programs – Default Programs – Associate a file type or protocol with a program.

Locate the .hta extension and make sure it is associated with the Microsoft (R) HTML Application host application. You can change this by clicking the Change program button.

The following screenshot shows the correct setup for the .hta extension.


Saturday, January 31, 2015

Install AX 2012 R3 client in Macbook,Install AX 2012 R3 client in Linux

Install Microsoft Dynamics AX 2012 R3 client in Macbook,Install Microsoft Dynamics AX 2012 R3 client in Linux ?

Well you can't install Microsoft Dynamics AX 2012 R3 (Or Any version of AX till AX 2012 R3) on iOS or even on Linux!

The complete system requirements for AX 2012 (Client & Server System Details) are available in the link below

http://www.microsoft.com/en-in/download/details.aspx?id=11094

Also if you really wants to do so, yes it can be done! :)

Solution:

Over MacBook, you need to use BootCamp http://en.wikipedia.org/wiki/Boot_Camp_%28software%29

Which will enable you to have dual boot,
Yes, Windows and Dynamics AX on MacBook can be installed with the help of BootCamp.


Friday, January 30, 2015

Recover a database that is in the "restoring" state

Recover a database that is in the "restoring" state



















Error:

MicrosoftDynamicsAX Database showing in restoring... and not able bring offline or drop.

AX Version: AX 2012 R3
OS: Windows Server 2012
SQL: SQL 2014


Solution:

Open SSMS

And run the query

RESTORE DATABASE MicrosoftDynamicsAX WITH RECOVERY
GO



Happy DAX Infra!

Thanks & Regards,
Umesh Pandit
B.Sc.,MCA,MCP
Skype ID: pandit.umesh

Wednesday, January 28, 2015

An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue.

An unexpected error has occurred while opening the workflow. See the event log on the AOS and contact your system administrator to resolve the issue.




Tuesday, January 27, 2015

Exception from HRESULT: 0xC0048021 at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntity.ShowPreview(Boolean isComposite)

Exception from HRESULT: 0xC0048021  at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntity.ShowPreview(Boolean isComposite)  at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.Service.ServiceHelper.ShowPreview(DMFEntity entity)

Error:
Exception from HRESULT: 0xC0048021
at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntity.ShowPreview(Boolean isComposite)
at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.Service.ServiceHelper.ShowPreview(DMFEntity entity)

AX Version: Microsoft Dynamics AX 2012 R3 RTM
Microsoft Office: Office 2013, Excel 2013
OS: Windows Server 2012
SQL: SQL 2008 R2.

Solution:

The problem is caused by the DMConfig XML file.
Go to the DMConfig.xml file in the Microsoft Dynamics AX\60\DataImportExportFramework  folder and replace the PipelineComponentInfo_Multicast, PipelineComponentInfo_ExcelSource and  <PipelineComponentInfo_ExcelDestination> nodes by the following:

<PipelineComponentInfo_Multicast>
    {33D831DE-5DCF-48F0-B431-4D327B9E785D}
  </PipelineComponentInfo_Multicast>
  <PipelineComponentInfo_ExcelSource>
    {9F5C585F-2F02-4622-B273-F75D52419D4A}
  </PipelineComponentInfo_ExcelSource>
  <PipelineComponentInfo_ExcelDestination>
    {90E2E609-1207-4CB0-A8CE-CC7B8CFE2510}
  </PipelineComponentInfo_ExcelDestination>

Happy DAX Infra! 


Assembly containing type Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntityProxy is not referenced

Assembly containing type Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntityProxy is not referenced

Error::

Microsoft Dynamics AX 2012 R3 is installed, but we need DMF/DIXF tool, so I installed, compiled as well, once i open the AX i found the error: Assembly containing type Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntityProxy is not referenced



Assembly containing type Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntityProxy is not referenced

Object 'CLRObject' could not be created



















AX: AX 2012 R3
OS: Windows Server 2012
SQL: SQL 2014

Solution::

1. Stop the AOS.

2. Backup XppIL directory or XppIL folder.

3.Create a folder and cut and paste in folder named XppIL or Delete all of the source in the 
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory.

4. Start the AOS.


Happy AX Infra! 
Thanks & Regards,


Umesh Pandit
Mail ID: pandit.umesh@hotmail.com
Skype ID: pandit.umesh


Thursday, January 22, 2015

How to drop multiple table from SQL when there is Sync Error

How to drop multiple table from SQL when there is Sync Error


Issue:

Once we have restored the model store or just restored the DB we open AX AOT and started Sync, when in result gave 80 or 90 table errors.

Solution is to drop the those error table and start the sync all over again.
If its more then 5 or 6 like 80 or 100 tables showing errors, then use this command:

Drop Table Tablename
Drop Table Tablename
Drop Table Tablename and so on.

upto your table name list or

Drop Table Tablename1, Tablename2


Happy DAX infra!

Wednesday, January 21, 2015

Today I Passed the Microsoft Exam 70-533 Implementing Microsoft Azure Infrastructure Solutions

Today I Passed the Microsoft Exam 70-533 Implementing Microsoft Azure Infrastructure Solutions.












Day before yesterday, I had registered for a second try of the 70-533 Implementing Microsoft Azure Infrastructure Solutionstwo days ago I tried this exam and failed with 673, this time it was a bit more successful and today I passed with 775! :)
Learning suggestions:
http://vniklas.djungeln.se/2014/12/30/passed-the-70-533-azure-infrastructure-exam/
http://www.aiotestking.com/microsoft/category/exam-70-533-implementing-microsoft-azure-infrastructure-solutions/


If you have any question or area to be added please comment! 


Happy AX Infra! 
Thanks & Regards,
Umesh Pandit
Mail ID: pandit.umesh@hotmail.com
Skype ID: pandit.umesh



'C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\XppIL\xml\AppObjects1.xml' is denied.

Issue:

'C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\XppIL\xml\AppObjects1.xml' is denied.


























AX Version: AX 2012 R3,
OS Version: Windows Server 2012
SQL: SQL 2014


Solution:

1. Stop the AOS.

2. Backup XppIL directory or XppIL folder.

3.Create a folder and cut and paste in folder named XppIL or Delete all of the source in the
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory.

3. Start the AOS.

4. Perform a full CIL generation.

Happy DAX Infra! :)

Tuesday, January 20, 2015

Cannot insert multiple records in Security user role (SecurityUserRole). The record already exists.


Cannot insert multiple records in Security user role (SecurityUserRole).
The record already exists.


Issue: 
Cannot insert multiple records in Security user role (SecurityUserRole).
The record already exists.

AX: AX 2012 R3,
OS: Windows Server 2012
SQL: SQL 2014 


























Solution: Open SSMS, SQL DB, Select the MicrosoftDynamicsAX database and run the below query 


delete from dbo.SECURITYUSERROLE where USER_ = 'upandit'

To check user details run:

select * from dbo.SECURITYUSERROLE

If this does not work,

Please open Ax 2012 Management Shell as Admin:

New-AXUser -AccountType WindowsUser -AXUserId upandit -UserDomain “google.local” -PartitionKey initial Enabled -UserName upandit -Company DAT

Happy AX Infra! 
Thanks & Regards,

Umesh Pandit
Mail ID: pandit.umesh@hotmail.com
Skype ID: pandit.umesh


Friday, January 16, 2015

The slipstreaming process in AX 2012 R3 CU8

The slipstreaming process in AX 2012 R3 CU8  Slipstream updates in AX 2012 R3 CU8:



If you are installing Microsoft Dynamics AX components for the first time and cumulative updates, binary Hotfixes or service packs are available for AX, you can incorporate the updates into the installation by using a process that's known as slipstreaming. 

When updates are slipstreamed, Setup automatically detects and applies them.  In this way, the time that is required to install the whole AX solution is reduced.  Note that components that were previously installed are not updated during a later slipstream installation. For example, an instance of the AOS -- if an instance of the AOS is installed on a server, later if you add updates to this installation source and then you also install another AX component on the same server, the AOS instance is not updated.  


You can slipstream the following kinds of updates: Cumulative updates, binary Hotfixes, help content updates, and service packs.  To find cumulative updates and slipstream them into your installation, go to Microsoft Dynamics Life Cycle Services, and after selecting your project, click updates.  In the updates to include with new installation section, select the slipstreamable update package that you want and download it.  

Once you download the update, you can create a shared network location with the Setup of AX.  The slipstreamed updates can then be included as part of this installation package under the updates folder.  Then when you run Setup and select the components to install, Setup automatically detects and installs the updates.

The Update Folder:


Before you install Microsoft Dynamics AX, you copy the DVD to a network location. This lets you modify the installation media to create a slipstream installation. Incorporate updates into the installation process by copying files to the Updates folder in the shared network location.



In the Updates folder, create a subfolder for each update package that you download. We recommend that you use the Knowledge Base article numbers of the updates as the names of the subfolders. For example, for the update that is associated with Knowledge Base article number 123456, create a subfolder that is named KB123456.
Extract each update into the appropriate subfolder. The following illustration shows an example of the recommended folder structure:

Any time that you apply a cumulative update package or a binary hotfix to your environment, we strongly recommend that you add the installation package to the Updates folder. This practice ensures that you can deploy new servers, clients, and other components of the correct version quickly. You should also make a copy of the updated installation media per your system recovery strategy.

Reference Link:

http://technet.microsoft.com/en-us/library/hh378076.aspx

Wednesday, January 14, 2015

Unable to shrink the transaction log in AX 2012 R3

Unable to shrink the transaction log in AX 2012 R3 ?

How to clear the transaction log in AX 2012 R3.

Simple steps>


  1. Go to run (Windows Key + R)
  2. Type in run window> SSMS 
  3. SQL Server Management Studio (SSMS) will open
  4. Open the query. Look below:
  5. Type command sp_repldone NULL, NULL, 0, 0, 1 
  6. And Done! :)









Happy Daxing!

Thanks & Regards,
Umesh Pandit
Mail ID: pandit.umesh@hotmail.com
Skype ID: pandit.umesh

Wednesday, January 7, 2015

Why choose Microsoft Dynamics AX over SAP?

Why choose Microsoft Dynamics AX over SAP?

ERP (Enterprise Resource Planning) Systems has become parallel with business process management and data and so is the reason ERP is sorted most over all other business intelligence tools. 
Few of the most commonly deployed ERPs are Microsoft Dynamics AX, SAP and others. 
Though the claims may vary from business to business, industry to industry, here are few reasons why choose Microsoft Dynamics AX over SAP.



Employee Productivity

Dynamics AX users saw increase in employee productivity and easy business process management.  The usability of Dynamics AX enables employees to adapt to the system and thereby benefitting the business than before. The easy to use and fully integrated business management solution of AX, delivers a holistic approach to the development of the company as well as of the employees.

Low TOC

On the whole, Dynamics AX delivered better ROI when compared to other ERP solutions. Also AX lowered the TOC (Total Cost of Ownership). Panorama Consulting found that Dynamics users realized the benefits of AX to 81-100% over other major competitors SAP and Oracle.

Self Service BI

With the access to information and tools, the productivity of the business is invariably visible.  The same also exists with SAP but the one BIG difference AX and SAP is that, SAP requires deployment of SAP Business Warehouse which requires its own servers. The case is the same with the latter.  They do not require separate analytics program or expensive add-ons.

Deployment Flexibility 

Business process management is always a never ending one and so are the challenges that are faced by businesses. Dynamics AX ERP Systems provide you the angle of flexibility of deployment, which can be further upgraded in the future.

Ranking

Analysts have ranked Microsoft Dynamics AX, which strengthens the reason to choose AX over SAP.  Here are the few ranking of Dynamics AX.

Gartner, Inc>>"Magic Quadrant for Midmarket and Tier-2 Oriented ERP for Product-Centric Companies"
Nucleus Research>>Lead in its Value Matrix, which is based on functionality and usability (May, 2012).
Forrester Research>>Leader as an Order Management Solution (August, 2010).

Proven Value/ROI

Statistics always remain an integral part of in determining the success of a product.
Here are the key factors which determined the success of Dynamics AX over other ERP Systems.

Dynamics AX customers saw
% by/Months
Increase in productivity
30%
Positive ROI
23
Improved operations and visibility
75%
Reduced staffing cost
75%
Reduced IT costs
44%


Friday, January 2, 2015

Initialize-AXModelStore Needed for CU8

Initialize-AXModelStore Needed for CU8

http://technet.microsoft.com/en-us/library/jj720267.aspx TN this helped me a lot

but the above link only shows to Initialize-AXModelStore for default AOS and DB,

For specific AOS and DB

Example will be:

Initialize-AXModelStore -Server DAXVMSERVER1 -Database MicrosoftDynamicsAX_model

Friday, December 19, 2014

Difference Between AX 2012 R2 and AX 2012 R3 for Developers

Difference Between AX 2012 R2 and AX 2012 R3 for Developers:











Find the excel here http://1drv.ms/1wKYJy9


TN at:

What's new in Microsoft Dynamics AX 2012 R2 cumulative update 7:

http://technet.microsoft.com/en-us/library/dn527179.aspx

What's new in Microsoft Dynamics AX 2012 R3 cumulative update 8:

http://technet.microsoft.com/EN-US/library/dn762135.aspx


Thursday, December 11, 2014

Visual Studio Tools for Microsoft Dynamics AX 2012 R3 CU8 now requires Microsoft Visual Studio 2013

Visual Studio Tools for Microsoft Dynamics AX 2012 R3 CU8 now requires Microsoft Visual Studio 2013


It is important to note what this means.  Development work (ex. Enterprise Portal, SSRS) done in Visual Studio will now be with Microsoft Visual Studio 2013
Note when going to CU8
• Report Viewer 2012 runtime component is required
• Visual Studio Tools (for 2010) will have to be uninstalled via AX setup.exe > Install Microsoft Dynamics AX components > Remove components > under Developer tools mark Visual Studio Tools
• Install Visual Studio 2013 (Professional or higher)
• When going through CU8 installer note the Visual Studio 2013 Dev Tools selection















Download free trail version of Microsoft Visual Studio 2013 https://msdn.microsoft.com/en-us/vstudio/aa718325.aspx

Saturday, December 6, 2014

Learning MS Dynamics AX 2012 Programming by Mohammed Rasheed, Erlend Dalen

Learning MS Dynamics AX 2012 Programming by Mohammed Rasheed, Erlend Dalen








































Develop and customize your very own Microsoft Dynamics AX solution quickly and efficiently!

Buy at:



Tuesday, December 2, 2014

Could not load file or assembly 'Microsoft.Dynamics.AX.Framework.Tools.DMF.PreviewGrid, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Could not load file or assembly 'Microsoft.Dynamics.AX.Framework.Tools.DMF.PreviewGrid, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Error:

Could not load file or assembly 'Microsoft.Dynamics.AX.Framework.Tools.DMF.PreviewGrid, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Error Screen Shot:
































AX: AX 2012 R3, CU8
OS: Windows Server 2012
SQL: SQL 2014

Solution:


We had Two AOS, On 1st AOS it was working but on other, it was now, So as a module it was installed but we need to install additional component as well to use DIXF.

In this case, we need to install DIXF client services from installation media.



Install DIXF client services from AX setup and restart the AOS services.






































Happy AX Infra! 
Thanks & Regards,
Umesh Pandit
Mail ID: pandit.umesh@hotmail.com
Skype ID: pandit.umesh





Wednesday, November 26, 2014

How to Reset production order status as created in AX 2012

How to Reset production order status as created in AX :

Here you go!:

void resetStatusToCreated(ProdTable _prodTable)
{
ProdMultiStatusDecrease  prodMultiStatusDecrease;
ProdParmStatusDecrease   prodParmStatusDecrease;
Args                     args = new Args();
;
if(_prodTable.ProdStatus > prodStatus::Created)
{
args.record(_prodTable);
select prodParmStatusDecrease where prodParmStatusDecrease.ProdId == _prodTable.ProdId;
if(!prodParmStatusDecrease.RecId)
{
prodParmStatusDecrease.clear();
prodParmStatusDecrease.initFromProdTable(_prodTable);
prodParmStatusDecrease.WantedStatus = ProdStatus::Created;
prodParmStatusDecrease.ParmId = NumberSeq::newGetNum(CompanyInfo::numRefParmId()).num();
prodParmStatusDecrease.insert();
}
prodMultiStatusDecrease = prodMultiStatusDecrease::construct(args);
prodMultiStatusDecrease.initParmBuffer(prodParmStatusDecrease);
prodMultiStatusDecrease.parmId(prodParmStatusDecrease.ParmId);
prodMultiStatusDecrease.run();
}
}

Sunday, November 23, 2014

Microsoft Dynamics AX 2012 R3 CU8

Microsoft Dynamics AX 2012 R3 cumulative update 8 


http://technet.microsoft.com/EN-US/library/dn762135.aspx

Tuesday, November 18, 2014

Prerequisites for Dynamics AX 2012 R3 Microsoft Dynamics AX 2012 System Requirements

Prerequisites for Dynamics AX 2012 R3

Main Requirements for Microsoft Dynamics AX 2012 R3 System are:

Supported server operating systems

Windows Server 2012 R2 Standard Edition or
Datacenter Edition

Windows Server 2008 R2 Standard Edition

Supported SQL:

Microsoft SQL Server 2014, Standard Edition,
SQL Server 2008 R2, Standard Edition SP2

Find details at:

http://www.microsoft.com/en-in/download/details.aspx?id=11094

Saturday, November 15, 2014

Error during installation of Enterprise Portal for AX 2012 R3 with SharePoint 2013

Error during installation of Enterprise Portal for AX 2012 R3 with  SharePoint 2013


Error:

"Microsoft SharePoint 2010 is not installed or running. Please run the prerequisite utility for more information. Operation is not valid due to the current state of the object."












Solution:

Check the log file, "C:\Program Files\Microsoft Dynamics AX\60\Setup Logs\".

Setup did not found right site it was in the log was the default one, "SharePoint - 80".

Check IIS and Remove or edit the Web Site causing Setup to fail.

and Rerun the setup again. Now you can select the Enterprise Portal Web Application and continue setup.



Wednesday, November 5, 2014

What's the difference between importing Model Store and Model file?

What's the difference between importing Model Store versus Model file?

A model file is just a part of the whole model store. Normally we often want to install just one model, not everything.

We normally Export and Import the model file via Windows PowerShell (The best tool!) check for more details at: http://technet.microsoft.com/en-us/library/hh352314.aspx

Import of Model Files are followed by Compile>Sync and Full-CIL.

For Model Store we just backup the Model DB and restore it to destination.

Restore Model DB is normally followed by Sync and Full-CIL.


Please refer to documentation for the full understanding: Deploying Customization's Across Microsoft Dynamics AX 2012 Environments. (Link http://technet.microsoft.com/en-us/library/hh292604.aspx)

Note that if you create a new application by installing a module (instead of just moving the application), you have to compile the new application.

What is Model Store in AX 2012 R2?

In Microsoft Dynamics AX 2012, label files, or ALD files, are part of models. A label file must be added to a model before the model can be installed. After a model has been installed, ALD files are pulled from the model store to the local of Application Object Server (AOS) instance when the AOS is started. When the AOS is shut down, the ALD files are pushed back to the model store.

ALD files from earlier versions of Microsoft Dynamics AX are not part of a model file. However, you can import these files into the model store from the Label Files section of the AOT. Use the Create from file shortcut command.

What is Model File in AX 2012 R2?

A model is a set of elements in a given layer. Each layer consists of one or more models. Each layer contains one system-generated model that is specific to that layer. Every element in a layer belongs to only one model. In other words, no element can belong to two models in the same layer, and every element must belong to a model.
A default model owned by Microsoft exists in each layer. Default models cannot be modified.

A model is permanently associated with the layer that the model was created in. If you need to move one of your models from one layer to another, you must create a project from the model in the Application Object Tree (AOT), export the project as an xpo file, create a target model in the desired layer, delete the original model to avoid having to resolve layer conflicts, and import the xpo file to the target model. If you are moving elements between models in the same layer, you can use the Move to model command in the AOT.

Models are stored in the model store. The model store is a database in which all application elements for Microsoft Dynamics AX are stored. Customizations are also stored in the model store. The model store replaces the Application Object Data (AOD) files that were used in earlier versions of Microsoft Dynamics AX. Models that have been installed in the model store are used at run time.

Models can be exported to files that have the .axmodel extension. These files are called model files. Model files are deployment artifacts. Model files can be signed with strong name signing and Microsoft Authenticode signing.

For more info check this link: http://technet.microsoft.com/en-us/library/hh335184.aspx

Thursday, October 16, 2014

Microsoft Dynamics AX 7

Microsoft Dynamics AX 7


Microsoft Dynamics AX '7' on track as a major "technology release"


Though the next major release of Microsoft Dynamics AX has been out of public view, progress continues on AX ‘7', a.k.a. "Rainier", according to Microsoft Dynamics AX R&D general manager Dan Brown.
"We've been quiet on AX ‘7'," acknowledged Brown today at AXUG Summit. But the team has been working toward delivering the next major release in 2015, he said. They have also been working to deliver new cumulative updates for AX 2012 R3 on an ongoing six month cadence.



AX ‘7' will be primarily a technology release, according to Brown, with two primary focus areas. The first goal is the updated user experience that is browser based and that supports mobile clients across many device platforms. The second goal is to support AX in production on Azure to be managed by partners.

How to Show User Name in startup message

How to Show User Name in startup message

1. Go to the Info class AOT-> Classes-> Info.

2. Expand info class and find startup method under that and write below code

UserInfo userinfo;

Select name from userinfo where userinfo.id==curUserId;

Box::info(‘Welcome’+userinfo.name);

3. Close your client and reopen it.

Sunday, October 12, 2014

How to Shutdown AX Client

How to Shutdown AX Client ?

To Shutdown axapta AX, Check this code:

public static void shutdownAxapta()
{
SysGlobalCache cache = appl.globalCache();
info info;
;
cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();
info.shutDown(true);
}

Try this code as well:

static Void DASShutDownAxapta()
{
SysGlobalCache cache = appl.globalCache();
info info;
;

cache.set(classstr(info), identifierstr(Autologoff), true);

info = new info();
info.shutDown(true);
}

instead You can use infolog.shutdown(true); directly

Cost to use Microsoft Dynamics 365 by Umesh Pandit

Cost to use Microsoft Dynamics 365 by Umesh Pandit Understanding the cost of using Microsoft Dynamics 365 can be complex, as it depends on v...

Labels

MSDynamicsAXtips by Umesh Pandit (80) Umesh Pandit AX Blog (80) microsoft Dynamics 365 (3) AX 2012 EP Errors (2) AX 2012 R3 (2) Assembly containing type Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.DmfEntityProxy is not referenced (2) Dynamics AX 2012 R3 (2) Microsoft Dynamics AX 7 (2) Microsoft Dynamics AX Videos (2) Microsoft Dynamics AX build numbers (2) Step by step import with Data Migration Framework in AX 2012 (2) 'C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\XppIL\xml\AppObjects1.xml' is denied. (1) 20% off on Microsoft Dynamics Certification (1) 70-339 Dumps (1) A call to the Microsoft Dynamics AX SRSFramework Service failed (1) A new AX development book (1) A user session on the server could not be created (1) AOS Troubleshooting Tips and Techniques in Microsoft Dynamics AX 2009 (1) AX 2012 Development Virtual Training (1) AX 2012 Hands on Labs (1) AX 2012 Installation & Configuration (1) AX 2012 Model Management (1) AX 2012 R3 CU8 (1) AX 2012 R3 CU8 Supports Microsoft Visual Studio 2013 (1) AX 2012 kernel crash hotfixes (1) AX 2012 posting profile (1) AX Admin Interview Questions (1) AX Administrator Interview Questions (1) AX Configuration for Production (1) AX Scribe Services (1) AX Setup issue (1) AX for ERP: Multiple exchange rates for consolidating entities (1) AX kernel crash hotfixes (1) AX2012R3 (1) AX2012R3 Report Server and Analysis Server Step by Step Installation and Configuration (1) Allow non-administrators RDP Access to Domain Controller (1) An unexpected error has occurred while opening the workflow (1) Apps for Microsoft Dynamics AX (1) AxBuild.exe for Parallel Compile on AOS of X++ (1) Axapta Build Numbers (1) CONVERGENCE 2014 (1) Can multiple instances of Analysis Services be installed in multiple AOS (1) Cannot delete a record in Batch job (BatchJob) (1) Cannot delete batch jobs in the executing or cancelling state (1) Cannot find one or more components SQL Server 2014 (1) Cannot insert multiple records in Security user role (SecurityUserRole). The record already exists (1) Clear cache for AX 2012 via script (1) Complete list of KBs for AX (1) Could not load file or assembly 'Microsoft.Dynamics.AX.DMF.PreviewGrid (1) Could not load file or assembly 'Microsoft.Dynamics.AX.Framework.Tools.DMF.PreviewGrid (1) Create user groups (1) Create user groups in AX 2009 (1) Culture=neutral (1) Customer Driven Upgrade (1) DAX CONVERGENCE 2014 (1) Data Migration Framework in AX 2012 (1) Delete a model file (1) Deleting the Users in the AX 2012 of other domain (1) Deploy the AX client by using Group Policy (1) Developing SSRS Reports for Dynamics AX by Mukesh Hirwani (1) Difference Between AX 2012 R2 and AX 2012 R3 for Developers (1) Difference between Hotfixes Cumulative Update and Service Pack for AX 2012 (1) Disconnected from the AOS (1) Dynamics AX Administrator Interview Questions (1) Dynamics AX exams 20% off (1) E-learning Courses on AX 2012 R3 (1) E-learning on AX 2012 (1) E-learning on AX 2012 R3 (1) EP AX 2009 (1) EP Opening in Notepad issue (1) Enterprise Portal Forms authentication (1) Error System.Security.Permissions.EnvironmentPermission while running report (1) Error in SSRS AX 2012 R3 (1) Exception from HRESULT: 0xC0048021 at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntity.ShowPreview(Boolean isComposite) (1) Export a model file (1) Export and Import Models and Model files in AX 2012 (1) Failed to create a session$ confirm that the user has the proper privileges to log on to Microsoft Dynamics (1) Field Fixed) (1) Fixed Field Relation in AX 2012 (1) Free E-book Enterprise Cloud Strategy- (1) Free ebook: Introducing Microsoft SQL Server 2016! (1) Get Your 15% MCP Exam Discount Code (1) Hands on lab on AX 2012 (1) How do you setup visual studio SSRS Report to point it to production server (1) How many maximum numbers of users per AOS for Microsoft Dynamics AX 2009? (1) How to Create a New Role Center in Dynamics AX 2009 (1) How to Import/Export Model on correct AOS (1) How to Install AX 2009 on windows 7 without Domain (1) How to Install AX 2012 on windows 8 without Domain (1) How to Log in as different domain user in Microsoft Dynamics AX 2012 (1) How to Log in as different user (1) How to Move Dynamics AX database to different Domain (1) How to Move Dynamics AX database to different Machine (1) How to Move Dynamics AX database to different Server (1) How to Open Visual Studio with a Specific Configuration AX 2012 (1) How to Remove (Uninstall) a Model in AX 2012 R2 (1) How to Reset production order status as created in AX 2012 (1) How to Retail Server Configuration (1) How to Set up the Business Connector proxy user (1) How to Set up the Business Connector proxy user in AX 4.0 (1) How to Setup excel add-in in office 2013 (1) How to Show User Name in startup message (1) How to be MCP (1) How to change sign in url of authentication provider (1) How to check Import-AXModelStore conflict ID details in AX 2012 (1) How to clear cache for AX (1) How to clear cache for AX 2012 R2 in Windows Server 2012 (1) How to clear the transaction log in AX 2012 R3 (1) How to determine the version of Microsoft Dynamics 365 (1) How to drop multiple table from SQL when there is Sync Error (1) How to generate a welcome message while opening the AX 2012 (1) How to get Microsoft certified (1) How to get the SID for AX (1) How to get the SID for AX 2012 (1) How to get the SID for Windows Server 2012 R2 (1) How to import Data with Data Migration Framework in AX 2012 (1) How to install AX client in multiple computers (1) How to install AX client in multiple systems (1) How to install CU7 (1) How to install CU7 for Microsoft Dynamics AX 2012 R2 (1) How to install Retail Server Installation (1) How to install and setup ax 2012 excel add-in in office 2013 (1) How to install multiple instances of Analysis Services on multiple AOS (1) How to learn AX (1) How to set up auto logout in Microsoft Dynamics AX (1) How to setup Report Server and Analysis Server in AX2012R3 (1) How to solve The CIL generator found errors and could not save the new assembly (1) Import Model Store AX 2012 by Creating the Temporary schema (1) Import Model Store in AX 2012 R2\R3by Creating the Temporary schema (1) Import a model file (1) Importing Data to Microsoft Dynamics AX 2012 using Excel Add-in (1) Infrastructure as a Service (1) Initialize-AXModelStore (1) Initialize-AXModelStore Needed for CU8 (1) Install AX 2012 R3 client in Linux (1) Install AX 2012 R3 client in Macbook (1) Introducing Digital Badges for Microsoft Certified Professionals! (1) Invalid class error in SQL SSRS (1) Invalid class error in SQL SSRS AX 20012 (1) Job Description of Microsoft Dynamics AX Administrator (1) Job roles of Microsoft Dynamics AX Administrator (1) Job roles of Microsoft Dynamics AX Functional (1) Job roles of Microsoft Dynamics AX Technical (1) LCS for AX 2012 (1) Layers in AX 2012 (1) Learning MS Dynamics AX 2012 Programming by Mohammed Rasheed Erlend Dalen (1) License information in Dynamics AX 2012 (1) Lifecycle Services for Microsoft Dynamics AX 2012 (1) Lifecycle Services for Microsoft Dynamics User Guide (1) List of Companies Working on AX in India (1) List of Companies Working on Axapta in India (1) List of MNC Working on AX (1) List of New Modules in Microsoft Dynamics AX 2012 R3 (1) List of table in AX 2012 should be taken backup while restoring the database (1) MB6-705 Dumps (1) MB6-705 Microsoft Dynamics AX 2012 R3 CU8 Installation and Configuration (1) MCP Exam Discount Code 2014 (1) MS Dynamics AX 2012 (1) Mainstream support for Microsoft Dynamics POS 2009 (1) Making Advanced Analytics Simple and Scalable : SQL Server 2016 R Services (1) Management Reporter Videos (1) Management Reporter has not yet been configured on the server.within the Management Reporter Configuration Console. (1) Managing Microsoft SharePoint Server 2016 Dumps (1) Measuring Complexity In X++ Code by Anders Tind Sørensen (1) Microsoft Azure (IaaS) Cost Estimator Tool Step-By-Step (1) Microsoft Azure Enterprise Cloud Strategy- Free E-book (1) Microsoft Cloud (1) Microsoft Dynamics 365 version (1) Microsoft Dynamics 365 will end jobs of Microsoft Dynamics AX Administrators (1) Microsoft Dynamics AX Infrastructure Planning (1) Microsoft Dynamics AX 2009 AOS Troubleshooting tips (1) Microsoft Dynamics AX 2012 (1) Microsoft Dynamics AX 2012 Installation Guide (1) Microsoft Dynamics AX 2012 Layers (1) Microsoft Dynamics AX 2012 Posting Profile Concept (1) Microsoft Dynamics AX 2012 R3 CU8 (1) Microsoft Dynamics AX 2012 R3 Development Cookbook (1) Microsoft Dynamics AX 2012 R3 Development Cookbook.pdf (1) Microsoft Dynamics AX 2012 R3 Support Extension Announcement (1) Microsoft Dynamics AX 2012 R3 will no longer be available for new customers (1) Microsoft Dynamics AX 2012 Reporting Cookbook by Kamalakannan Elangovan (1) Microsoft Dynamics AX 2012 Reporting extensions (1) Microsoft Dynamics AX 2012 Security How-To by Ahmed Mohamed Rafik Moustafa (1) Microsoft Dynamics AX 2012 Services (1) Microsoft Dynamics AX 2012 System Requirements (1) Microsoft Dynamics AX 2012 in Windows Azure (IaaS) (1) Microsoft Dynamics AX 2015 (1) Microsoft Dynamics AX 4.0 Implementation Guide (1) Microsoft Dynamics AX Community (1) Microsoft Dynamics AX Configuration for Production (1) Microsoft Dynamics AX Growth rate (1) Microsoft Dynamics AX Mobile Capabilities (1) Microsoft Dynamics AX Scope (1) Microsoft Dynamics AX Session Types (1) Microsoft Dynamics Axapta (1) Microsoft Dynamics Community (1) Microsoft Dynamics Community Site Enhancements (July 2014 Release) (1) Microsoft Dynamics NAV Training and Certification Details (1) Microsoft Dynamics RMS (1) Microsoft DynamicsAXInfrastructure (1) Microsoft Exam 70-339 Dumps (1) Microsoft Exam 70-339 Managing Microsoft SharePoint Server 2016 (1) Microsoft Products Full-featured evaluations at no cost (1) Microsoft Rainier (1) Microsoft SQL Server Management Studio Opening Error (1) Microsoft SharePoint 2010 is not installed or running. Please run the prerequisite utility for more information. Operation is not valid due to the current state of the object. (1) Microsoft Timeline (1) Microsoft dynamics AX 2012 R3 training (1) Microsoft training courses Dynamics 365 (1) Model Management in AX 2012 (1) New Microsoft training courses for Dynamics 365 (1) New Modules in AX 2012 R3 (1) Object Server 01: Fatal SQL condition during login. Error message: "The internal time zone version number stored in the database is higher than the version supported by the kernel (8/7). (1) Overview of AX kernel crash hotfixes (1) Parallel Compile on AOS of X++ (1) Parallel Compile on AX (1) Prerequisites for Dynamics AX 2012 R3 (1) PublicKeyToken=31bf3856ad364e35 (1) Publish-AXReport –Id SSRSConfigID (1) Quality Assurance for Dynamics AX (1) Query to clear logs in AX 2012 (1) Rainier AX (1) Recover a database that is in the "restoring" state (1) Related Field Fixed (1) Responsibilities Related to Microsoft Dynamics AX Administration (1) Restore the DB Form Source to Destination in Microsoft Dynamics AX 2012 R3 (1) Retail Server Installation and Configuration (1) Retake Microsoft Certification Exam for Free Microsoft (1) Run AX as different user for AX 2012 (1) Run as Administrator (1) SSRS Subscriptions cannot (1) SSRS Subscriptions cannot be created because the credentials used (1) SSRS subscription via email (1) Script to Clear the cache for AX 2012 R3 CU8 via Script (1) Secure your Dynamics AX 2012 environment Umesh Pandit AX Blog (1) Set a startup message in AX 2009 (1) Set a startup message in AX 2012 (1) Setting up Email Subscriptions in SSRS (1) Shortcut keys in AX 2012 (1) Shortcut keys in AX 2012 R2 (1) Shutdown AX application (1) Slipstream updates in AX (1) Slipstream updates in AX 2012 R3 CU8 (1) Slow less in AX 2012. (1) Soar to New Heights with Dynamics AX 2015 (1) Step by Step installation of AX 2009 on Stand Alone System (1) System.Web.Services.Protocols.SoapException: An attempt has been made to use a data extension 'AXADOMD' (1) Table Relations (Normal (1) Table Relations Normal Related Field Fixed Field Fixed in AX 2012 (1) The 'Metadata' property is read-only and cannot be set (1) The Growing ERP Microsoft Dynamics AX (1) The Microsoft Timeline (1) The Model Store Has Been Modified - AX2012 R3 CheckList (1) The corresponding AOS Validation failed. (1) The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs. (1) The report server installation is not initialized. (rsReportServerNotActivated) in AX 2012 (1) The slips treaming process in AX 2012 R3 CU8 (1) The target principal name is incorrect in SSRS AX 2012 R3 (1) The user or group name 'umeshp\AX2012R3' is not recognized while publishing the report via powershell (1) The user or group name is not recognized Error in SSRS AX 2012 R3 (1) Things to consider for Microsoft Dynamics AX Infrastructure (1) Things you did not know about Microsoft Dynamics AX 2012 R3 (1) Things you did not know about Microsoft Dynamics AX 2012 R3 - Dynamics AX Expert Opinion - Microsoft Dynamics AX (1) This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms (1) Today I Passed the Microsoft Exam 70-533 Implementing Microsoft Azure Infrastructure Solutions (1) Today I Passed the Microsoft Exam 70-534 Architecting Microsoft Azure Solutions (1) Top 10 New and Improved Features of Project Accounting Module in Microsoft Dynamics AX 2012 (1) Unable to deploy AX 2012 Reporting Extensions on SQL Server 2012 Reporting Server (1) Unable to preview the report install the Business Intelligence Development Studio feature of Microsoft SQL Server For more information (1) Unable to shrink the transaction log in AX 2012 R3 (1) Understanding Opportunities in AX2009 – CRM Module (1) UserInfo (1) Version=6.2.0.0 (1) Version=6.3.0.0 (1) Visual Studio 2010 connection to Dynamics AX 2012 (1) Visual Studio 2013 Dev Tools selection for AX 2012 R3 CU8 (1) Visual Studio Tools AX 2012 R3 CU8 (1) What are AX Build Numbers (1) What are Axapta Build Numbers (1) What is CDU in Microsoft Dynamics 365 (1) What is Microsoft Dynamics AX (1) What is Microsoft Dynamics AX (Microsoft Axapta) (1) What is Microsoft Timeline (1) What is Model File in AX 2012 R2 (1) What is Model Store in AX 2012 R2 (1) What is R3 in AX 2012 (1) What is the between Differences Dynamics CRM and Dynamics AX CRM (1) What is the between Similarities in Dynamics CRM and Dynamics AX CRM (1) What is the maximum number of Client per AOS? (1) What's the difference between importing model store versus model file (1) Whats new in AX 2012 R3 (1) Which Microsoft certification will give job (1) Which is best Microsoft Dynamics AX or SAP (1) Which table store License information in Dynamics AX 2012 (1) Why AX Is Slow (1) Why Freshers Should get microsoft certification (1) Why choose Microsoft Dynamics AX over SAP (1) WiFi not working on Windows Server 2012 R2 (1) Windows 8 Apps for Microsoft Dynamics AX (1) Windows Server 2012 (1) Working with Models in AOT (1) You Do not hold Employment in the current legal entity. New Documents cannot be created. (1) an unexpected exception for report AutoReport in ax 2012 R3 (1) auto logout in Microsoft Dynamics AX (1) autorun.hta is not a valid win32 application (1) configure WiFi for Windows 2012 R2 Server OS installed on Laptop (1) difference between Business User Developer Administrator in AX 2012 R3 Installation (1) e- procurement in AX 2012 (1) how to Import Data to Microsoft Dynamics AX 2012 using Excel Add-in (1) how to add users in Domain Controller for RDP access (1) how to run as administrator for ax 2012 client (1) info.shutDown(true) (1) kill AX user session (1) microsoft Dynamics 365 where to start (1) microsoft Dynamics 365 where to start by umesh pandit (1) restoring database issue in AX2012 (1) service unavailable http error 503 in AX 2012 R3 (1) shutdown AX automatically (1) shutdown axapta automatically (1) slipstream process in AX 2012 R3 CU8 (1) ssrs subscription setting for email (1) umes (1) umesh (1) ​Support is extended to provide Microsoft Dynamics AX 2012 R3 (1) “Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics” (1)