OWC Charts not properly showing up (security permissions?)

S

STeve

Hey guys,

I just want to thank you guys in advance. I am currently having
problems displaying some dynamically generated charts using office web
components.

If I am an admin on the server, I can view all the generated charts
with no problem. However if I am not an admin on the server only some
of the charts get loaded and on some pages I get this error:

Library not registered 8002801d

and it happens on lines like these:
set chtSpace = server.CreateObject("OWC11.chartSpace")
set cht = chtSpace.Charts.add
set chtConstants = chtSpace.Constants
set chtSpace.DataSource = spdsht
cht.haslegend = true
cht.hastitle = false
set chtSeries = cht.seriescollection.add
chtSeries.Type = chtConstants.chChartTypePieExploded3D
chtSeries.setdata chtConstants.chDimCategories,
chtConstants.chDataBound, "A1:A" & rowCount
chtSeries.setdata chtConstants.chDimValues, chtConstants.chDataBound,
"B1:B" & rowCount
*set chtDataLabels = chtSeries.DataLabelsCollection.add
*chtDataLabels.hasvalue = true

It happens on the (*) asterik lines. Due to the fact that it only
happens when users who aren't administrators try and view the charts
leads me to believe that this has to do with security/registry
permission settings.

Any ideass?

Thanks,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top