Showing posts with label AX error. Show all posts
Showing posts with label AX error. Show all posts

Monday, February 24, 2014

SOLVED : A table, Extended Data Type, Base Enum or class called TableName already exists. Import of Table aborted.

If during import of XPO file, we get the following error.

 A table, Extended Data Type, Base Enum or class called TableName already exists. Import of Table aborted.

This error is basically due to cache and ID mismatch problems for the related ojbects, 

Solution
Cache files - close the client, delete files .AUC files in cache directory:
* C:\Documents and Settings\[USERNAME]\Local Settings\Application Data for Win Xp or Server 2003,
* C:\Users\[USERNAME]\AppData\Local for Vista/Win7.

...and reopen the client, tyr import again.

Hope this helps

Sunday, February 2, 2014

SOLVED : The AOS 'Name@2712' cannot be reached. Setup cannot continue.Verify that you entered the correct server information an that the AOS is running.

While trying to install the reporting services for AX 2012, i can across the following error on the setup.

The AOS 'Name@2712' cannot be reached. Setup cannot continue.Verify that you entered the correct server information an that the AOS is running.


This error is basically because the SetupSupport files pick the wrong/previous/deleted configuration for the Setup. The trick here is that along with the configuration what we fail to update is the Business Connected Proxy Account on the configuration, which normally points to the old server.



Solution :
Navigate to The Client Configuration from Administrative Tools, and change the Client Target to Local Client , and change the configuration to point to the correct AOS.
Navigate to Client Configuration Again, and change the Client Target to Business Connector, and point to the New AOS. :) 
Hope this helps :)
happy Daxing

Monday, January 6, 2014

X++ : Filter Enum Values on Form lookup Ax 2012 / Ax 2009


Often there are requirements/ design changes, where we need to filter and display on a few enum values in a Form lookup, For this purpose we can use the following code.
This code basically filters the enum based on the values from Set.


public class FormRun extends ObjectRun
{
    SysFormEnumComboBox         sysFormEnumComboBox;
    Set                         enumSet;// = new Set(Types::Enum);
}
In init method :

enumSet= new Set(Types::Enum);
    enumSet.add(MetalType::Gold);
    enumSet.add(MetalType::Silver);
    enumSet.add(MetalType::Palladium);
    enumSet.add(MetalType::Platinum);

    sysFormEnumComboBox  = sysFormEnumComboBox::newParameters(element,element.controlId(formControlStr(TTMetalRateCreate,acunder)),enumNum(MetalType),enumSet);



Hope This Helps
happy Daxing.

Monday, December 16, 2013

SOLVED : The specified client configuration does not contain valid WCF settings AX 2012, AX 2009

"The specified client configuration does not contain valid WCF settings". We often encounter this error when we create new client configurations for Dynamics AX. These are the steps which i followed to solve.
                                    
Do the following to fix the issue:
   Navigate to : Computer> Programs> Administrative Tools 
  1. Open the .axc where this issue was being seen in the Microsoft Dynamics AX Configuration Utility.
  2. Click on the 'Connection' tab
  3. Click on the 'Refresh' button and wait for the process to complete.Click on the 'Configure Services'