Discussion:
Problems with Gantt-chart
(too old to reply)
mortenm
2007-09-25 07:50:03 UTC
Permalink
Hi!

A few weeks ago we installed DAX 4.0 SP2. We have SP1 and SP2 installed on
our servers and on our clients. The gantt-chart worked ok with SP1. But when
we installed SP2 it stopped working, both in SP1 and SP2. We also have a
server running only 4.0 SP1, on this server everything is working as it is
supposed to.

We get the following errors:
1: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
2: ActXBaseControl::Open failure
3: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
4: ActXBaseControl::Open failure
5: The form opens with the error "Error when loading NETRONIC VARCHART
XGantt"

We have tried to use regsvr32.exe /u ...\vcgantt.ocx for all vcgantt.ocx on
the client. Then we registered the vcgantt.ocx from SP2 once again. But we
still have the errors.

Has anybody seen this error? Do you know how to fix it?

Best regards,
Morten Mile
Freezie
2007-09-27 20:13:04 UTC
Permalink
The DIS layer for SP1 had a fix to make Gantt charts work and Microsoft have
not deployed it to SP2. They said they are now working on a DIS layer for SP2
and the Gantt fix will be included in this.
Post by mortenm
Hi!
A few weeks ago we installed DAX 4.0 SP2. We have SP1 and SP2 installed on
our servers and on our clients. The gantt-chart worked ok with SP1. But when
we installed SP2 it stopped working, both in SP1 and SP2. We also have a
server running only 4.0 SP1, on this server everything is working as it is
supposed to.
1: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
2: ActXBaseControl::Open failure
3: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
4: ActXBaseControl::Open failure
5: The form opens with the error "Error when loading NETRONIC VARCHART
XGantt"
We have tried to use regsvr32.exe /u ...\vcgantt.ocx for all vcgantt.ocx on
the client. Then we registered the vcgantt.ocx from SP2 once again. But we
still have the errors.
Has anybody seen this error? Do you know how to fix it?
Best regards,
Morten Mile
Khushhal
2007-10-11 22:07:01 UTC
Permalink
Hi

I am also getting the same error. I tried DIS layer as well as unregistering
and then registering the vcgantt.ocx file but still getting this error. It is
coming only in our custom application and there is no customization related
to Gantt Chart. I attached standard AX 4.0 application with my database and
not getting this error. If anyone can help that would be great.

Thanks,
Khushhal
Post by Freezie
The DIS layer for SP1 had a fix to make Gantt charts work and Microsoft have
not deployed it to SP2. They said they are now working on a DIS layer for SP2
and the Gantt fix will be included in this.
Post by mortenm
Hi!
A few weeks ago we installed DAX 4.0 SP2. We have SP1 and SP2 installed on
our servers and on our clients. The gantt-chart worked ok with SP1. But when
we installed SP2 it stopped working, both in SP1 and SP2. We also have a
server running only 4.0 SP1, on this server everything is working as it is
supposed to.
1: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
2: ActXBaseControl::Open failure
3: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
4: ActXBaseControl::Open failure
5: The form opens with the error "Error when loading NETRONIC VARCHART
XGantt"
We have tried to use regsvr32.exe /u ...\vcgantt.ocx for all vcgantt.ocx on
the client. Then we registered the vcgantt.ocx from SP2 once again. But we
still have the errors.
Has anybody seen this error? Do you know how to fix it?
Best regards,
Morten Mile
hhickey
2007-12-26 18:01:00 UTC
Permalink
Hello

Has anyone found a fix for this issue? We seem to be experiencing similar
issues. Standard works but it is our custom application that is throwing
this error.

Thanks!!
Heather
DavidK
2008-02-11 08:37:00 UTC
Permalink
Hi,

We get the same error. Somehow I think it has to do with the eastern
european localization layer but I don't know for sure.

Best regards

David K
Post by hhickey
Hello
Has anyone found a fix for this issue? We seem to be experiencing similar
issues. Standard works but it is our custom application that is throwing
this error.
Thanks!!
Heather
Sloth
2008-02-11 17:31:09 UTC
Permalink
Hi All -

You need to unregister all existing Vcgantt.ocx files (I have 6 files on my
machine) and then re registered the Vcgantt.ocx file used by SP2. The SP2
version of the file.

Here is an example of unregistering:

regsvr32.exe /u "C:\Program Files\Microsoft Dynamics
AX\401\Clientsp1\Bin\vcgantt.ocx"

Change the path for each ocx file found.

Here is an example of registering the SP2 version of the Vcgantt.ocx file:

regsvr32.exe "C:\Program Files\Microsoft Dynamics
AX\40\Client\Bin\vcgantt.ocx"

Restart the AOS and test.

