Error Codes

HOW TO FIX ERROR CODES

TERMINATED EMPLOYEES AFFECTING NUMBER OF EMPLOYEES

Go into Company, Help About.

At the bottom of the screen, click on Employee Count.

Check how many there.

Close Payroll.

Go to c: Drive, Payroll.(don’t go into a company)

Delete payctrl2.dat file.(or payctrl2 – no dat)

This will just refresh & recount, will not delete anything

Go to Help About and check Employee Count again

RUNTIME ERROR 5 : INVALID PROCEDURE CALL OR ARGUMENT

Utility, remove all companies then add 1 company back. If ok, then add the rest.

ERROR 12, FILE 30 : OPENING A COMPANY IN THE REPORTING MODULE

When opening a company in the reporting module, you get Error = 12, file = 30, opcode = 0, see the manual, program ending

Cause : The Payroll directory contains spaces

Solution : Rename the directory in which Payroll was installed in Windows Explorer and delete any spaces within the directory.

Ensure that you create a new shortcut as well after renaming the directory

ERROR 22, FILE 29 : OPENING A COMPANY

After updating to Pastel Payroll 2006 update 2a, open a company and you get Error 22 (Data buffer length) file = 29 (user access file – payacess.dat) Opcode=5 (get equal)

Cause : the user access file did not convert properly

Solution : open the company directory in windows explorer. Delete the file payaccess2.dat from the company directory.

Open the company in Payroll, go to Setup, Users/Passwords and reselect the User Type for each user that has been set up. You do not need to setup the supervisor again.

ERROR 12, FILE 46 : RUNNING A LEGISLATIVE RELEASE

Cause : The company files were not converted completely after installing an update

Solution : Remove Payroll though Add/Remove programs on the Control Panel and then reinstall the latest CD. After installing, open the company again, it should run a conversion.

The leg release should now run without any problems

RUNTIME ERROR 35602 & RUNTIME ERROR 440

Error: Runtime Error 35602 : Key Is Not Unique In Collection.

Runtime Error 440 : Automation Error.

Scenario : Duplicate Companies In File Open On Accounting And Payroll

Solution:
Go to START
RUN – REGEDIT
H KEY LOCAL
SOFTWARE
SOFTLINE
XPRESS
REMOVE DUPLICATE SERVER

To look for server name, go to help about in Pastel and see “Registration Server”

PROCESS…PAYROLL RUN. THE PROCESS FREEZES

SCENARIO:
When selecting to do a Process…Payroll Run for any or all employees, the process freezes at the last transaction processed for the first employee.

CAUSE:
The Payroll run stops at the stage where Net Pay Rounding needs to take place, indicating that there is a problem with the rounding process.

SOLUTION:
Go to Setup…Company Parameters…Transactions. If Net Pay Rounding was activated, make sure that there is a value for the Net Pay Round Up Amount,
and that the Round Up and Round Down Transactions are selected

STATUS 11 WHEN OPENING PAYROLL

Status 11 when opening Payroll from a workstation connected to the Payroll server.

CAUSE:
The connection to the Payroll directory on the server was lost.

SOLUTION:
Recreate the mapped network drive from the workstation to the Payroll directory on the server.

RUNTIME ERROR 380 : PAYSLIPS

Scenario : When viewing payslips in Payroll, you get a runtime error 380

Cause : The accfont.dat and accrpfmt.dat files are corrupt.

Solution: View payslips in the demo company. If you don’t get the error in demo, copy the accfont.dat and accrpfmt.dat files from the demo into your company.

RUNNING THE RESET UTILITIES

In some cases, you may experience a problem with your Pastel 2007 package and you may need to be sent the Reset Utility.

You will receive the utilities via email. Once you receive the file(s), follow the appropriate steps to download and run the utility.

