Article - CS263390
ThingWorx MSSQL installation error when running script thingworxMssqlDBSetup.bat
Modified: 31-Oct-2025
Applies To
- ThingWorx Platform 7.4 F000
- ThingWorx Platform 8.3 to 9.6
- MSSQL (Microsoft SQL server)
Description
- Seeing the following error when executing thingworxMssqlDBSetup.bat
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server: TCP Provider: No connection could be made because the target machine actively refused it
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
This is a printer-friendly version of Article 263390 and may be out of date. For the latest version click CS263390