views:

89

answers:

2

I have an classic ASP application which calls a VB6 activeX dll component. The DLL uses Office web component(v11.0) to create spread sheet. I'm getting an error when i try to create an instance of OWC11 Spread sheet.

Dim oSS As OWC11.Spreadsheet
Set oSS = New OWC11.Spreadsheet -- ActiveX component can't create object(error id 429)

The following code works perfectly in my Test environment, but fails in my production server. Both my Test and Prod environment uses Windows Server 2003 SE.

Additional information:-
OWC11.DLL version - 12.0.6502.5000 in test environment
OWC11.DLL version - 12.0.4518.1014 in prod environment

The following service packs are updated in the Production server
KB976569
KB979909
KB980773
KB976765
KB976576
KB981793

Can this issue be due to the Service Pack updates???

A: 

Have you tried reinstalling the OWC11 package on the server?

It sounds like one or more of your dependencies for OWC11.dll are either missing or unregistered.

Heather
I will try to re-install OWC11 and let you know. Can this issue be due to difference in the OWC.dll in test and production. I got a mail from web hosting administrator that it can be reason... check this link http://www.vbaccelerator.com/insprob.htm
Kannabiran
Yes, this can absolutely happen on differing versions of a DLL.
Heather
I think I have found the problem... production server's OWC.dll verion is 12.0.4518.1014, but my dev server verion is 12.0.6502.5000(this is due to some service pack installation that updated the dll)
Kannabiran
A: 

The production server's OWC.dll verion is 12.0.4518.1014, but my dev server verion is 12.0.6502.5000(this is due to service pack installation that updated the dll). To reproduce the issue I created a sample VB project that refers owc11(..6502.) and then tried to the run the exe in the machine that has OWC11(.*.4518.*) and I got the "429 - ActiveX component can't create object".

Kannabiran