I was trying to install MS SQL database on Thingworx. I was getting following error while executing the thingworxMssqlDBSetup.bat script.
Error: Microsoft ODBC Driver 11 for SQL Server: TCP Provider: No connection could be made because the target machine actively refused it.
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server: Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. The 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...
Press any key to continue . . . I have followed this link still not able to get connected to the target machine.
This is the screenshot of services running in my system. Please suggest some solution.
Isha can you share screenshot of the SQL Server Configuration Manager for your MS SQL DB instance to check if required protocols are enabled? Also are you able to login via SQL Management Studio on to that schema?
You probably want to look at the following posts if you did not already:
The parameter for the instancename (-i) should be only SQLEXPRESS because that is the name of your instance.