Create Object Error in ASP

TeeChart for ActiveX, COM and ASP
Post Reply
Tanrich
Newbie
Newbie
Posts: 7
Joined: Wed Dec 28, 2005 12:00 am

Create Object Error in ASP

Post by Tanrich » Fri Jan 13, 2006 2:44 am

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!

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Sun Jan 15, 2006 5:04 pm

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.

Tanrich
Newbie
Newbie
Posts: 7
Joined: Wed Dec 28, 2005 12:00 am

Post by Tanrich » Mon Jan 16, 2006 2:16 am

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!

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jan 16, 2006 8:43 am

Hi,

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

Tanrich
Newbie
Newbie
Posts: 7
Joined: Wed Dec 28, 2005 12:00 am

Post by Tanrich » Mon Jan 16, 2006 9:55 am

Pep wrote:Hi,

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

Tanrich
Newbie
Newbie
Posts: 7
Joined: Wed Dec 28, 2005 12:00 am

Post by Tanrich » Tue Jan 17, 2006 1:52 am

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.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Jan 20, 2006 12:03 pm

Have you tried doing :

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

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

?

Tanrich
Newbie
Newbie
Posts: 7
Joined: Wed Dec 28, 2005 12:00 am

Post by Tanrich » Tue Jan 24, 2006 8:19 am

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 24, 2006 8:57 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Tanrich
Newbie
Newbie
Posts: 7
Joined: Wed Dec 28, 2005 12:00 am

Post by Tanrich » Tue Jan 24, 2006 10:46 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 24, 2006 10:51 am

Hi Tanrich,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply