About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
This technote explains how to resolve an Run-time error '91' error, that can occur when using IBM Rational RequisitePro.
Symptom
Error message "Run-time error '91': Object variable or With block variable not set", in ReqWeb, when you create a new requirement from a document in Edit mode
Cause
If in a project exists a requirement type that contains in the name an "&" character the error message appears to all documents in the project.
To reproduce this behavior:
- In a project, create a requirement type, with Name: "Functional & Non-functional Reqs" (for example).
- Any document in this project, will have this error when you create a new requirement from a document in Edit mode. In ReqWeb, open any document and select Edit to have a document in Edit mode.
- In the downloaded document, select text and try to create a new requirement (either clicking on the Create requirement button going to RequisiteWeb > Requirement > New Mark, or RequisiteWeb > Requirement >New Wizard)
- The error will be thrown, see image:
- Pressing debug shows the following
Resolving The Problem
To resolve this issue, remove the "&" from the requirement type name.
[{"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"RequisiteWeb: Offline Documents","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.1.0.2;7.1.0.3;7.1.1;7.1.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
More support for:
Rational RequisitePro
Software version:
7.1.0.2, 7.1.0.3, 7.1.1, 7.1.1.1
Operating system(s):
Windows
Document number:
400023
Modified date:
16 June 2018
UID
swg21420591
Manage My Notification Subscriptions