I'm running SQL Server 2008 R2 on a Windows 7 64-bit machine on which I have Omniscope 2.6 b300 installed. I also have MS Office Pro 2010 on this machine. I add a Database table to the pallette in datamanager I select SQL Server and then select SQL Server 2008. Then I complete the fields as required and try to connect and receive an error (see attached). I have tried with all SQL Server options and still cannot connect (jTDS etc). I have turned the firewall off on the machine, checked all the ports are still at their default of 1433 and still get an error. The only way I can connect to SQL Server is by downloading the SQL Server JDBC drivers using the JDBC (Advanced) option. The preferred route is obviously to use the SQL Server option rather than to install JDBC.
Can you confirm whether this is an issue or I need to change my config?
It looks like your host name is incorrect. The host name should be the name or IP-Address of the PC on which SQL-Server is installed. Please try again with: 'Paddy-PC'.
The host name is OK. Paddy-PC is the machine and SQLEXPRESS is the server instance. When I connect using the SQL Server Management Studio I always connect to either Paddy-PC\SQLExpress or .\SQLExpress (. meaning local machine)-see attached. I'm using SQL Server 2008 R2 Express which is why the instance name is needed.
The JDBC connection string is below (which works) and you can see this uses PADDY_PC\sqlexpress
The host name is different to the server name you use in the SQL Server Management Studio. It should therefore only be the name of the PC or the IP address. Leaving the host name like this, could you try the following:
- Entering the Database name as: master and adelie_raw and no database name.
- Ensuring SQL server is running on port 1433. You can find this out in the SQL Server Configuration Manager by expanding the SQL Server Network Configuration and select Protocols for MSSQLSERVER (default instance). In the right hand panel you'll see the protocols. Double click on TCP/IP and a properties dialog box will appear. If you select the IP Addresses tab you should see your IP address and the TCP port SQL Server is running on.
Have tried all your suggestions but still no luck. My SQL server does not have a Default instance of MSSQLSERVER, just a named instance of SQLEXPRESS. Have seen today that there are a couple of bugs around this: