gantt chart

Hi All,

I am getting error like at the of opening the Gantt in ax2009

Gantt chart has not been initialized correctly and might not work properly.

Method ‘dataTableCollection’ is not supported by the Automation interface of the COM object of class ‘_DVcGantt’.

Hi,

If your OS is 64bit and client running on 32bit(means your client installation is found under …\Program files(x86)…) this error will occur…

this error is because of vcgantt.ocx file.

To solve this error.

  1. if “vcgantt.ocx” file exists at “C:\Program Files\Microsoft Dynamics AX\Common” un-register this file using following command other wise go to step 2.

Regsvr32 "C:\Program Files\Microsoft Dynamics AX\Common\vcgantt.ocx " \u

Register “vcgantt.ocx” file from “C:\Program Files (x86)\Microsoft Dynamics AX\Common” using following command

regsvr32 "C:\Program Files (x86)\Microsoft Dynamics AX\Common\vcgantt.ocx "

That’s all…

Thanks & Regards,
Mehul Thacker

Hi Mehul.

I am having the same issue as Hardik.

I followed your description and was able to un-register the first file, but when I tried to register the second file I got the following error:-

The module "C:\Program Files (x86)\Microsoft Dynamics AX\Common\vcgantt.ocx " failed to load.

Make sure the binary is stored at the specific path or debug it to check for problems with the binary or dependant .DLL files.

The specific module could not be found.

Any ideas?

Thanks & regards,

Stuart