IBM Support

RequisitePro fails with error when launching: Object Variable or With block variable not set

Troubleshooting


Problem

When you try to launch IBM Rational RequisitePro client for Windows (RequisitePro), it might display an error and the application does not display. "Runtime Error: Object variable or With block variable not set(RqWordServices.Win32API,78,91)"

Symptom

Try to launch RequisitePro in a system where Microsoft Office has never been installed or if uninstalling Microsoft Office, the path (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office) is deleted.

These are the error messages you will receive:

First error is a warning => Runtime Error: Object Variable or With block variable not set(RqWordServices.Win32API,78,91)



Click OK, and the second error appears:
a non-continuable Smalltalk/V Protection violation has occurred. Check ERROR.LOG file.



Click OK, and the third error appears:
requisitepro.exe has stopped working

Cause

The problem occurs only in a system that has never Office installed or if unistalling Office the path (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office) is deleted. Once it is installed, a path (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office) is created in the registry. If this path does not exist then it causes RequisitePro to fail.

A defect has been identified and is being tracked as APAR PM36888.

Resolving The Problem

A workaround has been identified:

  1. Verify the actual state so the problem is still reproducible
  2. Close any RequisitePro window
  3. Double click on the OfficeKey.reg (attached below). It will install the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office] key
  4. Then verify the problem does not happen anymore. Technote 1258343 Smalltalk/V error: a non-continuable protection violation has occurred, when starting RequisitePro also should be applied in this point if a similar issue still there.


OfficeKey.reg
If the OfficeKey.reg does not create the key you can create manually the path in the registry like this [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office]

REGISTRY EDITS:

This solution contains information about modifying the system registry. Before making any modifications to the Microsoft Registry Editor, it is strongly recommended that you make a backup of the existing registry. For more information describing how to back up the registry, refer to Microsoft Knowledge Base article 256986


[{"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.1.1.5;7.1.2.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
Rational RequisitePro

Software version:
7.1.1.5, 7.1.2.2

Operating system(s):
Windows

Document number:
157115

Modified date:
16 June 2018

UID

swg21496530

Manage My Notification Subscriptions