How to Fix Runtime Error 91
Runtime Error 91
Runtime errors are program errors that appear during the program’s “runtime.” They often have specific error codes such as runtime error 91. In this example, runtime error 91 is a program error that displays the “Object variable set to Nothing” message.
Causes of Runtime 91 Errors
This particular error is related to Visual Studio and the .NET Framework which are tools used by software developers to develop applications. Runtime error 91 tells the developer that an invalid variable is being referenced within the code; in this case, the variable has been set to “nothing.”
How to Fix Runtime Error 91
When you encounter a program that generates runtime error 91, there’s not much that you can personally do about the program’s underlying code. However, you can check to see if the developer has since changed the code to fix this bug. If so, you can then update your software and apply the fix. Do this by using the program’s built in update utility if available. If a built-in “check for updates” tool is not available, you will need to go to the software developer’s website and check for software updates.
While you are at it, it’s not a bad idea to check for Windows updates as well. Not only do software developers patch their products when bugs are discovered, Microsoft also updates the Windows operating system.
If your computer is a model from a manufacturer and the software generating the runtime error 91 came preinstalled on your computer, you can also check for updates specific to your model at the manufacturer’s website. This is a terrific way to find updates for your exact model in one location. You may find software updates that solve your runtime error as well as additional updates that you were otherwise unaware of. By keeping your computer updated with the latest software and hardware patches, you can solve current problems as well as prevent future ones.
How to Turn off Error 91 Messages
What if the software developer hasn’t released a fix for the runtime error 91? The first thing to do is report the issue to the developer who may not be aware of it. Next, you can turn of script debugging so that you don’t have to see this message every time the software encounters it. After all, the message is for the developer, not the end user.
Script debugging is made possible by a service called Machine Debug Manager. The easiest way to control it is through Internet Explorer. Go to Tools > Internet Options > Advanced. Now, scroll down to Browsing and click on Disable Script Debugging (Internet Explorer) and Disable Script Debugging (Other).
Runtime error 91 falls into the broad category of program errors that require updates from the developer.
Runtime Error Types
How to Fix Runtime Errors