Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
unaveen
Starting Member
1 Post |
Posted - 2009-01-21 : 23:15:27
|
Hi , 1- I downloaded the 180 day trial (developer) verssion of Sql Server 2008 2 - i installed all the components in the feature selection page of the enterprise edition.3- Using mixed mode i installed the native mode default configuration.4.After the install was successful i proceeded to create my own database .5. Now this statement con = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;DatabaseName=testdb;integratedSecurity=false;"+"user=testuser;password=pass");gives the exception Exception: The TCP/IP connection to the host localhost, port 1433 has failed. Error: Connection refused: connect. Please verify the connection properties and check that a SQL Server instance is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.Please note i have checked the registry entries and seen 1433 is the default port .Also i am doing all this locally on the same machine ..i.e my Java program is running on the same machine as the Database.I am using latest sqljdbc4.jarPlease help..It doesnt look nice on the part of such convenient dbase to get me stuck in there |
|
|
|
|