Page 1 of 1

Create Object Error in ASP

Posted: Fri Jan 13, 2006 2:44 am
by 9529760
I've just installed the TeeChart Pro v7.0 to my webserver, but it seem doesn't work with those ASP. I've tried to view those ASP examples, but the server displayed an error "ActiveX is unable to create the object: 'TeeChart.TChart'".

What's the problem with my installation? I've purchased a Developer License and a Web Server Run-Time License, and got 2 license numbers, but the web server run-time license doen't have password, does that due to this problem?

Thanks for help!

Posted: Sun Jan 15, 2006 5:04 pm
by Pep
Hi,
the server displayed an error "ActiveX is unable to create the object: 'TeeChart.TChart'".
Have you uninstalled the Eval version before to install the registered one ? If not, try to uninstall al the installed versions ( trial and registered ) and then install only the registered.
If the problem persists then try to change the following line in the source of ASP file :
Set Chart1 = CreateObject("TeeChart.TChart")
by this one :
Set Chart1 = CreateObject("TeeChart.TChart.7")
If this solves the problem would mean that you have more than one TeeChart ActiveX version (which is suported changing the last number).
If the problem still happens then the problem could be related with the IIS permissions.
What's the problem with my installation? I've purchased a Developer License and a Web Server Run-Time License, and got 2 license numbers, but the web server run-time license doen't have password, does that due to this problem?
No, I doubt.

Posted: Mon Jan 16, 2006 2:16 am
by 9529760
Pep wrote:Hi,
the server displayed an error "ActiveX is unable to create the object: 'TeeChart.TChart'".
Have you uninstalled the Eval version before to install the registered one ? If not, try to uninstall al the installed versions ( trial and registered ) and then install only the registered.
If the problem persists then try to change the following line in the source of ASP file :
Set Chart1 = CreateObject("TeeChart.TChart")
by this one :
Set Chart1 = CreateObject("TeeChart.TChart.7")
If this solves the problem would mean that you have more than one TeeChart ActiveX version (which is suported changing the last number).
If the problem still happens then the problem could be related with the IIS permissions.
Thx for your help first! I found that after I change the code to "TeeChart.TChart.7", it still can't create the object. So what should I check with the IIS? I've tried to install the software with many computer, including Windows 2000 server and Windows XP, some installed TeeChartEval but already uninstalled.
Please Help!

Posted: Mon Jan 16, 2006 8:43 am
by Pep
Hi,

yes, first of all which error number are you getting ?

Posted: Mon Jan 16, 2006 9:55 am
by 9529760
Pep wrote:Hi,

yes, first of all which error number are you getting ?
HTTP 500.100

Posted: Tue Jan 17, 2006 1:52 am
by 9529760
And!

When I try to register the TeeChart.dll with the 'regsvr32 /i TeeChart.dll' command, it shows the following message:

TeeChart.dll was loaded, but the DllRegisterServer entry point was not found.
Cannot Register this file.

Posted: Fri Jan 20, 2006 12:03 pm
by Pep
Have you tried doing :

unregister TeeChart :
regsvr32 "C:\My Path\teechart7.ocx" /u

and register again:
regsvr32 "C:\My Path\teechart7.ocx"

?

Posted: Tue Jan 24, 2006 8:19 am
by 9529760
Pep wrote:Have you tried doing :

unregister TeeChart :
regsvr32 "C:\My Path\teechart7.ocx" /u

and register again:
regsvr32 "C:\My Path\teechart7.ocx"

?
1. How could I completely uninstall the TeeChartPro?

2. And which module should I use for generating chart for ASP?

TeeChart7.ocx or TeeChart7.dll?

3. In fact, the webpage was using TeeChart v5 to develop, when I tried to upgrade to TeeChart7, it has problem to generate the chart, how could it be solved?

Posted: Tue Jan 24, 2006 8:57 am
by narcis
Hi Tanrich,
1. How could I completely uninstall the TeeChartPro?


The easiest way is using the Uninstall option at TeeChart's program group. Otherwise you can use the command line instructions that Pep posted in his message.
2. And which module should I use for generating chart for ASP?

TeeChart7.ocx or TeeChart7.dll?


For ASP applications you should use TeeChart7.ocx, for ASP.NET applications you need TeeChart.dll
3. In fact, the webpage was using TeeChart v5 to develop, when I tried to upgrade to TeeChart7, it has problem to generate the chart, how could it be solved?
You should use the "Upgrading from TeeChart v6" instructions at the TeeCharts program group. If you need the "Upgrading from TeeChart v5" instructions as well we will gladly send them to you.

Posted: Tue Jan 24, 2006 10:46 am
by 9529760
narcis wrote:
3. In fact, the webpage was using TeeChart v5 to develop, when I tried to upgrade to TeeChart7, it has problem to generate the chart, how could it be solved?
You should use the "Upgrading from TeeChart v6" instructions at the TeeCharts program group. If you need the "Upgrading from TeeChart v5" instructions as well we will gladly send them to you.
Oh, Great! Please send me the document of "Upgrading from TeeChart v5" to my email: jimmy.liem@tanrich.com

Posted: Tue Jan 24, 2006 10:51 am
by narcis
Hi Tanrich,

Ok, I've just sent them.