On the email, right-click on the attachment (Reset3004.rename2exe), and select Save As
In the Save Attachment window, click on My Computer in the left-hand pane.
Double-click on Local Disk (C:)
Double-click on the Pastel07 (or Xpress07) folder
Next to the Save button at the bottom, there is a field for the File Name. Currently you will have Reset.rename2exe.
Change the File Name to Reset.EXE
Click on Save.

Now, close the email program, and go into: My Computer, Local Disk (C:), Pastel07 (or Xpress07), and double-click on the Reset..EXE file (or just Reset).
Select the option that you require: Clear Registration, Clear Company, or Reset Last Used Date.
Click on OK on the confirmation message.
Once done, click on Close to close the utility.

TO OVERWRITE THE ACCFCURR.DATE FILE

Close Pastel, on all machines, and then on the machine where the data is kept, double click on My Computer.

Double click on your local drive C, and then on the Pastel07 folder.

Double click on the company folder and look for the file called cfcurr.dat.

Right click on the file, select the rename option and substitute the .dat extension with .old (Your file should then be accfcurr.old).

Under your Pastel07 folder, where you’ve selected the company folder, there is a folder called Custom, double click on it.

Double click on the folder called Language, and look for the file called accfcurr.eng.

On the file right click and copy. Then go back to your company folder, inside the folder, right click and paste.

Then rename the file to accfcurr.dat (substitute the .eng extension with .dat.).

OPEN ITEM OUT OF BALANCE

The ACCOI.dat file is corrupt

– After running a data integrity test an error report is generated with the details ”Open Item out of Balance”. This means that your Masterfile balances and transactions are correct but the Open Item history is corrupt.

– Ensure you have a backup of your data

– Make a copy of your company by going to File…New and the select “Copy from another company” and select your company to copy from

– In the original company, print the following reports on the customer(s) or the supplier(s) affected:

– Detailed Ledger for the affected customer(s) or supplier(s)

– Statement/Remittance for the affected customer(s) or supplier(s)

– Compare these reports and find the transactions that are missing from the Statement/Remittance

– Open the Copy Company

– Process the missing transactions in exactly the same way that they were processed originally (this is using the same date,
reference, amounts and accounts) in the Copy Company and update them.

– View only the Statement in the Copy Company and make sure the missing transactions are there and that the statement is correct

– Close Pastel

– Open Windows Explorer and browse to your Original Company folder

– Look for a file called accoi.dat, right-click on it, click on Rename and rename it to accoi.old

– Browse to your Copy Company folder

– Locate the file called accoi.dat and copy it to your Original Company folder

– Run the data integrity in the original company – verify data only

– If there are no errors, you should delete the copy company as to avoid confusion

– To make sure that everything is working correctly, print the statement and detailed ledger again – they should now be in balance.

STATUS 54 FILE 9 ACCPRD.DAT

Rebuild the file

STATUS 54 FILE 7

Overwrite the accuser file

Remember the following:

1. To setup all users again (if more than one user on system)

2. To check the document numbers still in sequence

3. To check the date and period on all open batches.

IF THIS IS HAPPENING IN PARTNER2005, DATA MUST BE SEND FOR A DATAFIX TO PASTEL

ERROR 12, FILE 46 : RUNNING A LEGISLATIVE RELEASE

Cause : The company files were not converted completely after installing an update

Solution : Remove Payroll though Add/Remove programs on the Control Panel and then reinstall the latest CD. After installing, open the company again, it should run a conversion.

The leg release should now run without any problems

RUNTIME ERROR 75 : PRINTING INVOICES

Two levels of sharing i.e. the c drive and the Pastel directory is shared. Only the Pastel directory must be shared.

Another scenario would be where the Pastel directory are both shared and Permissions are not set to Full Control but Read-Only (this is on the Pastel directory)

Problem with the mapping- must re-map the drive

PATH/FILE ACCESS ERROR

When opening a company or while processing

It could be that the client just restored from a CD and the file attributes are still on Read only. Change all files to Archieve.

If a client processors a backup on the server and a ‘path/file Access Error’ occurs

