Results 1 to 5 of 5

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

  1. #1
    Silver Member
    Join Date
    Apr 2011
    Location
    Jhb
    Posts
    276
    Thanks
    105
    Thanked 14 Times in 10 Posts

    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:	483 
Size:	35.0 KB 
ID:	3344

    Can anyone please assist?

    Regards

  2. #2
    Platinum Member Neville Bailey's Avatar
    Join Date
    Nov 2010
    Location
    Morningside, Durban
    Posts
    2,373
    Thanks
    35
    Thanked 392 Times in 339 Posts
    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 - Pastel Accounting Consultant and Photographer
    neville@accountingsoftwaresupport.co.za
    www.accountingsoftwaresupport.co.za
    View Neville Bailey Photography

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

  3. Thanks given for this post:

    J7J (07-Mar-13)

  4. #3
    Suspended
    Join Date
    Mar 2013
    Location
    Gauteng
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts
    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.

  5. Thanks given for this post:

    J7J (07-Mar-13)

  6. #4
    Silver Member
    Join Date
    Apr 2011
    Location
    Jhb
    Posts
    276
    Thanks
    105
    Thanked 14 Times in 10 Posts
    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!

  7. #5
    Silver Member
    Join Date
    Apr 2011
    Location
    Jhb
    Posts
    276
    Thanks
    105
    Thanked 14 Times in 10 Posts
    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.

Similar Threads

  1. Pastel Run Time error 401
    By ronish in forum Accounting Forum
    Replies: 2
    Last Post: 21-Aug-12, 08:20 PM
  2. Help with possible invalid COC - what recourse?
    By Nelly1 in forum Electrical Contracting Industry Forum
    Replies: 14
    Last Post: 21-Jun-12, 07:10 AM
  3. How to win the argument - Greek style
    By Dave A in forum General Chat Forum
    Replies: 2
    Last Post: 08-Jun-12, 02:41 PM
  4. Replies: 0
    Last Post: 03-May-11, 03:26 PM
  5. Invalid electrical certificate
    By wordfish in forum Electrical Contracting Industry Forum
    Replies: 7
    Last Post: 10-Jul-10, 09:49 AM

Did you like this article? Share it with your favourite social network.

Did you like this article? Share it with your favourite social network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •