<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "cannot connect to SQL Server 2005 - remote connections"]]></title>
		<link>http://forums.visual-paradigm.com/posts/40.html</link>
		<description><![CDATA[Latest messages posted in the topic "cannot connect to SQL Server 2005 - remote connections"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ I have one question. I would like to use DB-VA SQL but I cannot connect to my database. I have switched on Remote Connections in my SQL Server ("Using both TCP/IP and named pipes"). After using jtds-1.2.jar I have the following error:<br> <br> Test adapter connection failed!<br> java.sql.SQLException: Network error IOException: Connection refused: <br> connect<br>  at <br> net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372)<br>  at <br> net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)<br>  at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)<br>  at org.orm.ertodb.DriverWrapper.connect(DriverWrapper.java:27)<br>  at java.sql.DriverManager.getConnection(Unknown Source)<br>  at java.sql.DriverManager.getConnection(Unknown Source)<br>  at v.iybj.i(:34)<br>  at v.iybj.f(:43)<br>  at v.yct.run(:21)<br> Caused by: java.net.ConnectException: Connection refused: connect<br>  at java.net.PlainSocketImpl.socketConnect(Native Method)<br>  at java.net.PlainSocketImpl.doConnect(Unknown Source)<br>  at java.net.PlainSocketImpl.connectToAddress(Unknown Source)<br>  at java.net.PlainSocketImpl.connect(Unknown Source)<br>  at java.net.SocksSocketImpl.connect(Unknown Source)<br>  at java.net.Socket.connect(Unknown Source)<br>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>  at java.lang.reflect.Method.invoke(Unknown Source)<br>  at <br> net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:289)<br>  at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:250)<br>  at <br> net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:297)<br>  ... 8 more<br> Test .NET connection failed!<br> java.lang.Exception: Wystąpił błąd podczas ustanawiania połączenia z <br> serwerem. Podczas łączenia się z programem SQL Server 2005 przyczyną tego <br> błędu może być fakt, że zgodnie z ustawieniami domyślnymi program SQL Server <br> nie pozwala na połączenia zdalne. (provider: Dostawca TCP, error: 0 - Nie <br> można nawiązać połączenia, ponieważ komputer docelowy aktywnie go odmawia.)<br>    w System.Data.SqlClient.SqlInternalConnection.OnError(SqlException <br> exception, Boolean breakConnection)<br>    w <br> System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject <br> stateObj)<br>    w System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, <br> Boolean& failoverDemandDone, String host, String failoverPartner, String <br> protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean <br> encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection <br> owningObject, Boolean aliasLookup)<br>    w <br> System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection <br> owningObject, SqlConnectionString connectionOptions, String newPassword, <br> Boolean redirectedUserInstance)<br>    w <br> System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity <br> identity, SqlConnectionString connectionOptions, Object providerInfo, String <br> newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)<br>    w <br> System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions <br> options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection <br> owningConnection)<br>    w <br> System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection <br> owningConnection, DbConnectionPool pool, DbConnectionOptions options)<br>    w System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection <br> owningObject)<br>    w <br> System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection <br> owningObject)<br>    w System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection <br> owningObject)<br>    w System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection <br> owningConnection)<br>    w System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection <br> outerConnection, DbConnectionFactory connectionFactory)<br>    w System.Data.SqlClient.SqlConnection.Open()<br>    w NHibernate.Connection.DriverConnectionProvider.GetConnection()<br> <br> I translate java.lang.Exception from Polish:<br> "Error when establishing connection with server - trying to connect to SQL <br> Server 2005. The reason of the error can be that according to default <br> setting SQL Server doesn't accept remote connections. (TCP Provider, error: 0 - Connection cannot be established because destination computer refuses connection.)<br> <br> Please help. Thank you.<br> RM<br> ]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#6557.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#6557.html</link>
				<pubDate><![CDATA[Tue, 14 Nov 2006 12:02:35]]></pubDate>
				<author><![CDATA[ Robert Magdziarz]]></author>
			</item>
			<item>
				<title>Re:cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ Hi Robert,<br> <br> Could you tell me which language you have selected when configuring the database connection setting? Also, could you let me know if your SQL Server is using Window Authentication or SQL Server Authentication? Finally, could you try to telnet to your server machine (telnet %Host% 1433) and see if it is possible to establish the connection?<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#6559.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#6559.html</link>
				<pubDate><![CDATA[Tue, 14 Nov 2006 13:10:45]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ I selected C#.NET. I use Windows Authentication (PC\Robert - administrator). Telnet localhost 1433 failes.<br> <br> See attachment.]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#6561.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#6561.html</link>
				<pubDate><![CDATA[Tue, 14 Nov 2006 14:27:30]]></pubDate>
				<author><![CDATA[ Robert Magdziarz]]></author>
			</item>
			<item>
				<title>Re:cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ Hi Robert,<br> <br> According to the screen capture, your user name and password are not supplied. Could you fill them in and try again? Please let me know if it works.<br> <br> Best regards,<br> Jick]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#6605.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#6605.html</link>
				<pubDate><![CDATA[Thu, 16 Nov 2006 18:21:57]]></pubDate>
				<author><![CDATA[ Jick]]></author>
			</item>
			<item>
				<title>Re:cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ Check if you can telnet to the dataserver port from the client machine?<br> Check if there are any firewall issues that are blocking the connection?<br> <br> good luck.]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#17861.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#17861.html</link>
				<pubDate><![CDATA[Mon, 18 Jun 2007 13:58:17]]></pubDate>
				<author><![CDATA[ alanRO]]></author>
			</item>
			<item>
				<title>cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ Hi,<br> <br> I am having the same problem as Robert and need some help. I did what Jick said but still nothing. Any help would be appreciated thanks.<br> <br> <br> _________________________<br> <a href="http://www.discount-softwares.com/" target="_new" rel="nofollow">Discounted Softwares!!</a>]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#21593.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#21593.html</link>
				<pubDate><![CDATA[Thu, 21 Feb 2008 10:50:15]]></pubDate>
				<author><![CDATA[ tekn1q]]></author>
			</item>
			<item>
				<title>cannot connect to SQL Server 2005 - remote connections</title>
				<description><![CDATA[ Hello tekn1q,<br> <br> Would you mind send me the error message and the screenshot of your database configuration setting to have a look?<br> <br> Best regards,<br> Rain Wong]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/1750#21662.html</guid>
				<link>http://forums.visual-paradigm.com/posts/1750#21662.html</link>
				<pubDate><![CDATA[Sat, 23 Feb 2008 10:50:21]]></pubDate>
				<author><![CDATA[ Rain]]></author>
			</item>
	</channel>
</rss>