Reasons: too many users on the server or the user doesn’t have write access to the srever or there’s a network error.

Solution: remove users from the server or give write access to this user or check the network connection or hardware on the client and the server.

REBUILDING FILES

This procedure for rebuilding files will only be as effective if the file is a recognizable Btrieve file. If there is data corruption, Btrieve will still recognize the file.

Make a backup of the data.

Go to dos. And then go to the company dir

Rename the dat file to old

Copy the skeleton file from the paywin dir into the compant and rename it to at.

Go to the Btrieve file manager click on DATA…save, from btrieve file…full path C;\paywin\company\file,old, from sequential file c:\paywin\company\file.tmp.
it might ask you for you owner name- upper case OMHWTTC

Then click on DATA…load. From sequential file C:\paywin\company\file.tmp to Btrieve file C:\paywin\company\file.dat.

If this does not work you will have to edit the file in DDF.

STATUS 8 FILE 51

Check in the Pastel folder for the acceuro.txt file. If missing, Email the customer your acceuro.txt file to save into their Pastel folder.

RUNTIME ERROR 52 : EMAILING INVOICES TO CUSTOMER

Copy the invhtml.eng file from the customer folder to the problem company.

Delete the specific invoice, recreate and you’ll be able to mail it.

If batch is updated, pass credit note for that invoice, create a new invoice and email.

Corruption on the problem invoice is the problem.

ERROR CODE 20

Check for different versions of pervasive installed, check network or reinstall software

RUNTIME ERROR 70 : PERMISSION DENIED WHEN OPENING PASTEL

Solution / Detail
Open pcc and increase the communication timeout.

Click on start..run…in the command line type pcc…click on ok
-If using Pervasive SQL2000i Engine
-Double click on Pervasive SQL2000i Engine
-Double click on User
-Double click on Configuration
-Double click on Client
-Double click on Communication
-Double click on on TCP/IP Time out for communication
-Change the current from 15 to 20
-Shut down and restart the machine
-If using Pervasive SQLV8
-Click on start…run…in the command line type pcc..click on ok
-Double click on pervasive SQL engines
-Double click on computer name
-Double click on configuration
-Double click on client
-Double click on communication protocols
-On the right hand side…double click on connection timeout
-Change the current from 15 to 20
-Restart machine to changes to take place

STATUS 9

The operation tried to read past the end of the data file.

Rebuilding the specific file will normally solve the problem. Sometimes when listing a set of accounts, program appears to loop, and the first account reappears after the last again.
Also, accounts appear in random order, and cannot be re-indexed by the program. In this case, either restore from previous backup or send in for fixing

Will also happen where the BIOS and the memory configured for the computer is not compatible with the pastel program and the file manager.

STATUS 7

Rebuild the specific file:

Make a backup of your company.

Start – Programs – Pastel Accounting Version 6 – Rebuild Utility

When prompted click on OK.
Double click on the company folder so you can see the data file of this company.
Select the files you want to rebuild and click on the rebuild button.
When each file is finished it will say that there were a number of files, make sure that the same number has been rebuild and click on OK
When you are finished close the rebuild utility.

Delete default and control files:

Search for the following files – accdflt*.* and acccntrl*.* in the company folder.

Delete all files with number extensions ex. 000,001, 002 – don’t delete files with dat extensions.

STATUS 6 : ANY FILE

Rebuild the specific file:

Make a backup of your company; Start – Programs – Pastel Accounting Version 6 – Rebuild Utility:

When prompted for making a Backup, click on OK
Double click on the company folder so you can see the data file of this company.
Select the files you want to rebuild and the click on the rebuild button.
When each file is finished it will say that there were a number of files, make sure that the same number has been rebuilt and click on OK.
When you are finished close the rebuild utility.

Delete default and control files:

Search for the following files – accdflt*.* and accntrl*.* in the company folder.
Delete all files with the number extension ex. 000,001,002 – don’t delete files with dat extension

RUNTIME ERROR 62 : ACCESSING THE INVENTORY JOURNAL

