5: Invalid procedure call or argument

Published: 2005-09-29

 

Last Updated: 2015-12-03

 

Applies To

 

 

Symptoms

When attempting one of the following actions:

 

You receive the following error:

 

Cause

 

 

Resolution

If the error occurs when changing the Mini-Attendant File Manager "Launch" option:

  1. Verify that all Windows User Accounts that will be using Guard1 Plus have the following minimum required permissions:

 

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.

  1. Verify your User Account Permissions as described in the previous section.
  2. If your permissions are set correctly and you still receive the error, open Guard1 Plus with a new database file:
    1. Close all open programs.
    2. Open My Computer.
    3. Navigate to C:\Program Files\Guard1 Plus (or C:\TimeKeeping Systems\Guard1 Plus if Windows Vista or 7).
    4. 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.
    5. Paste the file to My Documents or some other folder.
    6. 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:

  1. 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
  2. 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.
  3. 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:
  4. 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):

 

 

If the error occurs when right-clicking a Client, Facility or Group on the Facilities Tab in Guard1 Plus 5.0 or 5.1:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2013-2016 TimeKeeping Systems, Inc.