Error "ClassFactory cannot supply requested class" - Unable to apply patch

(Last modified: 07Oct2005)

This document (10099183) is provided subject to the disclaimer at the end of this document.

goal

Applying Novell patches to Microsoft Windows Servers

Applying Patch SECUPD8

fact

Microsoft Windows 2003 Enterprise Server

Microsoft Windows 2000 Server

Microsoft Windows NT Server

Any other patch downloaded from the Novell website for the Windows platform

symptom

Error "ClassFactory cannot supply requested class"

Installation routine exits and will not complete

Error Code 800040111 

cause

We used filemon to trace the activity of the installation routine and locate the point at which the failure occured.  It was evident was that the VB Script was not creating the versioning batch file on the fly required to ascertain existing versions prior to installing the update. 

Since this patch had been successfully installed on several other Microsoft Windows servers in the environment, a version compare was performed against the copies of Microsoft's script engine (wscript.exe) running on those servers.  The problem server was version 5.1, all other servers were v5.6

fix

Installed Version 5.6 of Microsoft's Script which can be located here:

Windows Script 5.6 for Windows XP and Windows 2000

note

Although this issue was discovered with patch SECUPD8,  a lot of Novell patches for the Windows platfrom include an installation routine that utilises visual basic scripts. 

Therefore it is correct to assume that the same error when applying a different patch could be resolved by ensuring the correct version of Windows Script is installed.

document

Document Title: Error "ClassFactory cannot supply requested class" - Unable to apply patch
Document ID: 10099183
Solution ID: NOVL103752
Creation Date: 05Oct2005
Modified Date: 07Oct2005
Novell Product Class:novell directory services

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.