Open topic with navigation
5: Invalid procedure call or argument
Last Updated: 2015-12-03
- Guard1 Plus versions: 2.0x, 2.5x, 2.60, 2.7x, 2.8x, 5.0, 5.1
- Guard1 Plus SE versions: 4.12, 4.20, 4.30, 4.40
When attempting one of the following actions:
- Selecting the "Launch
Mini-Attendant File Manager when my computer starts" check box in Mini-Attendant File Manager Options
- Downloading a PIPE, Mobile Downloader or Modem Downloader
- Opening Guard1 Plus, printing or previewing reports, or editing Buttons, Facilities or Downloads
- Attempting to Archive or Backup your data
- Clicking Next in the Guard1 Plus SE Activate Software Wizard after selecting the License file to use
- Right-clicking a Client, Facility or Group on the Facilities Tab
You receive the following error:
- 5: Invalid procedure call or argument
- Your Windows User Account does not have sufficient permissions
- There is a problem with your Guard1 Plus database
- The selected Archive or Backup file name does not have the file extension .g1p (usually this error is followed by 91: Object variable or With Block variable not set.)
- One or more report setup tabs are open when you attempt to Archive or Backup
- There is a problem with the Guard1 Plus SE License file
- The Rules & Advanced Reporting Module is not activated. The Facilities context menu contains a Reports sub-menu that requires this module. This is a known issue in Guard1 Plus version 5.0 and 5.1.
If the error occurs when changing the Mini-Attendant File Manager "Launch" option:
- Verify that all Windows User Accounts that will be using Guard1 Plus have the following minimum required permissions:
- "Modify" permissions to the product installation folder (C:\Program Files\Guard1 Plus or C:\TimeKeeping Systems\Guard1 Plus) and all sub-folders
- "Full" permissions to the Registry key HKEY_LOCAL_MACHINE\Software\TimeKeeping Systems Inc. (32-bit) or HKEY_LOCAL_MACHINE\Software\Wow6432Node\TimeKeeping Systems Inc. and all sub-keys
If the error occurs when opening Guard1 Plus, printing or previewing reports, or editing Buttons, Facilities or Downloads, it is possible that your database is corrupt.
- Verify your User Account Permissions as described in the previous section.
- If your permissions are set correctly and you still receive the error, open Guard1 Plus with a new database file:
- Close all open programs.
- Open My Computer.
- Navigate to C:\Program Files\Guard1 Plus (or C:\TimeKeeping Systems\Guard1 Plus if Windows Vista or 7).
- Right-click the file G1Master.g1p and select Cut. NOTE: depending on your Windows View settings, you may not be able to see the .g1p file extension. Right-click the G1Master file with the large blue "1" icon.
- Paste the file to My Documents or some other folder.
- Open Guard1 Plus:
- If it opens without error, your database is corrupt. You will have to restore from a Backup file.
- If the error recurs, please contact Technical Support.
If the error occurs when attempting to Archive or Backup your data:
- In the Data Maintenance Wizard, verify that the file name shown on the Specify the archive/backup file name and folder screen has the extension .g1p at the end. For example:
- Archive of G1Master (Thursday, October 8, 2009 and prior).g1p
- Backup of G1Master (Thursday, October 8, 2009).g1p
- If you attempt to Archive or Backup while you have one or more Report setup tabs open in the right window pane, you will be asked if you want to save the reports before you can proceed with the Data Maintenance task. Clicking Yes or No at the report's Would you like to save... dialog will return the error. Clicking OK at each error message will return you to the Data Maintenance Wizard screen and allow you to complete the task. However, if you chose Yes to save any reports, none of them will be saved. No data is lost.
- If the file name has the correct extension, the error may be due to excessive database size. Manually reduce the size of your database, then attempt to Archive or Backup your data again. If the error recurs:
- Open Guard1 Plus with a new database file as described in the previous section, Step 2.
If the error occurs when running the Guard1 Plus SE Activate Software Wizard (G1ActivateSoftware.exe):
- Check the size of the License (LIC) file you received from TimeKeeping Systems. If the file size is 0KB, a problem occurred when you saved the emailed attachment to your hard drive. This can occur if you are using Outlook Web Access to save the attachment; OWA has known issues with the handling of attachments. Try saving the attachment using Outlook or another email client. If after doing so the file size is still 0KB, please contact Technical Support.
If the error occurs when right-clicking a Client, Facility or Group on the Facilities Tab in Guard1 Plus 5.0 or 5.1:
- If you have not purchased the Rules & Advanced Reporting Module (Guard1 Plus Basic), you cannot access the context (right-click) menu for Clients, Facilities or Groups. You can select the Client, Facility or Group you want to modify, then click the Facilities Menu at the top of the screen.
- NOTE: The Rules & Advanced Reporting Module is functional during the Guard1 Plus Trial Period. If you did not purchase the module, it was disabled when you activated your software. If you purchase the module in the future, you will not experience this error.
- This issue is resolved in version 5.2.
Copyright © TimeKeeping Systems, Inc.
Open topic with navigation