Jump to content
Software FX Community

Unable to install ChartFX on Windows 2003


User (Legacy)
 Share

Recommended Posts

I have a production web server running ChartFX Internet 5.5 on Windows 2000

SP4. The CfxIESrv.dll file is version 5.5.10.3. We create a chart from

Visual Basic 6 SP6 code using:

Set objChart = New ChartfxLib.ChartFX

With objChart

.Chart3D = False

.Gallery = SCATTER

'... heaps more code

.GetHtmlDataEx iGraphSizeWidth, iGraphSizeHeight, "Png", 7, vData,vMap

End With

Then we save vData and vMap to temporary disk files and serve them via a

HREF from a dynamically created page. This has worked beautifully for a few

years.

Now we want to migrate our web server to Windows 2003. I've installed the

latest ChartFx Internet 5.5, version 5.5.14.0, which we had to use because

of the hyper-threaded processor in the new server. This version gives an

error "ActiveX component can't create object" on the first line of code

above. I've tried granting Everyone permissions to the Program Files\CfxIE,

Program Files\Common Files\Software FX Shared and WINNT\Fonts folders

without success. I've also tried manually registering cfxiesrv.dll.

I then tried installing on my development PC. When running in the VB IDE

the chart works. When running the same code but compiled to a DLL it

doesn't work. Sounds like something to do with COM type libraries.

I don't believe I can use ChartFx Client Server because I need the

GetHtmlDataEx method for the PNG file format and image maps, and that only

comes with ChartFX Internet. I therefore think I'm using the correct

product for the task.

Does anyone have any further suggestions that I can try?

Thanks, Derek

Link to comment
Share on other sites

Our servers are running both Win2003 and ChartFX 5.5.14.0 without any 

issues.

Are you sure the software was installed by a user with Administrative

permissions ?

Did you get an error message when registering CfxIESrv.dll ?

>> When running the same code but compiled to a DLL it doesn't work

Are you running this on your dev machine or on your server ?

--

Regards,

JC

Software FX Support

"Derek Campbell" <derek.campbell@fowles.com.au> wrote in message

news:VmNLvKOiEHA.3152@webserver3.softwarefx.com...

>I have a production web server running ChartFX Internet 5.5 on Windows 2000

> SP4. The CfxIESrv.dll file is version 5.5.10.3. We create a chart from

> Visual Basic 6 SP6 code using:

>

>

> Set objChart = New ChartfxLib.ChartFX

> With objChart

> .Chart3D = False

> .Gallery = SCATTER

> '... heaps more code

> .GetHtmlDataEx iGraphSizeWidth, iGraphSizeHeight, "Png", 7, vData,vMap

>

> End With

>

> Then we save vData and vMap to temporary disk files and serve them via a

> HREF from a dynamically created page. This has worked beautifully for a

> few

> years.

>

> Now we want to migrate our web server to Windows 2003. I've installed the

> latest ChartFx Internet 5.5, version 5.5.14.0, which we had to use because

> of the hyper-threaded processor in the new server. This version gives an

> error "ActiveX component can't create object" on the first line of code

> above. I've tried granting Everyone permissions to the Program

> Files\CfxIE,

> Program Files\Common Files\Software FX Shared and WINNT\Fonts folders

> without success. I've also tried manually registering cfxiesrv.dll.

>

> I then tried installing on my development PC. When running in the VB IDE

> the chart works. When running the same code but compiled to a DLL it

> doesn't work. Sounds like something to do with COM type libraries.

>

> I don't believe I can use ChartFx Client Server because I need the

> GetHtmlDataEx method for the PNG file format and image maps, and that only

> comes with ChartFX Internet. I therefore think I'm using the correct

> product for the task.

>

> Does anyone have any further suggestions that I can try?

>

> Thanks, Derek

>

>

>

Link to comment
Share on other sites

The software was installed with Administrator permissions

Manually registering using "C:\Program Files\CfxIE\Server>regsvr32

cfxiesrv.dll" gave the message "DllRegisterServer in cfxiesrv.dll

succeeded." In the registry there is an entry for

HKEY_CLASSES_ROOT\ChartFX.WebServer, but none for ChartFXLib.ChartFX.

I have tried installing on a development workstation, a development server

and the new production server, with the same results on all three. They are

Win2K workstation, Win2K server and Win2003 server. I understand your

licencing policy, and they will not remain there once this is debugged and

in production.

Was there a change in the type libraries between 5.5.10.3 and 5.5.14.0 to

remove access to the ChartFXLib.ChartFX class?

Thanks,

Derek

"Software FX Support" <noreply> wrote in message

news:Yydi$fXiEHA.3080@webserver3.softwarefx.com...

> Our servers are running both Win2003 and ChartFX 5.5.14.0 without any

> issues.

>

> Are you sure the software was installed by a user with Administrative

> permissions ?

> Did you get an error message when registering CfxIESrv.dll ?

>

> >> When running the same code but compiled to a DLL it doesn't work

>

