Skip to main content

Error: An unsecured or incorrectly secured fault

Error with SelectPay integration: An unsecured or incorrectly secured fault

H
Written by Harry Ledger
Updated over a month ago

If pending changes are not being sent from SelectHR to SelectPay it could be due to an error in the SelectHR Service Administrator.

See below for a list of checks you can make if you are on premise.

πŸ“Œ Note: The service administrator is not accessible to setups hosted by Access, so if hosted, please raise a new case online and reference the title of this article.

Check

Steps to take

Ensure the SelectPay Service is running

  1. Open SelectPay.

  2. Log in to the affected database.

  3. If the login attempt is successful then continue with this article.

  4. If the login fails, then take note of the error and check the Knowledge Base for further help.

Ensure the SelectPay unlock has HR Integration enabled

  1. Open SelectPay.

  2. In the top left, click the pink icon, and select Start Up Screen.

  3. Click the About Access SelectPay tab.

  4. Click the Registration tab.

  5. In the Modules section, ensure that HR Integration is listed. If it is not listed, a new unlock will need to be generated. Please contact Support who will ask our Despatch Team to send a new unlock.

Ensure the SelectPay unlock has not expired

  1. Open SelectPay.

  2. In the top left, click the pink icon, and select Start Up Screen.

  3. Click the About Access SelectPay tab.

  4. Click the Registration tab and check the Renewal Date.

  5. If this date is before today's date, a new unlock will need to be generated. Please contact Support who will ask our Despatch Team to send a new unlock.

Check to see if the SelectPay Web Service User is suspended

  1. Open SelectPay Administrator.

  2. Click the Database tab

  3. Click Users.

  4. Locate the Web Service User.

  5. Check the Suspended column. If there is a tick in this column, right-click the Web Service User and select Suspend User.

  6. Ensure that the tick in the Suspended column is no longer there.

  7. Retry the diagnosis steps.

Reset the Web Service User password

  1. Open SelectPay Administrator.

  2. Click the Database tab.

  3. Click Users.

  4. Select the Web Service User.

  5. In the top ribbon, click Set Password.

  6. Type the new password into both fields.

  7. Click OK.

  8. In SelectHR Service Administrator retry the diagnosis steps using the new password.

Ensure that the Web Service User is flagged as a Web Service User

  1. Open SelectPay.

  2. Click the System tab.

  3. Click User Records.

  4. Double-click the Web Service User.

  5. Check there is a tick in the Web Service User check box. If this is missing, select the check box.

  6. Click Save & Close.

  7. Retry the diagnosis steps.

Check that the Web Service URL is correct and creates

  1. Open SelectHR Service Administrator.

  2. Click Payroll, Configure​​​​​​.

  3. Select everything in the Web Service Location field.

  4. Right-click and select Copy.

  5. Open a Web Browser.

  6. Right-click the Address Bar, and select Paste.

  7. Press Enter key.

    • If successful, a page will be displayed that begins with HRIntegrationService Service. You have created a service.

    • If this is not successful, please double check that the URL is the correct one.

    • If the URL is correct and an error is displayed then this will need to be passed on to the IT team that host the application.

Check that the integration DLL file has been copied into the SelectHR Service folder

  1. Browse to the SelectPay Service installation location, e.g. C:\Program Files (x86)\Access Applications\SelectPay v2025r1\SelectPay Service\Service.

  2. Locate and select the file AccessSelect.PayrollInterface.dll.

  3. Right-click and select Properties.

  4. Click the Details tab.

  5. Note down the value next to File Version (eg. 2025.1.1.26).

  6. Click Cancel.

  7. Browse to the SelectHR Service installation location, e.g. C:\Program Files (x86)\Access Applications\SelectHR v4.0.0\Service.

  8. Locate and select the file AccessSelect.PayrollInterface.dll.

  9. Right-click and select Properties.

  10. Click the Details tab.

  11. Compare the value next to File Version (eg. 2020.1.0.33) with what was noted before:

    • If this file versions are not identical follow the next steps to copy the original one over.

    • If it matches, skip the rest of the steps in this section.

  12. Open SelectHR Service Administrator.

  13. Click the Payroll Schedule tab.

  14. Click Stop to stop the integration service.

  15. Click SelectHR Service Administrator.

  16. Browse to the SelectPay Service installation location, e.g. C:\Program Files (x86)\Access Applications\SelectPay v2025r1\SelectPay Service\Service.

  17. Locate and select the file AccessSelect.PayrollInterface.dll.

  18. Right-click and select Copy.

  19. Browse to the SelectHR Service installation location, e.g. C:\Program Files (x86)\Access Applications\SelectHR v4.0.0\Service.

  20. Right-click and select Paste. If a Windows prompt appears stating the file already exists click Replace the file in the destination.

  21. Open SelectHR Service Administrator.

  22. Click the Payroll Schedule tab.

  23. Click Start to start the integration service.

  24. Retry the diagnosis steps.

Check that the HR webservice is pointing to the correct server

  1. On the HR Webserver browse to C:\inetpub\wwwroot\PayrollService

  2. Open web.config

  3. Ensure the key UserManagementServerName is the correct SQL server for the payroll database. This should be the web server normally.

  4. Ensure the UserManagementServerPort matches your SelectPay TCP port number.

Check that the SelectPay Webserver Web Config File is pointing to the correct SQL Server

  1. Log in to the SelectPay Web Server.

  2. Navigate to C:\inetpub\wwwroot\[TENANTID].

  3. Open the Web Config File.

  4. Ensure that the section after Data Source= is pointing to the correct SQL Server.

  5. If not, update this to the correct SQL Server and try again.

    • IMPORTANT NOTE: You may need to unsuspend the Web Service User in the SelectPay Administrator.

Did this answer your question?