– Look for open batch files in the company folder & delete them, the files are :
ACCTGRID*.* (NOT THE ACCTGRID.DAT)
ACCBSJ*.*
ACCSJCTL*.*

If this message occurs in the Report Writer:
– Overwrite the ACCRPFMT.DAT file and delete replck.dat
These files are found in the company data directory.

RUNTIME ERROR 62 : OPENING PASTEL

This error occurs when opening a company. Some backup log files may exist and need to be deleted.
– Delete the backup.txt

This will have no effect on data.

RUNTIME ERROR 53 : REGISTERING PERVASIVE

If you get persistent error 53 when trying to register pervasive it is most probably the path that is incorrect – if you are on win98 you need to do the following:

Go to find …and look for the autoexec.bat file

Double click on the file if it tells you there are to many parameters, then you need to clean up the path and set path for pervasive.

Where it says set_path = c:\windows;c:\windows\command; type in c:\pvsw\bin;c:\pvswbin and then register

RUNTIME ERROR 62 : INPUT PAST END OF FILE ONLY WHEN ONE USER LOGS INTO A COMPANY

Delete sysnav.tmp

USER PASSWORD CURRENTLY IN USE

Have rebooted with the same results, if client is running on 6.14 they first need to update to 6.2 b0 as it was recorded as a defect.

Another solution is to close the pervasive engine and restart.

If that fails restart entire network.

If that fails re-register Pervasive on all machines, a temp license be loaded.

AFTER RESTORING DATA YOU GET STATUS 116

It restored a ~PVSW~.LOC in the company directory, all you need to do is delete this file.

ONE OR MORE COMPANIES DELETED THROUGH THE OPERATING SYSTEM MESSAGE WHEN OPENING PASTEL ON ONE WORKSTATION ONLY

This error could be caused by a number of thing and could come up on the server or the workstation. This does not mean that the company is deleted but has been removed from the list

Solution

Go to File | Open then select the Option Manage
First check if the Server is displaying with the green arrow.
Should it come up with the red cross remove the server and locate it from the custom/ Registration depending on where is the error comming up.

Should the error comes up on the server locate it from C:\Pastel*\Custom\Registration
Should the error come up on the workstation locate the server from the network drive Custom\Registration

If the server is showing as Green and the company is showing with a red cross then do the following
* Remove the company and add it again if the error is on the server computer
* Remove the company on the server and add it again then activate it if the error is on the workstation
If Server not there at all on manage, then reregister by going next, next etc.

ERROR CODE 20 : PERVASIVE LICENSE TEMPORARY / PERMANENT

Go to :

Start – All Programmes – Pervasive – Pervasive Sequel – Other Utilities Or Utilities.

There must be a permanent license for all the users.

ERROR CODE 20 : PERVASIVE NOT LICENSED PROPERLY.

Go to :

Start – All Programmes – Pervasive – PSQL10 – Utilities – License Administrator.

For 5 User Permanent should say 1 and User Count Increase 4

ERROR 116 – WINDOWS 7

Go to Start – All Programmes – Pervasive – PSQL 10 – Utilities – License Administrator.

The Permanent and User Count Increase – User Count must make up the total amount of users. They must be on the same Pervasive.

RUNTIME ERROR 13 : OPENING THE INVENTORY JOURNAL SCREEN

Query Details

Runtime error 13, when opening the Inventory Journal screen. There is an open inventory journal batch that is corrupt for that user.

Solution

1. You need to delete the open batch in the company folder

· Look for a file called ACCBSJ*.00* ( Accbsj * will be the entry type for inventory journals and 00* will be user’s number that is getting the error)

2. Should the error persist, run the data integrity to check if there are any errors

· Go to File > Data Integrity

· Check if this gives you an error report

3. Make a backup of the data and overwrite the accprmst.dat
To do that copy thee accprmsy.eng from this directory C:\Pastel*\Custom\Language
paste it on the company folder and rename the accprmst.dat to accprmst.old
then rename the accprmst.eng to accprmst.dat

