Skip to main content

Error: 'Access to the path [path name] is denied'

Find out how to fix the error that appears when you save downloaded P6, P9 and student loan updates in Data Provisioning Service (DPS) Viewer.

J
Written by Jordan Hutchinson

You can download P6, P9 and student loan updates in the Data Provisioning Service (DPS) Viewer, but an error appears when you try to save the changes. This happens because the DPS Viewer initialisation (INI) field in the security profile contains a file path that the user can't write to. You can fix this by clearing the field in the security profile assigned to the user.

You need access to the System menu and permission to edit security profiles in Access SelectPay.


The error message

When you save the downloaded updates, you see the message 'Exception. Access SelectPay has encountered a problem. We are sorry for the inconvenience. We have updated the error log.'

This message is very general. To confirm the cause, click More details. The details include the message 'Access to the path [path name] is denied.'

If you see this message, follow the steps below.


Find the profile assigned to the user

You may not know which security profile the user has. The profile is always the one assigned to the current user, so check the user record first.

  1. In Access SelectPay, click System on the menu bar.

  2. Click User Record.

  3. Find the current user in the list.

  4. Make a note of the profile assigned to the user.

🤓Tip: If you already know the profile, go straight to the next section.


Clear the DPS Viewer Ini field

Once you know the profile, you can open it and clear the file path that is causing the error.

  1. In Access SelectPay, click System on the menu bar.

  2. Click Security Profile.

  3. Double-click the profile you found in the previous section, or select the profile and click Open Profile.

  4. Once the profile opens, click File Paths.

  5. In the DPS Viewer Ini field, delete the file path.

  6. Click Save.

  7. Download the updates in DPS Viewer again, then save the P6, P9 and student loan updates.

📌Note: The path in the field shows the name of a user on your system, so it may differ from this example: C:\Users\[user name]\Documents\Access UK Ltd\Payroll\DpsViewer\Downloads. Delete whatever path is in the field.

Did this answer your question?