---
title: "Runtime Error ‘91’, Object variable not set. While opening a company"
description: "Runtime Error ‘91’, Object variable not set. While opening a company"
canonical: "https://busy.in/faqs/runtime-error-91-object-variable-not-set-while-opening-a-company-answerid-56008/"
---

# Runtime Error ‘91’, Object variable not set. While opening a company

The "Runtime Error 91: Object variable not set" occurs in BUSY when you attempt to use an object variable that hasn't been assigned a valid reference to an object. In other words, the variable is "Nothing" or uninitialized, and you are trying to access a property or method of that object, which leads to the error.
If error message show Runtime Error ‘91’, Object variable not set. While opening a company follow the below steps:
Step 1:We need to monitor the occurrence of the event and share the relevant data to identify the underlying issue.
Step 2: Explore an alternative approach to prevent the event from occurring, while ensuring the sharing of relevant data to pinpoint the root cause of the issue.
Step 3: Perform a thorough inspection of the data by accessing the 'Check Junk Character' feature within BUSY Software, accessible through Open Company → Housekeeping → Check Junk Character. Remove all detected junk characters to ensure a smooth execution of the desired actions and to preemptively address any potential issues that may arise
Step 4: Perform a reindexing from BUSY on the database to fix any potential corruption issues that might be causing the lock file error. To do this, go to the Company →Reindex Database.
Step 5: If the issue remains unresolved even after reindexing data, this data needs to be review by our support technical team so
share the backup data with us on support@busy.in.

## Related FAQs

- [Run Time Error ‘5’ Invalid Procedure call or argument (While system is in LAN )](https://busy.in/faqs/run-time-error-5-invalid-procedure-call-or-argument-while-system-is-in-lan-answerid-41841/)
- [How do I fix the error "Error in loading DLL" in BUSY? What could be the potential causes?](https://busy.in/faqs/how-do-i-fix-the-error-error-in-loading-dll-in-busy-what-could-be-the-potential-causes-answerid-34358/)
- [Runtime Error ‘433’ White sending BUSY Notification](https://busy.in/faqs/runtime-error-433-white-sending-busy-notification-answerid-67728/)
- [Runtime Error ‘94’ Invalid use of Null](https://busy.in/faqs/runtime-error-94-invalid-use-of-null-answerid-67740/)
- [Run Time Error ‘3050’ Could not lock file.](https://busy.in/faqs/run-time-error-3050-could-not-lock-file-answerid-65813/)