 




<?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>IT Answers &#187; SQL Database Connection Issues</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sql-database-connection-issues/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 21:33:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Error connecting to a SQL database</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-connecting-to-a-sql-database/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/error-connecting-to-a-sql-database/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 15:22:42 +0000</pubDate>
		<dc:creator>SQL Server Ask the Experts</dc:creator>
				<category><![CDATA[Connection Issues]]></category>
		<category><![CDATA[SQL Database]]></category>
		<category><![CDATA[SQL Database Connection Issues]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I receive the following errors when I attempt to connect to a SQL Server database on my home computer: 1) Keyword not supported: &#8216;intigreted security&#8217;? 2) An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default [...]]]></description>
				<content:encoded><![CDATA[<p>I receive the following errors when I attempt to connect to a SQL Server database on my home computer:</p>
<p>1) Keyword not supported: &#8216;intigreted security&#8217;?<br />
2) An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server)</p>
<p>This is the code of ado.net that I want to connect with:</p>
<p> SqlConnection connection = new SqlConnection();<br />
            connection.ConnectionString = &#8220;Data Source=Local Host;Initial Catalog=AdventureWorks;&#8221;;<br />
            connection.Open();<br />
            SqlCommand cmd = new SqlCommand(&#8220;Select * from emp_&#8221;, connection);<br />
            SqlDataReader myReader = cmd.ExecuteReader();<br />
            while(myReader.Read())<br />
            {<br />
                comboBox1.Items.Add(myReader&#91;0&#93;.ToString());</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/error-connecting-to-a-sql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/12 queries in 0.020 seconds using memcached
Object Caching 318/327 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 00:24:20 -->