Search code examples
comvb6asp-classicoffice-web-components

Office web component 11 - ActiveX component cant create object


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

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?


Solution

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