How do I upload receipts into BUSY?
The runtime error "5" - "Invalid procedure call or argument" typically occurs in Visual Basic for Applications. when there is a mismatch or misuse of a function or procedure or may be due to the database object handling that the procedure itself is not valid in the context where it is being used. Like subquery, no record, and improper handling of Isnull or holding the database system in sleep mode.
Step 1: Check Firewall and Security Settings: Sometimes, firewall rules or security settings can cause communication issues and result in this error. Review the firewall settings and make sure they are not blocking the required network traffic.
Step 2: Check Network Connectivity: Ensure that the network connections are stable and functioning correctly. Verify that the network devices (routers, switches, etc.) are properly configured and operational.
Step 3: Scan for Malware and Viruses: Malware or viruses can disrupt network operations and lead to unexpected errors. Scan the system for any malicious software and take appropriate actions if any threats are detected.
Step 4: Disable the power option in the main server. Open Power Options: Press the Windows key + X to open the Power User menu, then select "Power Options" from the list. Alternatively, you can open the Control Panel and go to "Hardware and Sound" > "Power Options." Choose a Power Plan: In the Power Options window, you'll see a list of power plans available on your computer. Select the power plan that you want to modify by clicking on it. Usually, the "Balanced" power plan is the default.
(c) Change Plan Settings: Once you've selected a power plan, click on the "Change plan settings" link next to the plan you wish to modify.
(d) Adjust Sleep Settings: In the Edit Plan Settings window, you will find settings for when the computer should sleep, when it's on battery power and when it's plugged in. You can set both options to "Never" to disable sleep mode
entirely
(e) Adjust Display Turn Off Settings: Additionally, you can also adjust the time after which the display should turn off.
Set this to "Never" as well if you want to prevent the display from turning off automatically.
(f) Click the "Save changes" button to apply the new power settings.