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
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