<?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>dennis&#039; blog &#187; SQL Server</title>
	<atom:link href="http://dennispiccioni.com/wordpress/archives/category/coding/sql-server/feed" rel="self" type="application/rss+xml" />
	<link>http://dennispiccioni.com/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 19 Apr 2010 22:54:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cannot connect to SQL Server 2008 on Windows XP from Windows Vista</title>
		<link>http://dennispiccioni.com/wordpress/archives/336</link>
		<comments>http://dennispiccioni.com/wordpress/archives/336#comments</comments>
		<pubDate>Thu, 07 Jan 2010 21:18:47 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://dennispiccioni.com/wordpress/?p=336</guid>
		<description><![CDATA[Don&#8217;t you hate it when something stops working when you have not (consciously) changed anything in the running environment? I have an application that has been running for over a year in an environment where nothing has changed in regards to the SQL Server, the application, or the network security, other than automatic updates from [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t you hate it when something stops working when you have not (consciously) changed anything in the running environment? I have an application that has been running for over a year in an environment where nothing has changed in regards to the SQL Server, the application, or the network security, other than automatic updates from Microsoft. This is my personal network, so I have full access and control over everything and know what I have and have not changed. As of about 2-3 weeks ago, the Vista clients can no longer access the database.</p>
<p>The database is SQL Server 2008 Express running on a Windows XP Pro SP3 PC. The database can still be accessed from the server PC itself and another Windows XP Pro PC. Attempting to connect from 2 Vista workstations, both Ultimate, but one 32 bit and the other 64 bit, now results in an error:</p>
<pre>Connection failed:
SQLState: '01000'
SQL Server Error: 53
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
Connection failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]
    SQL Server does not exist or access denied.</pre>
<p>The same thing happens whether we use a trusted connection or the sa login (just for testing to check if the problem was a permissions issue).</p>
<p>I intended to post the solution to this issue here this week, but I haven&#8217;t found one yet. My hope was that if this was a result of a Windows update, I would find more information about it this first week of January as more people returned to work and others ran into the same issue.</p>
<p><br class="spacer_" /></p>
<p>Update:</p>
<p>I found the solution to this by simply debugging the problem based on the symptoms. All information I found about this error talked about opening ports to allow SQL Server access. The culprit was the Windows Firewall on the Windows XP Pro PC hosting the SQL Server database. One of my test steps was to temporarily disable the Windows firewall and this made everything work as before.</p>
<p>So, I enabled the firewall again and added exceptions for TCP port 1433 and UDP port 1434. This resulted in a different error (HYT00 &#8220;timeout expired&#8221;) during he initial login attempt, but worked on subsequent tries.  I was able to resolve this error by allowing outgoing time exceeded messages via ICMP in the Windows firewall settings.</p>
<p>None of these exceptions or allowances were ever enabled before this problem started, so something changed to cause this to happen. My money is still on some Windows or SQL Server security update. I wish I had more time to track this down further and find the culprit, but I&#8217;m happy to have a working solution now.</p>
]]></content:encoded>
			<wfw:commentRss>http://dennispiccioni.com/wordpress/archives/336/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