Sloth
Post by DavidK
Hi,
We get the same error. Somehow I think it has to do with the eastern
european localization layer but I don't know for sure.
Best regards
David K
Post by hhickey
Hello
Has anyone found a fix for this issue? We seem to be experiencing similar
issues. Standard works but it is our custom application that is throwing
this error.
Thanks!!
Heather
DavidK
2008-02-12 07:28:03 UTC
Permalink
Thanks but already tried that and didn't help.

I did a new clean SP2 installation which eastern europe. I then downloaded
the customers SYS and GLS layers and exchanged that, and got the same
problem. The problem is in the application not elsewhere.
Post by Sloth
Hi All -
You need to unregister all existing Vcgantt.ocx files (I have 6 files on my
machine) and then re registered the Vcgantt.ocx file used by SP2. The SP2
version of the file.
regsvr32.exe /u "C:\Program Files\Microsoft Dynamics
AX\401\Clientsp1\Bin\vcgantt.ocx"
Change the path for each ocx file found.
regsvr32.exe "C:\Program Files\Microsoft Dynamics
AX\40\Client\Bin\vcgantt.ocx"
Restart the AOS and test.
Sloth
Post by DavidK
Hi,
We get the same error. Somehow I think it has to do with the eastern
european localization layer but I don't know for sure.
Best regards
David K
Post by hhickey
Hello
Has anyone found a fix for this issue? We seem to be experiencing similar
issues. Standard works but it is our custom application that is throwing
this error.
Thanks!!
Heather
HenrikG
2008-09-09 13:34:13 UTC
Permalink
This post might be inappropriate. Click to display it.
unknown
2008-10-16 07:42:45 UTC
Permalink
I've found the cause of the reason.
While comparing 2 xpo files (Gantt Form exported from problem and normal working AX applications) i've noticed, that they differ in the following way:
"BINARY ENDBINARY" xpo-file Section of the Gantt Form from problem AX application
contained no data !!!
Then i copied the BINARY block from the working Gantt-Form xpo file, imported it back to the problem AX Application - and it started to work as expected.

As you've probably noticed it has nothing to do with the registration/unregistration of COM-server. It's a bug in AX application (core, technical).

Hope it will help somebody,
Andriy
unknown
2008-10-16 07:45:53 UTC
Permalink
I've found the cause of the reason.

While comparing 2 xpo files (Gantt Form exported from problem and normal working AX applications) i've noticed, that they differ in the following way:

"BINARY ENDBINARY" xpo-file Section of the Gantt Form from problem AX application
contained no data !!!

Then i copied the BINARY block from the working Gantt-Form xpo file, imported it back to the problem AX Application - and it started to work as expected.

As you've probably noticed it has nothing to do with the registration/unregistration of COM-server. It's a bug in AX application (core, technical).

Hope it will help somebody,

Andriy
Klaus
2011-12-12 13:49:13 UTC
Permalink
Hello Andriy,

it is also exact my problem, and after iam import the form GanttWrkCtr from a the AX system, which works, the problem as solved.

