<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Accessing SQL Server on NetBeans using JDBC, Part III: Troubleshooting</title>
	<atom:link href="http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/</link>
	<description>Just another IT weblog</description>
	<lastBuildDate>Fri, 12 Mar 2010 18:21:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Luiz Gustavo</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-6156</link>
		<dc:creator>Luiz Gustavo</dc:creator>
		<pubDate>Mon, 08 Mar 2010 20:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-6156</guid>
		<description>Hi thesti,

I had the same problem, that made me waste an entire day looking for a solution.
The problem, in my case, was the instance name, using a named instance, like this


jdbc:sqlserver://SERVERNAME\INSTANCE:1433;databaseName=TESTDB

I changed my instalation, so the server isn&#039;t named, and just accept a connection in the form:

jdbc:sqlserver://SERVERNAME:1433;databaseName=TESTDB

and I got the connection working.</description>
		<content:encoded><![CDATA[<p>Hi thesti,</p>
<p>I had the same problem, that made me waste an entire day looking for a solution.<br />
The problem, in my case, was the instance name, using a named instance, like this</p>
<p>jdbc:sqlserver://SERVERNAME\INSTANCE:1433;databaseName=TESTDB</p>
<p>I changed my instalation, so the server isn&#8217;t named, and just accept a connection in the form:</p>
<p>jdbc:sqlserver://SERVERNAME:1433;databaseName=TESTDB</p>
<p>and I got the connection working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linglom</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4742</link>
		<dc:creator>linglom</dc:creator>
		<pubDate>Tue, 13 Oct 2009 04:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4742</guid>
		<description>Hi, Thesti

The error message states that it couldn&#039;t connect to the SQL Server so there must be something wrong. I suggest you try to telnet to port 1433 to re-verify if the SQL Server is accepting request or not.

If telnet can connect, then try to change hostname on the connection string to an ip address of your computer.

If it still doesn&#039;t solve the problem, can you show your source code?</description>
		<content:encoded><![CDATA[<p>Hi, Thesti</p>
<p>The error message states that it couldn&#8217;t connect to the SQL Server so there must be something wrong. I suggest you try to telnet to port 1433 to re-verify if the SQL Server is accepting request or not.</p>
<p>If telnet can connect, then try to change hostname on the connection string to an ip address of your computer.</p>
<p>If it still doesn&#8217;t solve the problem, can you show your source code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thesti</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4739</link>
		<dc:creator>thesti</dc:creator>
		<pubDate>Mon, 12 Oct 2009 14:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4739</guid>
		<description>hi Linglom,

i&#039;m using this driver &quot;Microsoft SQL Server JDBC Driver 2.0&quot; to connect to SQL Server 2000 from Netbean 6.7.1

i got this error

&quot;Unable to add connection. Cannot establish a connection to
jdbc:sqlserver://localhost:1433;databaseName=Northwind using 
com.microsoft.sqlserver.jdbc.SQLServerDriver (The TCP/IP connection 
to the host localhost, port 1433 has failed. Error: &quot;connect timed out. 
Verify the connaction propoerties, check that an instance of SQL 
Server is running on the host and accepting TCP/IP connections 
at the port, and that no firewall is blocking TCP connections to the port.&quot;.).&quot;

though that i&#039;ve verifed from Server Network Utility that the TCP/IP protocol is enabled and is listening on port 1433. 

i can connect to the server through query analyzer though. i wonder what&#039;s wrong?

Thank you.</description>
		<content:encoded><![CDATA[<p>hi Linglom,</p>
<p>i&#8217;m using this driver &#8220;Microsoft SQL Server JDBC Driver 2.0&#8243; to connect to SQL Server 2000 from Netbean 6.7.1</p>
<p>i got this error</p>
<p>&#8220;Unable to add connection. Cannot establish a connection to<br />
jdbc:sqlserver://localhost:1433;databaseName=Northwind using<br />
com.microsoft.sqlserver.jdbc.SQLServerDriver (The TCP/IP connection<br />
to the host localhost, port 1433 has failed. Error: &#8220;connect timed out.<br />
Verify the connaction propoerties, check that an instance of SQL<br />
Server is running on the host and accepting TCP/IP connections<br />
at the port, and that no firewall is blocking TCP connections to the port.&#8221;.).&#8221;</p>
<p>though that i&#8217;ve verifed from Server Network Utility that the TCP/IP protocol is enabled and is listening on port 1433. </p>
<p>i can connect to the server through query analyzer though. i wonder what&#8217;s wrong?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serhat</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4296</link>
		<dc:creator>Serhat</dc:creator>
		<pubDate>Mon, 18 May 2009 18:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4296</guid>
		<description>thank you for this very useful content. everything worked fine after doing excatly the way you meant.

Kind regards,
Serhat from TRNC</description>
		<content:encoded><![CDATA[<p>thank you for this very useful content. everything worked fine after doing excatly the way you meant.</p>
<p>Kind regards,<br />
Serhat from TRNC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iturea</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4280</link>
		<dc:creator>Iturea</dc:creator>
		<pubDate>Tue, 12 May 2009 17:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4280</guid>
		<description>Ok, in Netbeans I have a proxy configured and it could not connect through that proxy.  Once I turned the proxy off, it connected just fine.</description>
		<content:encoded><![CDATA[<p>Ok, in Netbeans I have a proxy configured and it could not connect through that proxy.  Once I turned the proxy off, it connected just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iturea</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4279</link>
		<dc:creator>Iturea</dc:creator>
		<pubDate>Tue, 12 May 2009 17:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4279</guid>
		<description>I am getting the following error:

The TCP/IP connection to the host has failed.
java.net.SocketException: Malformed reply from SOCKS server

My connection string is:
(0.0.0.0 = is the fake ip address to the server for this post)
(***** = is the fake password for this post)

jdbc:sqlserver://0.0.0.0:1433;databaseName=ITAssetsDB;user=sa;password=*****;</description>
		<content:encoded><![CDATA[<p>I am getting the following error:</p>
<p>The TCP/IP connection to the host has failed.<br />
java.net.SocketException: Malformed reply from SOCKS server</p>
<p>My connection string is:<br />
(0.0.0.0 = is the fake ip address to the server for this post)<br />
(***** = is the fake password for this post)</p>
<p>jdbc:sqlserver://0.0.0.0:1433;databaseName=ITAssetsDB;user=sa;password=*****;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linglom</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4276</link>
		<dc:creator>linglom</dc:creator>
		<pubDate>Tue, 12 May 2009 02:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4276</guid>
		<description>Hi, Vikash
Is there any error message when you established a connection to the SQL Server?</description>
		<content:encoded><![CDATA[<p>Hi, Vikash<br />
Is there any error message when you established a connection to the SQL Server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikash</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-4259</link>
		<dc:creator>Vikash</dc:creator>
		<pubDate>Fri, 08 May 2009 07:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-4259</guid>
		<description>Hi,

Thanks for the nice post. My issue is I can create connection to MS SQL Server 2005 through the runtime window in netbeans 6.5,1, but it doesn&#039;t show any tables nor does running queries help. I need to use hibernate in my project and that requires this connection to work properly. Am I missing something? Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the nice post. My issue is I can create connection to MS SQL Server 2005 through the runtime window in netbeans 6.5,1, but it doesn&#8217;t show any tables nor does running queries help. I need to use hibernate in my project and that requires this connection to work properly. Am I missing something? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linglom</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-3737</link>
		<dc:creator>linglom</dc:creator>
		<pubDate>Thu, 15 Jan 2009 14:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-3737</guid>
		<description>Hi, Alex
About environment in the tutorial: Windows XP SP2 with NetBeans 5.5 and SQL Server 2000 SP4 on the same computer.

I suggest the best way is to develop on the same computer first (connect to SQL Server on the local machine).</description>
		<content:encoded><![CDATA[<p>Hi, Alex<br />
About environment in the tutorial: Windows XP SP2 with NetBeans 5.5 and SQL Server 2000 SP4 on the same computer.</p>
<p>I suggest the best way is to develop on the same computer first (connect to SQL Server on the local machine).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/comment-page-1/#comment-3735</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Thu, 15 Jan 2009 05:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.linglom.com/2008/02/23/accessing-sql-server-on-netbeans-using-jdbc-part-iii-troubleshooting/#comment-3735</guid>
		<description>my problems are still unsolved, or assuming that it works in your PC, can i have the spesification of the PC such as what is the OS, what is the version of SQL Server (2000 or 2005), and other requirements. So i can try from zero. Thanks alot.</description>
		<content:encoded><![CDATA[<p>my problems are still unsolved, or assuming that it works in your PC, can i have the spesification of the PC such as what is the OS, what is the version of SQL Server (2000 or 2005), and other requirements. So i can try from zero. Thanks alot.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
