Share this article

Improve this guide

Runtime Error 91: What Does It Mean & How to Fix It

Give a try to these quick fixes now

5 min. read

Updated onOctober 4, 2023

updated onOctober 4, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

The Runtime Error 91: Object variable or With block variable not setis a common run time error that occurs on Windows systems. This error is quite puzzling as it pops up randomly in several instances, such as when installing a program, shutting down your PC, or updating Windows to the latest version.

Why do I encounter the runtime error 91 in Windows?

Why do I encounter the runtime error 91 in Windows?

Insufficient permissions on the FRxXMLTag.XML file located in the FRx directory are the primary cause for the run time error 91. Apart from this, other reasons can be:

Interestingly, his guide offers a couple of workarounds to get past this error on your Windows PC.

How can you fix the runtime error 91?

How can you fix the runtime error 91?

Before we proceed to implement the workarounds listed below, you should perform the following tasks:

If the error persists, try the solutions listed below:

1. Check your PC for viruses and malware

Viruses and malware can cause a serious blow to your computer, causing runtime error 91 and similar errors. By running a malware scan, you can detect and eradicate any malicious software that may be causing the runtime error.

If you rely on athird-party antivirus, use it to run a full system scan and get rid of the malware and viruses.

2. Configure DCOMCnfg.exe settings

DCOM (Distributed Component Object Model) is a Microsoft technology that enables software components to communicate on a network.

The DCOMCnfg.exe allows users to configure the settings for DCOM objects, and if misconfigured can give rise to errors like the one at hand. Configuring the DCOM config settings will help you solve the Runtime Error 91 so that your computer can work flawlessly as before.

3. Disable Add-ins

Add-ins are additional programs that can be attached to the Microsoft Office applications such as Microsoft Word to enhance its functionality.

These add-ins load along with the Word app, but sometimes they get corrupt and conflict with the app causing runtime time errors. You can disable the add-ins in Word to resolve the runtime error 91 during the app launch.

4. Grant full control to the FRxXMLTag.XML file

If you encounter the runtime error when generating an error report in XML/Enhanced XML format in Microsoft Business Solutions for Analytics-FRx and FRx Financial Reporter, you should modify the permissions for the FrxXMlTag.XML file.

That’s it! The solutions listed here should have helped fix the runtime error 91 to get things up and running.

If you are looking for fixes to resolve theruntime error code 0x80029c4a, you can refer to this guide.

Which of the solutions above helps you resolve the runtime error 91 in Windows? Let us know in the comments section.

More about the topics:Runtime Errors

Taiba Hasan

A postgraduate in Computer Applications, she is an avid technical writer who loves to craft content revolving around Windows, Android, and emerging technologies like SaaS. With How-To and troubleshooting guides, she aims to provide the best solutions for the problem and make technology less complicated for novice users.

Besides writing, she also loves to cook delicacies and spent time in her garden. In her free time, you will find her binge-watching web series or gazing the night sky.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Taiba Hasan