Please note you will need to re-setup everything under Setup > Inventory

RUNTIME ERROR 13: AFTER CONVERTING DATA

Query Details

After converting data from Version 6.2 to Partner 2004, you receive a Runtime Error 13 Type Mismatch, when going into Edit / Manufacturing/Bill of Materials.

Solution

The data is corrupted and would need a data fix to correct the problem.

There are exponents in the percent fields in the accbomh.dat file. This results in the error message (below). To correct this, the fields will have to be cleared with DDF or Btrbrowser.

RUNTIME ERROR 13 : SEARCHING FOR AMOUNTS ON THE BANK RECONCILIATION

Details:

Error occurs on the Bank Recon

Solution:

This error occurs because the regional settings for currency are different to Pastel.

Check settings in Pastel

·Click on Setup àCompany Parameters

·Click on the Formats tabs and change the currency symbol to the home currency

Check Regional and Language settings

·Click on Start à Settings à Control Panel

·Double click on Regional and Language options

·Under the Regional options tab, click on the customise button

·Click on the currency tab on top, then change the currency symbol to that of Pastel

·Save the changes

RUNTIME ERROR 13 : TYPE MISMATCH

Solution:

Close Pastel completely.

Double click on the time – towards the bottom right corner of the screen on the system tray > your date properties open up, check that your system is on the right date,
being the current days date.

Then go to start > programs > control panel > regional and language options and make sure that you are using the following settings:

Make sure you are using English SA

On the currency tab, check to see that you are using Rands (R)

Under the number tab, check that we are using the negative no. Format *-1.1 (Where * – is the universal currency symbol.)

Make sure that your no. format has no ( ) in the format. As this will create a contra entry for the debit entry as a debit transaction.

For the date settings – we need to check the short date and the long date options: short date: should be in the dd/mm/yy and the long date: dd mmmm, yyyy .
(The short date style is very important)

If you have made changes to your regional settings you would have to shutdown completely and start up again.

You can also get the same error message when opening up Pastel

This happens when you are trying to open up Pastel – first check your regional settings.

Should the regional settings be fine you need to Uninstall Pastel completely – to do so you can go under the option
– start – settings – control panel – add/remove programs – remove Pastel version

Then go in on the registry editor and remove a few files. To do so you would have to close all applications and then go to
– start – run and type in “regedit” and in the registry editor you would have to double click on H-key Local machine and then double click on software and then Pastel Partner 2009,
right click and delete.

Also going in on the registry editor you would have to double click on H-key current users and look under > software > Vb and VBA program settings, in that folder find Partner 2009
and delete. The above can be done for xpress as well.

Restart the machine then install the Pastel again, this time through windows explorer – to do so right click start > Click on explore,
find the cd rom drive > double click > products > Partner/Xpress > Setup.exe. It runs your installation.

Disable your antivirus program before the re-installation

STATUS 116

Status 116 is an error specific to Pervasive working over a network. The first thing to understand is that a Status 116 can have a number of causes. Generally, the issue is that the computers are not communicating correctly across the network.

Follow the steps below in sequence:

Check the Pervasive installation
Search for and delete LOC files
Use the Pervasive System Analyzer
Set up a gateway
You need to perform the following checks on all workstations.

To solve a status 116 error

1.You first need to check that each workstation and the server are using the same Pervasive version. To do this:

When you run Pastel, in the Windows Taskbar, at the bottom right corner where the time displays, there should be a Pervasive icon:
Right click on the Pervasive icon, and choose About from the popup menu:

The database version displays next to the OK button. If any workstation or the server has an incorrect version of Pervasive, install the correct version manually as outlined here.
Note that the version numbers must match EXACTLY.

2.If all the versions across the network are the same, and you still get the error, check that a license has not expired on the workstation that gives the error.
To do this:

