> 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-reporting/troubleshooting/database-disconnected.md).

# Reporting says the DATRAN database is disconnected

DATRAN Reporting's status bar says the DATRAN database is disconnected. Check SQL Server and the network.

If you see the "DATRAN Database Disconnected" message on the status bar of the scheduler window when DATRAN Reporting has just been started up, ensure that the following criteria are checked:

{% hint style="info" %}
**Applies to:** DATRAN Reporting V6.x. V6.05: Improvements have been made to the way DATRAN Reporting detects and re-establishes connection to SQL servers if they become temporarily unavailable. Previously, if the Reporting application was in the middle of producing a set of scheduled reports, most notably those which FTP the results to another server, then the Reporting application would sometimes hang or crash if the SQL database was disconnected.
{% endhint %}

## Check

1. **Is SQL Server running?** Ensure that Microsoft SQL Server is running. Check this by using the Service Manager, which can be located on the Windows taskbar. If it has stopped, start it up. You can also check using Windows Services (start -> Settings -> Control Panel -> Administrative Tools -> Services).
2. If the DATRAN database is not located on the same computer as DATRAN Reporting ensure that the network cable is plugged in and there are no problems with the network.
3. See [Connect to the DATRAN database](https://help.qtech.co.nz/datran/datran-vi-scada/datran-reporting/install.md#connect-to-the-datran-database).
4. We strongly recommend that all systems are updated to the current release.

See [DATRAN won't connect to the SQL database](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/troubleshooting/cannot-connect-to-sql.md).

## Still not working? Contact QTech

Email <techsupport@qtech.co.nz> with your Reporting version, the SQL Server version, and what you've tried.
