Run-time error '5': Invalid procedure call or argument

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • J7J
    Silver Member

    • Apr 2011
    • 281

    #1

    Run-time error '5': Invalid procedure call or argument

    Good day,

    I am getting the following error when trying to open a client file on Pastel Xpress v11:

    Click image for larger version

Name:	Pastel Xpress V11 error.jpg
Views:	1
Size:	35.0 KB
ID:	268960

    Can anyone please assist?

    Regards
  • Neville Bailey
    Diamond Member

    • Nov 2010
    • 2786

    #2
    I have pasted an extract from my Pastel Knowledge Base, which might assist you:

    There could be 2 causes for the problem; there is no mapped drive to the server or the registration on this workstation is corrupt.

    Steps to create a mapped drive:
    - Double click on My Computer
    - At the top of the page, click on Tools - Map Network Drive.
    - Select a new letter from the list. It is best to map a network drive on the same letter as the other machines on the network. For example, if all the computers on your network have Pastel mapped on the P:\ drive, select that letter for your mapping.
    - You will then click on browse and look for the Pastel folder on your server through My Network Places - Entire Network - Windows Network workgroup name (the icon is three computers joined together in 'network') - Server Name
    -Once you find the Xpress11 folder, click on it and click on Ok, then click on Finish.

    Registration on the server is corrupt:
    -Go to C:\Xpress11\Custom and rename the Registration folder to old.
    -Run a repair on Pastel thereafter and re-register
    Neville Bailey - Sage Pastel Accounting Consultant
    www.accountingsoftwaresupport.co.za
    neville@accountingsoftwaresupport.co.za
    IronTree Online Solutions

    "Give every person more in use value than you take from them in cash value."
    WALLACE WATTLES (1860-1911)

    Comment

    • Farren Maré
      Junior Member
      • Mar 2013
      • 12

      #3
      You can also try this: If you have an older backup before you started receiving runtime error 5, you can locate the accuser.dat file in that backup and extract it to replace the one in your current company folder. You would then just have to make sure your document numbers are updated to the last document number used i.e. invoices , quotes, sales orders etc, also if any new users where created since then you would need to recreate them too. Please make sure you have a backup of your current company before attempting this.

      Hope it helps.
      Farren Maré - Pastel Specialist
      www.thebeancounter.co.za

      Comment

      • J7J
        Silver Member

        • Apr 2011
        • 281

        #4
        Got nervous because of time constraints and restored an older backup and someone is redoing the capturing that was done since that backup.

        Thank you for your advice, appreciate it!

        Comment

        • J7J
          Silver Member

          • Apr 2011
          • 281

          #5
          Hi all,

          The client got the error again and went to Pastel for them to have a look. Apparently is was the User Control settings in windows that was not set correctly and caused the error. Apparently the client would have continued getting this error if this wasn't adjusted. The Pastel consultant adjusted these settings to the correct level, but the client could not tell me where the settings and which settings were adjusted (so that I could know for future reference). But I just thought I would post this here in case anyone has this error in future - it will be a good starting point to resolve this error.

          Comment

          Working...