> 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/qtech/datscan-and-data-loggers/datahost/troubleshooting/sql-connection.md).

# DATAHost can't connect to SQL Server

DATAHost can't log in to SQL Server, or records don't reach the database.

The computer node will need to be renamed (F2 in browser) otherwise ADO won't pick up the database configuration. Check that User has permission to access the DATScan database.

{% hint style="info" %}
**Applies to:** DATAHost V1.3 with Microsoft SQL Server.
{% endhint %}

## Check these in order

1. **Check the names in the TBD.** The computer node will need to be renamed (F2 in browser) otherwise ADO won't pick up the database configuration. The Database Server needs to be renamed. Once this has been done ADO needs to be restarted from Control Panel. If successful you should see the ADO status being Open/Connected.
2. **Check the permissions.** The User must have permissions for connect and execute, insert, update, delete.
3. **Try SQL Server authentication.** Change the Value of **Authentication** to “sql server authentication”, then add a node **Login** and set the value to the SQL username configured, add another node **Password** and set the value to the SQL password. This should resolve the windows authentication issues with domain accounts. See [Connect to the database](https://help.qtech.co.nz/qtech/datscan-and-data-loggers/datahost/configure.md).

## Still not working?

Contact QTech with the error description from the browser and a diagnostics log.
