473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

ASP Library not registered 0x8002801D in OWC11.chartspace

Hey guys,

Just want to thank you guys in advance. I am receiving a "library not
registered" error when I am running this code. I am not too sure why
this is happening. I don't get this on the "Server.CreateObject"
line.

Here is the code:

set chtSpace = server.CreateObject("OWC11.ChartSpace")
set cht = chtSpace.Charts.add
set chtConstants = chtSpace.Constants
set chtSpace.DataSource = spdsht
cht.haslegend = false
cht.hastitle = true
cht.title.caption = "PASS VS FAIL GRAPH"
cht.title.font.size = 10
cht.title.font = "Arial"
cht.type = chtConstants.chChartTypeBarStacked100
set chtSeries = cht.seriescollection.add
myRange = wksht.range("A1:A" & asicCount).address(false,false)
chtSeries.setdata chtConstants.chDimCategories,
chtConstants.chDataBound, cstr(myRange)
myRange = wksht.range("B1:B" & asicCount).address(false,false)
chtSeries.setdata chtConstants.chDimValues, chtConstants.chDataBound,
cstr(myRange)
chtSeries.interior.color = RGB(0,255,0)

It is failing on the last line "chtSeries.interior.color" I am unsure
of why this error is occcuring because this page was working before?
Any ideas would be helpful.

Thanks,
Steve
Jul 19 '05 #1
1 5935
reregister the component

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"STeve" <sc***@symcor.com> wrote in message
news:53**************************@posting.google.c om...
Hey guys,

Just want to thank you guys in advance. I am receiving a "library not
registered" error when I am running this code. I am not too sure why
this is happening. I don't get this on the "Server.CreateObject"
line.

Here is the code:

set chtSpace = server.CreateObject("OWC11.ChartSpace")
set cht = chtSpace.Charts.add
set chtConstants = chtSpace.Constants
set chtSpace.DataSource = spdsht
cht.haslegend = false
cht.hastitle = true
cht.title.caption = "PASS VS FAIL GRAPH"
cht.title.font.size = 10
cht.title.font = "Arial"
cht.type = chtConstants.chChartTypeBarStacked100
set chtSeries = cht.seriescollection.add
myRange = wksht.range("A1:A" & asicCount).address(false,false)
chtSeries.setdata chtConstants.chDimCategories,
chtConstants.chDataBound, cstr(myRange)
myRange = wksht.range("B1:B" & asicCount).address(false,false)
chtSeries.setdata chtConstants.chDimValues, chtConstants.chDataBound,
cstr(myRange)
chtSeries.interior.color = RGB(0,255,0)

It is failing on the last line "chtSeries.interior.color" I am unsure
of why this error is occcuring because this page was working before?
Any ideas would be helpful.

Thanks,
Steve

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Craig Hillyard | last post by:
I'm having trouble after installing SUS Service pack 1 onto a webserver, the following is error is generated! Any suggestions anybody? HTTP 500.100 - Internal Server Error - ASP error...
0
by: Grant Ord | last post by:
On Windows 2000 Inetinfo.exe verson 4.02.0622 GetScriptEngineInfo= VBScript Version 5.6.8515 In an ASP page I get the following error Error Type: (0x8002801D) Library not registered....
1
by: deyan | last post by:
Dear All, I can't make my IIS 5 to work. I have W2000 Pro and SP3. Installed IIS 5 and i can start and stop IIS service no problem. When i go to my browser IE 5.5 SP3 and type localhost i get...
0
by: Roberto Barrantes | last post by:
I installed Yukon Beta 2 in a computer with windows server 2003 when I tried to create a Data Transformation Project I got the following error: Failed to open package file "C:\Documents and...
3
by: Leslie | last post by:
Is this the place to ask for more reference information on the chartspace object? I'm trying to modify some examples in MSDN to create an xlscatterplot chart and need to know how to find the...
1
by: Stefan Hirtbach | last post by:
Hi, I wrote a small program in C#, using OWC11, that fills data in an excelsheet and save it to disk as xls-file (using the Export-function). It works well with Office 2003 but i've got problems...
0
by: DanB | last post by:
I am trying to send a mail message from a web application. I receive the following exception: BTW I have reinstalled Framework 1.0 SP3 after I got this exception the first time. Server Error...
0
by: Jeff K | last post by:
I have been searching and trying to figure out this issue for several days now but I can not find any answers. I have a windows service written in vb dotnet. This service is on a timer. It polls...
0
by: ritesh.singhal | last post by:
Hi, I am trying to do server side office automation. I have a word template which I am trying to populate with data from SQL server but when I try to generate the Word document I get following...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.