thank you very much
best regards
klaus
Post by mortenm
Hi!
A few weeks ago we installed DAX 4.0 SP2. We have SP1 and SP2 installed on
our servers and on our clients. The gantt-chart worked ok with SP1. But when
we installed SP2 it stopped working, both in SP1 and SP2. We also have a
server running only 4.0 SP1, on this server everything is working as it is
supposed to.
1: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
2: ActXBaseControl::Open failure
3: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
4: ActXBaseControl::Open failure
5: The form opens with the error "Error when loading NETRONIC VARCHART
XGantt"
We have tried to use regsvr32.exe /u ...\vcgantt.ocx for all vcgantt.ocx on
the client. Then we registered the vcgantt.ocx from SP2 once again. But we
still have the errors.
Has anybody seen this error? Do you know how to fix it?
Best regards,
Morten Mile
Post by Freezie
The DIS layer for SP1 had a fix to make Gantt charts work and Microsoft have
not deployed it to SP2. They said they are now working on a DIS layer for SP2
and the Gantt fix will be included in this.
Post by Khushhal
Hi
I am also getting the same error. I tried DIS layer as well as unregistering
and then registering the vcgantt.ocx file but still getting this error. It is
coming only in our custom application and there is no customization related
to Gantt Chart. I attached standard AX 4.0 application with my database and
not getting this error. If anyone can help that would be great.
Thanks,
Khushhal
Post by hhickey
Hello
Has anyone found a fix for this issue? We seem to be experiencing similar
issues. Standard works but it is our custom application that is throwing
this error.
Thanks!!
Heather
Post by DavidK
Hi,
We get the same error. Somehow I think it has to do with the eastern
european localization layer but I do not know for sure.
Best regards
David K
Post by Sloth
Hi All -
You need to unregister all existing Vcgantt.ocx files (I have 6 files on my
machine) and then re registered the Vcgantt.ocx file used by SP2. The SP2
version of the file.
regsvr32.exe /u "C:\Program Files\Microsoft Dynamics
AX\401\Clientsp1\Bin\vcgantt.ocx"
Change the path for each ocx file found.
regsvr32.exe "C:\Program Files\Microsoft Dynamics
AX\40\Client\Bin\vcgantt.ocx"
Restart the AOS and test.
Sloth
Post by DavidK
Thanks but already tried that and didn't help.
I did a new clean SP2 installation which eastern europe. I then downloaded
the customers SYS and GLS layers and exchanged that, and got the same
problem. The problem is in the application not elsewhere.
Post by HenrikG
I found a solution to this issue, but it may not apply to the rest of you. I
had a modification on the form using the gantt ActiveX control which had been
upgraded from a previous version. Somehow AX internally stores som info on
the ActiveX control in the form object, including som version/licensing info.
If I deleted the modification the error disappeared. So I reimplemented the
modification from scratch and then the error was gone. Just exporting and
importing the form did not work. It seems that this versioning/licensing info
is saved in the .xpo file as well.
But if this problem is in your local GLS layer, I suppose you will have to
ask Microsoft for a corrected layer.
/Henrik
Post by unknown
I've found the cause of the reason.
"BINARY ENDBINARY" xpo-file Section of the Gantt Form from problem AX application
contained no data !!!
Then i copied the BINARY block from the working Gantt-Form xpo file, imported it back to the problem AX Application - and it started to work as expected.
As you've probably noticed it has nothing to do with the registration/unregistration of COM-server. It's a bug in AX application (core, technical).
Hope it will help somebody,
Andriy
Post by unknown
I've found the cause of the reason.
"BINARY ENDBINARY" xpo-file Section of the Gantt Form from problem AX application
contained no data !!!
Then i copied the BINARY block from the working Gantt-Form xpo file, imported it back to the problem AX Application - and it started to work as expected.
As you've probably noticed it has nothing to do with the registration/unregistration of COM-server. It's a bug in AX application (core, technical).
Hope it will help somebody,
Andriy
Post by saeidu
Hi guys,
I had a similar problem, I have a sever with Axapta V3, AX V4 SP2 & AX2009,
all running side by side on a windows 2008 server.
As I had installed Axapta V3 first the Gantt file path in the registry was
pointing to the Axapta V3 installation. and the Gantt chart would not load in
AX V4 and AX2009
I went into the registry and searched on the word GANTT, and changed every
reference from ‘Axapta V3’ to ‘c:/program files/Microsoft Dynamics AX
/common’ and the Gantt chart now works both in AX V4 and AX2009
(if using the above method make sure that you repalce it with the path of
youe V4 vcgannt.ocx installation)
Not sure if this is the same as your problems but hope it helps
Saeid Ullah
__
Yes, it is works! My solution - just export SYS layer of this form, rip BINARY block from this export, and put it to my USR export. Import back and all works!
saeidu
2008-12-15 14:11:01 UTC
Permalink
Hi guys,

I had a similar problem, I have a sever with Axapta V3, AX V4 SP2 & AX2009,
all running side by side on a windows 2008 server.

As I had installed Axapta V3 first the Gantt file path in the registry was
pointing to the Axapta V3 installation. and the Gantt chart would not load in
AX V4 and AX2009

I went into the registry and searched on the word GANTT, and changed every
reference from ‘Axapta V3’ to ‘c:/program files/Microsoft Dynamics AX
/common’ and the Gantt chart now works both in AX V4 and AX2009
(if using the above method make sure that you repalce it with the path of
youe V4 vcgannt.ocx installation)

Not sure if this is the same as your problems but hope it helps

Saeid Ullah
***@hotmail.com
__
Post by mortenm
Hi!
A few weeks ago we installed DAX 4.0 SP2. We have SP1 and SP2 installed on
our servers and on our clients. The gantt-chart worked ok with SP1. But when
we installed SP2 it stopped working, both in SP1 and SP2. We also have a
server running only 4.0 SP1, on this server everything is working as it is
supposed to.
1: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
2: ActXBaseControl::Open failure
3: Loading the interface (C:\Programfiles\Microsoft Dynamics
AX\40SP2\Client\Bin\vcgantt.ifd) failed
4: ActXBaseControl::Open failure
5: The form opens with the error "Error when loading NETRONIC VARCHART
XGantt"
We have tried to use regsvr32.exe /u ...\vcgantt.ocx for all vcgantt.ocx on
the client. Then we registered the vcgantt.ocx from SP2 once again. But we
still have the errors.
Has anybody seen this error? Do you know how to fix it?
Best regards,
Morten Mile
Loading...