In Windows, click the Start button and then click on All programs. Locate the Pervasive group for the running version (there can be more than one Pervasive group).
In the Utilities/Other Utilities sub-section, choose the User Count Administrator/License Administrator option.
In version 2000i, click on Remove License, and there should be a DISK license, which is a permanent license.
In version 8, the licenses are displayed at the bottom of the screen, and you need to make sure that you have a permanent license.
If you do not have a permanent license, contact your local support centre or distributor to obtain one. If the error still occurs, continue from here.

3.You should then check for .LOC files on the workstation that gives the error:

Ensure that Pastel is not running on the workstation.
In Windows, click the Start menu and then click Search or Find.
Select to search all file and folders.
Type in the file name as *.LOC and click the Search button.
Delete any .LOC file the system finds in a Pastel company data folder or in a Pervasive folder.
If there are files that you delete, load Pastel and see if the error still occurs. If it does, continue from here.

4.The next step is to use the Pervasive System Analyzer to detect any network errors:

Put your Pastel CD into the CD-ROM. If the install starts automatically, close it by clicking Exit.
Double click on My Computer, right click on the CD-ROM, choose the Explore option on the popup menu.
Double click the PVSW folder. If there is a PSA folder in that folder, double click it. Otherwise, double click the V8WGE folder, in which you will find the PSA folder.
Double click the PSA folder to open it.
Double click The setup.exe file in the PSA folder and go through the installation screens.
Once the install completes, there will be two checked options. Uncheck the Show Me the Read Me File, and leave Launch Pervasive System Analyzer checked.
Click the Next button, and the System Analyzer Options screen displays:
Choose the Test Active Installation option, and check all the options beneath that option. Click the Next button to continue.
The Test Network Communication screen displays:
Select the server, and the Analyzer tests the communication between the server and the workstation:
Click the Next button to continue.
The Test Transactional Screen displays:
Enable all the options, and click the Next button. The tests run, and the system reports any errors. Click the Next button to continue.
The Test Relational Engine screen displays:
Enable all the options, and click the Next button. The tests run, and the system reports any errors. If there are errors, the network administrator in your company should correct them.

5.If the error still occurs, and iIf each of the machines can communicate to and from the server, setting up the server as a gateway machine might be the best way to resolve the problem:

In Windows, click the Start button and then click on All programs. Locate the Pervasive group for the running version (there can be more than one Pervasive group).
In the Utilities/Other Utilities sub-section, choose the Gateway Locator option:
Click the Change button to display the Gateway Assignment window:
Browse the network for the server machine, select the company data folder, and click the OK button.
The Gateway Assign To label should have the server computer name.
You need to perform this routine on every workstation, as well as the server, which you point to itself in the same manner.

STATUS 94 : INSUFFICIENT USER RIGHTS

Solution / Detail If a user does not have the required rights to perform an operation, Pastel may detect this internally and stop with a fatal file error 94.

– Once such a situation arises you should ascertain the nature of the problem and adjust the user”s rights accordingly.

Workgroups for Windows 2000 will give this error either:

– install client Server PVSW

– put data on a workgroup (peer-to-peer) environment

Contact network administrator to enable this

STATUS 80

Outline

Conflict Error Message

Solution

– Open the Pervasive Control Centre (PCC) by clicking on
Start… Run… type, pcc
– Expand the Computername, example: “ServerPC”
– Expand “Databases”… “Configuration”… “Server”
(please expand Server if you are at the Server assigned pc,
in other words the computer that stores and shares the databases).
– When you get to the workstations, please expand the “Client” section.
– Click on “Memory Usage”, double click on “System Cache”
– By default the setting is set to “ON”, please switch it “OFF” by selecting
the “OFF” button.
– Click on “OK”
– Click on “Performance tuning”… then double click on
“Cache Allocation Size”
– Ensure that the “Current” value is the same as the “default” value,
i.e. 8388608

RUNTIME ERROR 35602

Error: Key is not unique in collection

Cause: The machine name has been changed.

