March 03, 2015

The table WHSWorkLineCycleCount does not contain the method WHSWorkTable.

Hi Folks,

Today i just got this error message for "WHSWorkLineCycleCount" table.  while there is no changes in standard objects. Have a look on below case and share your suggestion and feedback as well. Here i am sharing my experience with the same.

Compilation error:
The table WHSWorkLineCycleCount does not contain the method WHSWorkTable.

CIL Error:
CIL generation: Warning: CIL could not be generated for X++ method WHSWorkTableForm.sourceButton_clicked due to X++ compile errors. This method throws an exception if run as CIL.

Possible Reason:
After the configuration key "Warehouse and Transportation management" is disabled, you will get above compilation and CIL error on standard AX 

Solutions:
1. Add one method in table WHSWorkLineCycleCount named WHSWorkTable
To fix it on your environment, simply create a method with name whsWorkTable() on the WHSWorkLineCycleCount table, that returns the corresponding work based on the relation field 
2. You can also try below hotfix:
http://support2.microsoft.com/hotfix/KBHotfix.aspx?kbnum=3001197&kbln=en-in

-Harry

March 02, 2015

Unable to save . This version of Menu FixedAssets belongs to a lower application object layer

Error: Unable to save . This version of Menu FixedAssets belongs to a lower application object layer

Solution:
Clear your cache

image

Try to save now.

-Harry

February 18, 2015

After upgrading my windows from 8 to 8.1, my dynamics ax is not working

Hi Folks,

Recently one of my collogue just update his OS from windows 8 to windows 8.1 and AX just stop working… :(  When he trying to start my AOS services its gives below error message

clip_image001

If you open event log you will found this error

Object Server 01: The home directory for Axapta (C:\WINDOWS\system32\) does not match the required structure or can not be accessed. Please check installation, configuration and access rights.”

AND

“Object Server 01: The directory "C:\WINDOWS\system32\\bin" does not exist or access to it has been denied by the operating system.”

AND

“Object Server 01: Error accessing registry: Cannot open key SYSTEM\CurrentControlSet\Services\Dynamics Server\6.0\01. Error code: 0”

Possible reason :
Open AX server configuration from administrator tools. Here you would see it completely empty

clip_image003

clip_image005

The problem is that registry keys located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\ were deleted during the update.

clip_image006

To resolve this issue You can create manually registry entry (That can be a difficult task if you are not friendly with windows registry editor), OR just reinstall the AOS and it will work.

(To open registry editor open “RUN” enter “regedit” and hit enter)

BUT…. At the end of the day its not recommended for PROD or LIVE server you can do this R&D only and only on your local or DEV environment.
All the best guys…..

-Harry

February 14, 2015

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

Hi Folks,

While setup the DIXF parameter using click on DIXF-> Setup-> DIXF parameter. System throws below error

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

Object 'CLRObject' could not be created

image



Possible reason: There can be multiple reason for this issue, here i am share which i faced. In AX 2012 R3, you will found module for DIXF even if didn’t install DIXF from setup.


image





Solution: Above mention error come because you are trying to set parameter without installing its component (Service, Server and Client). Just install those component from setup file and restart the AOS service. Now this error should not bother you this time. :)

There is one more link for same issue, may be this will also help you.


- Harry