Run-time Error 432: File name or class name not found during OLE Automation operation

Technote (troubleshooting)


Problem(Abstract)

Run-time Error 432: File name or class name not found during OLE Automation operation

Resolving the problem

ABSTRACT:
This error occurs when the Rose script CreateObject() command reference a COM
server which has not been registered. Manually registering the appropriate
library file removes the error.
******

SYMPTOM:
When running reportgen.ebs or related Rose scripts, this error is reported and
the script stops:
"Run-time error 432: File name or class name not found during OLE Automation
operation"


CAUSE:
The library file rvsreportgenres.dll in Rose 2003 is not registered in the
Windows Registry.

The error occurs on line from reportgen.ebs:

Private resIFace As Object
Public Function GetResourceString(resourceID As Long) As String

If (resIFace Is Nothing) then
Set resIFace =
CreateObject("rvsreportgenres.rvsrepgeninterface")
End If

GetResourceString = resIFace.GetString(resourceID)
End Function)


This error will be seen if the CreateObject() command attempts to reference any
OLE Automation server which has not been registered.


RESOLUTION:
Manually register the required library in the Windows Registry using this
command:

C:\> C:\WINNT\Regsvr32 "c:\program files\rational\rose\rvsreportgenres.dll"

Change the paths to "regsvr32.exe" and the "Rational" directory to match your
system's configuration. The command example shows the default locations.

Historical Number

190637411

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Rose Enterprise

Software version:

2003.06.00

Operating system(s):

All Platforms

Reference #:

1119454

Modified date:

2010-11-23

Translate my page

Machine Translation

Content navigation