> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/troubleshooting/user-does-not-exist.md).

# User does not exist, or writes from the client don't stick

The OPC UA Server says User does not exist, or values written from the OPC UA client go back to their old value. The DATRAN operator login is wrong.

If the error message "User does not Exist" is displayed it means the OPCUA config file (XML) does not have a valid DATRAN operator and password defined for communications via TCPServer to Datran. If the credentials are wrong the node retains its original value.

Credentials used to connect to DATRAN TCP Server are only required by OPC UA Server to write data to the TreeBase, not for connecting.

{% hint style="info" %}
**Applies to:** DATRAN OPC UA Server V1.x.
{% endhint %}

## Fix it

1. Choose or create a valid operator, as specified in the DATRAN VI Operator list. You may wish to create one specifically for OPCUA.
2. Configure the username and password in the OPC UA config file, `OpcUAServer.exe.config`, to be the same as a Datran Operator in the TBD file.
3. Save the file. The OPC-UA Server must be restarted to make the changes effective.
4. Test: change a node value from an OPC UA Client and verify that such change is retained.

## Check the log

Also check the log file for entries similar to the following:

```
Datran: received error response ERROR_INVALIDUSERORPASSWORD (error code is -2)
```

The log file is located at `C:\ProgramData\QTech\DATRAN OPC UA Server\logs\OPCUAServer.txt`.

See [Install and configure the OPC UA Server](https://help.qtech.co.nz/datran/datran-vi-scada/datran-opc-ua-server/install.md#set-the-connection-to-datran).

## Still not working? Contact QTech

Email <techsupport@qtech.co.nz> with the OPC UA Server and DATRAN VI versions, the client software, and the relevant part of the log.