> Are you running this on your dev machine or on your server ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Derek Campbell" <derek.campbell@fowles.com.au> wrote in message

> news:VmNLvKOiEHA.3152@webserver3.softwarefx.com...

> >I have a production web server running ChartFX Internet 5.5 on Windows

2000

> > SP4. The CfxIESrv.dll file is version 5.5.10.3. We create a chart from

> > Visual Basic 6 SP6 code using:

> >

> >

> > Set objChart = New ChartfxLib.ChartFX

> > With objChart

> > .Chart3D = False

> > .Gallery = SCATTER

> > '... heaps more code

> > .GetHtmlDataEx iGraphSizeWidth, iGraphSizeHeight, "Png", 7,

vData,vMap

> >

> > End With

> >

> > Then we save vData and vMap to temporary disk files and serve them via a

> > HREF from a dynamically created page. This has worked beautifully for a

> > few

> > years.

> >

> > Now we want to migrate our web server to Windows 2003. I've installed

the

> > latest ChartFx Internet 5.5, version 5.5.14.0, which we had to use

because

> > of the hyper-threaded processor in the new server. This version gives an

> > error "ActiveX component can't create object" on the first line of code

> > above. I've tried granting Everyone permissions to the Program

> > Files\CfxIE,

> > Program Files\Common Files\Software FX Shared and WINNT\Fonts folders

> > without success. I've also tried manually registering cfxiesrv.dll.

> >

> > I then tried installing on my development PC. When running in the VB IDE

> > the chart works. When running the same code but compiled to a DLL it

> > doesn't work. Sounds like something to do with COM type libraries.

> >

> > I don't believe I can use ChartFx Client Server because I need the

> > GetHtmlDataEx method for the PNG file format and image maps, and that

only

> > comes with ChartFX Internet. I therefore think I'm using the correct

> > product for the task.

> >

> > Does anyone have any further suggestions that I can try?

> >

> > Thanks, Derek

> >

> >

> >

>

>

Link to comment
Share on other sites

I've just tried uninstalling 5.5.14.0 on the development web server and

re-installing 5.5.10.3, and I get the same "ActiveX component can't create

object" error. That looks like the problem might have happened earlier than

5.5.10.3 and been lurking around until I reinstalled it.

Is there some other dll that a call to GetHtmlDataEx depends on that I may

have problems with?

"Derek Campbell" <derek.campbell@fowles.com.au> wrote in message

news:5tR0j8XiEHA.3152@webserver3.softwarefx.com...

> The software was installed with Administrator permissions

>

> Manually registering using "C:\Program Files\CfxIE\Server>regsvr32

> cfxiesrv.dll" gave the message "DllRegisterServer in cfxiesrv.dll

> succeeded." In the registry there is an entry for

> HKEY_CLASSES_ROOT\ChartFX.WebServer, but none for ChartFXLib.ChartFX.

>

> I have tried installing on a development workstation, a development server

> and the new production server, with the same results on all three. They

are

> Win2K workstation, Win2K server and Win2003 server. I understand your

> licencing policy, and they will not remain there once this is debugged and

> in production.

>

> Was there a change in the type libraries between 5.5.10.3 and 5.5.14.0 to

> remove access to the ChartFXLib.ChartFX class?

>

> Thanks,

> Derek

>

> "Software FX Support" <noreply> wrote in message

> news:Yydi$fXiEHA.3080@webserver3.softwarefx.com...

> > Our servers are running both Win2003 and ChartFX 5.5.14.0 without any

> > issues.

> >

> > Are you sure the software was installed by a user with Administrative

> > permissions ?

> > Did you get an error message when registering CfxIESrv.dll ?

> >

> > >> When running the same code but compiled to a DLL it doesn't work

> >

> > Are you running this on your dev machine or on your server ?

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Derek Campbell" <derek.campbell@fowles.com.au> wrote in message

> > news:VmNLvKOiEHA.3152@webserver3.softwarefx.com...

> > >I have a production web server running ChartFX Internet 5.5 on Windows

> 2000

> > > SP4. The CfxIESrv.dll file is version 5.5.10.3. We create a chart from

> > > Visual Basic 6 SP6 code using:

> > >

> > >

> > > Set objChart = New ChartfxLib.ChartFX

> > > With objChart

> > > .Chart3D = False

> > > .Gallery = SCATTER

> > > '... heaps more code

> > > .GetHtmlDataEx iGraphSizeWidth, iGraphSizeHeight, "Png", 7,

> vData,vMap

> > >

> > > End With

> > >

> > > Then we save vData and vMap to temporary disk files and serve them via

a

> > > HREF from a dynamically created page. This has worked beautifully for

a

> > > few

> > > years.

> > >

> > > Now we want to migrate our web server to Windows 2003. I've installed

> the

> > > latest ChartFx Internet 5.5, version 5.5.14.0, which we had to use

> because

> > > of the hyper-threaded processor in the new server. This version gives

an

> > > error "ActiveX component can't create object" on the first line of

