Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Office Web Component problem

Status
Not open for further replies.

mawhitmore

Programmer
Mar 2, 2003
4
EU
Dear all,

Not sure whether this should be here or in the IIS or NT forum as I'm not certain where the problem lies.

I have installed the Windows XP Office Web Component on an NT 4 machine (SP 6) running IIS. The installation ran perfectly, but when I try to call a chart object from an ASP page an error is returned stating the library is not registered.

Has anyone encountered this problem before and have a solution?

TIA,

Mark
 
I have seen a lot of problems occur in the past with trying to use office components in a website. First, and foremost, it is strictly against the licence to hand out the objects, in order for a user to use an office component in a web page they must have a version of Office running on their own machine. Secondly, each version of office has different components, they may look the same, but they are not. The easiest way to check this is to compare installation versions, the hard way isd to check the actual class id's for the objects.

Added to this is the fact that sometimes these objects are dependant on other packages on the machine (ie, other packages that are added during a standard office install). If you only attempt to register the component on the system it is possible there is a library it is trying to access that isn't on the system.

Generally it isn't a good idea to use these objects in web pages unless your guaranteed that everyone will be running the same version (or compatible versions) of Office.

-Tarwn ________________________________________________
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Hi Tarwn,

Thanks for the response. I'm quite luck with the users for this app as it is an intranet-based one and I can pretty much guarantee the office version. Also I've looked into the licensing, and the run-time version seems to be free to distribute.

I do have a licnsed copy of Office XP running on the intranet server, and have managed to get a couple of graphs to display from the sample code available from MS.

I'll keep working on it though, hopefully I'll be able to get it to do what I want it to.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top