Solution / Detail
Check inside the Registry Local Machine: Software, Softline, Pastel2005, There will be 2 folders delete the incorrect folder
Check the computer name by right clicking on My Computer and going to properties to see which file is correct.

Click on start..run…in the command line type regedit…click on OK
Double click on h_key local machine
Double click on software
Double click on softline
Double click on the pastel version used i.e pastel partner 2005
Right click and delete the incorrect folder
Close registry editor and open pastel again
If the error persists, do the following:

Run reset tools and select clear registration and clear registry and then re-register.
If the reset does not correct the error

-Deleted values in registry – default server is lost – locate server again
-Remove Pastel
-Delete Pastel05 folder
-Remove Key from registry Hkey Local machine \ Software \ Softline \ Pastel -Partner 2005
-Restart the computer
-Reinstall Pastel
-Open Pastel and Register
-Click on file…open…manage error corrected

RUNTIME ERROR 75

You will get this on a workstation PC. This means that the workstation can’t access a file in the data due to permissions or Read Only Rights on some or all company files.

Solution / Detail

To check the Permissions
– On the server PC double click My Computer
– Double click the C drive (Local Drive)
– Right click on the Pastel05/Xpress05 folder and click Sharing and Security…
– There will be 2 different screens of which one will display depending on the
setup of the network
– Either click the option Allow Network Users to Change My Files
– Or click the Permissions button and give the Everyone group full control
under the Allow column. Click on Apply and OK. Click on the Security tab
and give the Everyone group full control under the Allow column. Click on
Apply and OK

– Test the workstation

If this doesn’t help follow the steps below:

Remove the read only Attributes
– Go to My Computer
– Click on the Pastel folder e.g Pastel05/ Xpress05
– Click on the Company folder (the company in which you are experiencing the problem).
– Click on the first file press CTRL+ A on your keyboard – this will highlight all
the files for you Keep the SHIFT key in and right click on the file.
– Go to Properties and then take the tick out of Read Only and change it to
Archive by clicking on the Advanced button and select Folder is ready for
archiving. Click on OK
– Click on Apply on the properties window and select the option
Apply changes to this folder, subfolder and files. Click on OK
– Click on OK on the properties window.

STATUS 46 ACCESS TO THE REQUESTED FILE IS DENIED

Solution / Detail

Status 46 Access to the requested file is denied

Solution:
The MicroKernel returns this status code for the following reasons:
The application opened a file in Read-only mode and tried to perform a Write operation on that file.
The application attempted to perform a Write operation on a file that is flagged read-only by the operating system.
When the application opened the file, it did not correctly specify the owner name required for updates.

** (Workstations Only)
If a workstation engine user or task opens a file that a client machine has opened using a server MicroKernel, the MicroKernel returns this status code if the workstation engine user attempts to write to the file.

You can also delete the *.loc (~pvsw~.loc) file.
-Click on start…search…all files and folders
-Type ~pvsw~.loc and delete all files found
-Close the search screen
-Right click on the start button
-Left click on explore
-Double click on pastel version used
-Double click on pastel company where error occurred
-Click on CTRL+A so all data files are highlighted
-Right click on highlighted file
-Left click on properties
-Unselect the read only files
-Ensure changes to all files, folders and subfolders is selected
appy changes

Small business server:

-When you are registered for 5 users, and the 6th user try to log on, the server change the read-write rights to read-only
-Add more users on the server
-Change the attributes of the files to archive only
-Additional users with the appropriate access rights will enable the error to be resolved.

ERROR CODE 20 AND USER ACCESS CONTROL

Details:

Error code 20 when opening Pastel.

Solution:

Check the following to resolve the error :
·Pervasive licenses on all machines
·Uninstall and Re-installation of Pervasive
·Antivirus disabled
·User is an administrator
·If you are using Vista, Windows 7 you will need to turn the UAC (User Access Control) off for more info on that check the attached documents
If you are using Pervasive 9 or 10 you will need to turn Embedded Spaces off
·Go to Start > Run > type in PCC
·Under common tasks select Configure Microkernal Router
·Click on Application Characteristics
·Untick Embedded Spaces
·Click on Apply and then OK

