Fix Runtime Error 91

In this article, we will discuss a few instances of runtime error 91 that you may encounter with Microsoft products. We will also provide you insight on how to avoid common runtime errors.

Error 1

You may encounter the following errors with Microsoft Business Solutions for Analytics-FRx 6.7 Desktop and FRx Financial Reporter 6.5 applications when generating a report in an XML/Enhanced XML format:

“Runtime error ‘91’: Object Variable or With block variable not set”

“Error 59999 – Application-defined or Object-defined”

Cause of the Error

The above errors are generated due to insufficient permissions on the FRxXMLTag.XML file.

Resolution Method

To fix runtime error 91, log in as an Administrator and browse to the FRx directory. Next, locate and right-click on the FRxXMLTag.XML file. Click Properties. On the Security tab in the Properties dialog box, add the Everyone group, select Full Control and then click the OK button to save the changes.

Error 2

You may receive the following error in Microsoft Business Solutions for Analytics-FRx 6.7 desktop and FRx Financial Reporter 6.5 during report generation:

"No financial rows to display; Runtime error 91 object variable not found."

Cause of the Error

The above error occurs if some data is corrupt.

Recommended Solution

To fix the problem, try compacting the FRx Databases or delete and rebuild the Indexes. If the problem persists, try creating a new catalog with the same reporting building blocks.

Tips to avoid common runtime errors

The two most common causes of runtime errors are – malware infection and a corrupt Windows registry. Malware infection and an unhealthy registry collectively or independently have the potential of causing serious damage and recurring errors on your computer. The bright side is that such problems can be easily avoided.

To avoid errors, including runtime errors that occur due to malware infection, install robust antivirus and antispyware tools, such as STOPzilla Antivirus and Spyware Cease on your computer. It is also recommended that you regularly update these security tools with the latest malware definitions and security updates to keep your Windows computer safe from the latest malware.

Further, perform regular registry scans using reliable registry cleaning software, such as RegServe to ensure your Windows registry is clean and healthy. The registry is a critical component of a Windows computer and you may receive recurring errors if the registry is corrupt or damaged.

Runtime errors may also occur if you have insufficient memory or if some memory modules are damaged. To ensure efficient functioning of your computer, be sure to maintain sufficient RAM. You may also seek the help of a reliable memory management tool to run periodic memory health check-ups.