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.
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.
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.
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.
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.