ERROR 161

Error 161 = Maximum no. of users exceeded
1. Too many users compared to Licence
2. Pervasive not registered
3. Not correct version of Pervasive that you are registered for
4. Same Pervasive throughout the network
5. If all this fails – using Pervasive system analyser, uninstall and reinstall Pervasive

RUNTIME ERROR 13 : EDITING USERS AND PASSWORDS

Runtime Error 13 When editing users and passwords- Delete ACCDFLT.* and ACCCNTRL.*- Overwrite the user file

RUNTIME ERROR 53 : OPENING PASTEL

OutlinePervasive is not installed correctly or there is a conflict between Pervasive and BTrieve.

Solution / DetailNeed to Run PSA and reinstall Pervasive by doing the following: This error is a conflict between Btrieve and Pervasive.
Dependant upon the multi – user serial number, check which pervasive to reinstall . Search for the file wbtrv32.exe, it probably does not exist.

As an example we will use V8wge :- Insert the pastel cd and close the auto- run.- Open windows explorer and double click on the cd rom drive .

Double click on Pvsw.- Double click on V8wge.- Double click on Psa .- Double click on Setup.exe .This will install the Pervasive Sytem Analyser.
run the Pervasive System Analyser- Select the option Delete Components and archives.- Choose local machine.- delete both options of pervasive that appear.

Restart the computer .- Open windows explorer.- Double click on the cd rom drive .- Double click on pvsw.- Double click on v8wge .Double click on Setup.exe.

This procedure will install pervasive successfully . Ensure that the Anti-Virus software is disabled when installing. This may result in the wbtrv32.exe file not been installed again.
Can also get errors when pervasive is not installed

RUNTIME ERROR 70 : PERMISSION DENIED

This could be a problem of user access rights to data on the server. Check all users have sufficient access rights to data.

Solution / Detail

– Delete diropen.dat file on the server or local drive of workstation.

– Check for ~pvsw~.loc files and delete any found on server or workstation, ensure all users are logged out before removing the files.

– Check if you can open the company locally on a workstation.

– If company can be opened locally, permissions on server are not setup correctly ie the user needs sufficient access rights to access the data across the network.

– Remove “Read Only” attributes on the shared Pastel folder on the server.

RUNTIME ERROR 53 : FILE NOT FOUND – ONLY IN ONE COMPANY

Solution / Detail
-Make a copy of the Demo company in Pastel by
-Clicking on file….new
-Type new company name and select to copy the demo company
-Close pastel after copy company has been created
-Double click on my computer
-Double click on local disc C
-Double click on the pastel05/07 version used
-Right click on the problematic company
-Left click on copy
-Right click on the copy company
-Left click on paste
-Select yes to all so all the data from the company folder is copied into this new folder.
-If there are files missing it will use the files in the demo company.
-Open the new company in Pastel and the error should be gone.

ON THE NETWORK

-Reinstall pastel running the repair option – this happens after updates from the web

-If client is working on a network, and have Windows XP home edition on PC?s, won”t be able to install pervasive on machines.
-Will get installation errors.
-When opening pastel, will get runtime error 53 file not found, the file that is missing, is pervasive.
-Can”t run Windows XP home on network environment.

ERROR 52 – WHEN TRYING TO PROCESS A JOURNAL.

The normal reason for this is a corrupt batch
But, as you go process journals, Pastel copies the accbtn.db from the pastel directory to the company directory and renames it with the batch number and the user number.

In this instance, we could get in to Pastel, then we said process journals, it hesitated and then we got the error 52.

After much loading and unloading, we realized at last that it was a network error.
Although one could ping, it was obvious that when Pastel tried to send a bigger packet of data through, the network was not coping.

One of the tests was just to try to copy the _demo over the network and it hung.