code

> > > above. I've tried granting Everyone permissions to the Program

> > > Files\CfxIE,

> > > Program Files\Common Files\Software FX Shared and WINNT\Fonts folders

> > > without success. I've also tried manually registering cfxiesrv.dll.

> > >

> > > I then tried installing on my development PC. When running in the VB

IDE

> > > the chart works. When running the same code but compiled to a DLL it

> > > doesn't work. Sounds like something to do with COM type libraries.

> > >

> > > I don't believe I can use ChartFx Client Server because I need the

> > > GetHtmlDataEx method for the PNG file format and image maps, and that

> only

> > > comes with ChartFX Internet. I therefore think I'm using the correct

> > > product for the task.

> > >

> > > Does anyone have any further suggestions that I can try?

> > >

> > > Thanks, Derek

> > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Some further info. I tried uninstalling 5.5.14.0 and re-installing 5.5.10.3

on my workstation, but that gave the same error so the problem must be

related to something earlier than the current version, that uninstalling has

made visible.

I have tried a simple experimental ASP page of

<html><body>

<% Set objChart = Server.CreateObject("ChartFX.WebServer") %>

</body></html>

but that fails with:

Active Server Pages, ASP 0241 (0x80004005)

The CreateObject of '(null)' caused exception C0000005.

I also found a reference in the ChartFX Programmer's Guide to SfxBar.dll.

This file wasn't on my workstation (removed by uninstall?), so I copied it

from my production server and registered it but that didn't change anything.

"Derek Campbell" <derek.campbell@fowles.com.au> wrote in message

news:5tR0j8XiEHA.3152@webserver3.softwarefx.com...

> The software was installed with Administrator permissions

>

> Manually registering using "C:\Program Files\CfxIE\Server>regsvr32

> cfxiesrv.dll" gave the message "DllRegisterServer in cfxiesrv.dll

> succeeded." In the registry there is an entry for

> HKEY_CLASSES_ROOT\ChartFX.WebServer, but none for ChartFXLib.ChartFX.

>

> I have tried installing on a development workstation, a development server

> and the new production server, with the same results on all three. They

are

> Win2K workstation, Win2K server and Win2003 server. I understand your

> licencing policy, and they will not remain there once this is debugged and

> in production.

>

> Was there a change in the type libraries between 5.5.10.3 and 5.5.14.0 to

> remove access to the ChartFXLib.ChartFX class?

>

> Thanks,

> Derek

>

> "Software FX Support" <noreply> wrote in message

> news:Yydi$fXiEHA.3080@webserver3.softwarefx.com...

> > Our servers are running both Win2003 and ChartFX 5.5.14.0 without any

> > issues.

> >

> > Are you sure the software was installed by a user with Administrative

> > permissions ?

> > Did you get an error message when registering CfxIESrv.dll ?

> >

> > >> When running the same code but compiled to a DLL it doesn't work

> >

> > Are you running this on your dev machine or on your server ?

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Derek Campbell" <derek.campbell@fowles.com.au> wrote in message

> > news:VmNLvKOiEHA.3152@webserver3.softwarefx.com...

> > >I have a production web server running ChartFX Internet 5.5 on Windows

> 2000

> > > SP4. The CfxIESrv.dll file is version 5.5.10.3. We create a chart from

> > > Visual Basic 6 SP6 code using:

> > >

> > >

> > > Set objChart = New ChartfxLib.ChartFX

> > > With objChart

> > > .Chart3D = False

> > > .Gallery = SCATTER

> > > '... heaps more code

> > > .GetHtmlDataEx iGraphSizeWidth, iGraphSizeHeight, "Png", 7,

> vData,vMap

> > >

> > > End With

> > >

> > > Then we save vData and vMap to temporary disk files and serve them via

a

> > > HREF from a dynamically created page. This has worked beautifully for

a

> > > few

> > > years.

> > >

> > > Now we want to migrate our web server to Windows 2003. I've installed

> the

> > > latest ChartFx Internet 5.5, version 5.5.14.0, which we had to use

> because

> > > of the hyper-threaded processor in the new server. This version gives

an

> > > error "ActiveX component can't create object" on the first line of

code

> > > above. I've tried granting Everyone permissions to the Program

> > > Files\CfxIE,

> > > Program Files\Common Files\Software FX Shared and WINNT\Fonts folders

> > > without success. I've also tried manually registering cfxiesrv.dll.

> > >

> > > I then tried installing on my development PC. When running in the VB

IDE

> > > the chart works. When running the same code but compiled to a DLL it

> > > doesn't work. Sounds like something to do with COM type libraries.

> > >

> > > I don't believe I can use ChartFx Client Server because I need the

> > > GetHtmlDataEx method for the PNG file format and image maps, and that

> only

> > > comes with ChartFX Internet. I therefore think I'm using the correct

> > > product for the task.

> > >

> > > Does anyone have any further suggestions that I can try?

> > >

> > > Thanks, Derek

> > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...