Applies To:
  • CitectSCADA 5.xx, 6.00
  • CitectHMI 5.xx, 6.00

On startup of Citect the error message "Initialising Drvier 'XXXX'. Error access is denied 0x5". What is causing this error, and how do I resolve it?

The most probable cause of the error message is a problem initialising either the Board or Port driver. Depending on your particular protocol, you may have a configuration error.
The Board form must have Board Name and Board Type defined as a minimum.
The Ports Form must have Port Name, and Board Name defined as a minimum.
And the I/O Device form must have Name, Number, Address, Protocol and Port Name defined.
Run the communications setup wizard again, or check the Driver Specifications for details on Boards, Ports and I/O Device forms configuration.

Another possible cause is DLL dependency failure. Open the driver DLL with depends.exe and look for any dependent modules marked in red. For example, some drivers will depend on a version of db3utils.dll. Make sure that when installing new drivers, you say "YES" overwrite existing files. Failing to do so can cause the driver dependency to fail when loading, giving the above error message. Solution: reinstall the driver pack and say "Yes" to overwrite all files.


0x5, error, initialising driver, access denied