Create Object Error in ASP
Create Object Error in ASP
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!
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!
Hi,
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.
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.the server displayed an error "ActiveX is unable to create the object: 'TeeChart.TChart'".
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.
No, I doubt.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?
Pep Jorge
http://support.steema.com
http://support.steema.com
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.Pep wrote:Hi,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.the server displayed an error "ActiveX is unable to create the object: 'TeeChart.TChart'".
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.
Please Help!
Have you tried doing :
unregister TeeChart :
regsvr32 "C:\My Path\teechart7.ocx" /u
and register again:
regsvr32 "C:\My Path\teechart7.ocx"
?
unregister TeeChart :
regsvr32 "C:\My Path\teechart7.ocx" /u
and register again:
regsvr32 "C:\My Path\teechart7.ocx"
?
Pep Jorge
http://support.steema.com
http://support.steema.com
1. How could I completely uninstall the TeeChartPro?Pep wrote:Have you tried doing :
unregister TeeChart :
regsvr32 "C:\My Path\teechart7.ocx" /u
and register again:
regsvr32 "C:\My Path\teechart7.ocx"
?
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?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Tanrich,
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.
For ASP applications you should use TeeChart7.ocx, for ASP.NET applications you need TeeChart.dll
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
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.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?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Oh, Great! Please send me the document of "Upgrading from TeeChart v5" to my email: jimmy.liem@tanrich.comnarcis wrote: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.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?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Tanrich,
Ok, I've just sent them.
Ok, I've just sent them.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |