<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andrei DANEASA &#187; sql server</title>
	<atom:link href="http://www.webxpert.ro/andrei/tag/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webxpert.ro/andrei</link>
	<description>Programming, database, security, Oracle, .NET, C#, PHP, Travel</description>
	<lastBuildDate>Tue, 18 Oct 2011 15:42:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Enable TCP/IP on SQL Server 2005 Express Edition</title>
		<link>http://www.webxpert.ro/andrei/2009/05/31/enable-tcpip-on-sql-server-2005-express-edition/</link>
		<comments>http://www.webxpert.ro/andrei/2009/05/31/enable-tcpip-on-sql-server-2005-express-edition/#comments</comments>
		<pubDate>Sun, 31 May 2009 12:38:44 +0000</pubDate>
		<dc:creator>andreiash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[jtds]]></category>
		<category><![CDATA[sql developer]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[tcp/ip]]></category>

		<guid isPermaLink="false">http://www.webxpert.ro/andrei/?p=456</guid>
		<description><![CDATA[On SQL Server 2005 Express Edition (I don&#8217;t know how&#8217;s on full version, never had a license for it) the default connection model is through named pipes and TCP/IP is disabled. If you want to connect to it from Oracle SQL Developer using jTDS driver it will throw a generic connection failure, as he is [...]]]></description>
			<content:encoded><![CDATA[<p>On SQL Server 2005 Express Edition (I don&#8217;t know how&#8217;s on full version, never had a license for it) the default connection model is through named pipes and TCP/IP is disabled.</p>
<p>If you want to connect to it from Oracle SQL Developer using jTDS driver it will throw a generic connection failure, as he is trying just TCP/IP. The error looks like this:<br />
<img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/2009-05-31_1408.png" alt="2009-05-31_1408" title="2009-05-31_1408" width="680" height="485" class="aligncenter size-full wp-image-458" /></p>
<p>In ordrer to enable TCP/IP you have to do a few steps:<br />
<span id="more-456"></span><br />
<strong>1. From SQL Server Configuration Manager, go and expand <em>&#8220;Network Configuration&#8221;</em>, choose <em>&#8220;Protocols for SQL Server Express&#8221;</em> and enable TCP/IP</strong><br />
<img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/2009-05-31_1412.png" alt="2009-05-31_1412" title="2009-05-31_1412" width="680" height="430" class="aligncenter size-full wp-image-461" /> </p>
<p><strong>2. Open TCP/IP properties page, go to the second tab <em>&#8220;IP Addresses&#8221;</em> and in the last field called <em>&#8220;IPAll &#8211; TCP Port&#8221;</em> enter your port number. You might want to choose 1433.</strong><br />
<img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/2009-05-31_14092.png" alt="2009-05-31_14092" title="2009-05-31_14092" width="395" height="434" class="aligncenter size-full wp-image-463" /></p>
<p><strong>3. Restart SQL Server Express service.</strong><br />
<img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/2009-05-31_1410.png" alt="2009-05-31_1410" title="2009-05-31_1410" width="680" height="430" class="aligncenter size-full wp-image-460" /></p>
<p><strong>4. Try again from SQL Developer. This time will work!</strong><br />
<img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/2009-05-31_1413.png" alt="2009-05-31_1413" title="2009-05-31_1413" width="680" height="485" class="aligncenter size-full wp-image-462" /></p>
<p>Good luck,<br />
Andrei</p>
<p><em><strong>Related posts:</strong></em></p>
<li><a href="http://www.webxpert.ro/andrei/2009/05/22/sql-server-2005-named-instance-in-oracle-sql-developer/">SQL Server 2005 named instance in Oracle SQL Developer</a></li>
<li><a href="http://www.webxpert.ro/andrei/2010/01/22/book-review-sql-developer-2-1-by-sue-harper-packt-publishing/">Book review: SQL Developer 2.1 by Sue Harper (Packt Publishing)</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/10/15/im-going-to-review-onesome-packt-books/">I&#8217;m going to review one/some Packt book(s)</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/10/01/sql-developer-2-1-ea1-available/">SQL Developer 2.1 EA1 available</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/05/29/windows-authentication-connection-to-sql-server-from-sql-developer/">Windows authentication connection to SQL Server from SQL Developer</a></li>
]]></content:encoded>
			<wfw:commentRss>http://www.webxpert.ro/andrei/2009/05/31/enable-tcpip-on-sql-server-2005-express-edition/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 named instance in Oracle SQL Developer</title>
		<link>http://www.webxpert.ro/andrei/2009/05/22/sql-server-2005-named-instance-in-oracle-sql-developer/</link>
		<comments>http://www.webxpert.ro/andrei/2009/05/22/sql-server-2005-named-instance-in-oracle-sql-developer/#comments</comments>
		<pubDate>Fri, 22 May 2009 09:19:00 +0000</pubDate>
		<dc:creator>andreiash</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[jtds]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql developer]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.webxpert.ro/andrei/?p=411</guid>
		<description><![CDATA[I&#8217;ve been told that there is no way to connect to a SQL Server 2005 named instance from SQL Developer. That&#8217;s not necessary true, but it&#8217;s strange. A bit of background information: SQL Developer is connecting to SQL Server through JTDS opensource driver. The driver said that it cannot support named instances. On the other [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been told that there is no way to connect to a SQL Server 2005 named instance from SQL Developer. That&#8217;s not necessary true, but it&#8217;s strange. </p>
<p><em>A bit of background information</em>: SQL Developer is connecting to SQL Server through JTDS opensource driver. The driver said that it cannot support named instances. On the other hand, in the connection string, there is a syntax for named instance, like &#8220;instance=<strong><em>your_instance</em></strong>&#8220;.<br />
<span id="more-411"></span><br />
What you&#8217;ll have to do to connect to a named instance is not putting the instance name in the server name, like ADANEASA-RO/SQLEXPRESS, but concatenate everything in the port field.<br />
Your port should be like <strong>[PORT]/[DB_NAME];INSTANCE=[INSTANCE_NAME]</strong><a href="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/namedinstancesd.jpg"><img src="http://www.webxpert.ro/andrei/wp-content/uploads/2009/05/namedinstancesd.jpg" alt="namedinstancesd" title="namedinstancesd" width="700" height="499" class="aligncenter size-full wp-image-412" /></a></p>
<p>Good luck!</p>
<p><em><strong>Related posts:</strong></em></p>
<li><a href="http://www.webxpert.ro/andrei/2009/05/31/enable-tcpip-on-sql-server-2005-express-edition/">Enable TCP/IP on SQL Server 2005 Express Edition</a></li>
<li><a href="http://www.webxpert.ro/andrei/2009/02/23/oracle-10g11g-install-on-windows-2008-server/">Oracle 10g/11g installation on Windows 2008 Server</a></li>
<li><a href="http://www.webxpert.ro/andrei/2010/09/09/upgrade-oracle-apex-3-2-1-to-4-0-1-on-oracle-database-10g-express-edition-xe/">Upgrade Oracle APEX 3.2.1 to 4.0.1 on Oracle Database 10g Express Edition (XE)</a></li>
<li><a href="http://www.webxpert.ro/andrei/2010/04/03/oracle-database-11g-release-2-available-on-windows-finally/">Oracle Database 11g Release 2 available on Windows&#8230; finally</a></li>
<li><a href="http://www.webxpert.ro/andrei/2010/01/22/book-review-sql-developer-2-1-by-sue-harper-packt-publishing/">Book review: SQL Developer 2.1 by Sue Harper (Packt Publishing)</a></li>
]]></content:encoded>
			<wfw:commentRss>http://www.webxpert.ro/andrei/2009/05/22/sql-server-2005-named-instance-in-oracle-sql-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

