<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Cannot open user default database. Login failed. Login failed for user &#8216;UserName&#8217;. (Microsoft SQL Server, Error: 4064)</title>
	<atom:link href="http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/feed/" rel="self" type="application/rss+xml" />
	<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/</link>
	<description>[developing developers]</description>
	<lastBuildDate>Tue, 10 Nov 2009 21:31:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: shell_l_d</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1178</link>
		<dc:creator>shell_l_d</dc:creator>
		<pubDate>Mon, 26 Oct 2009 05:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1178</guid>
		<description>Thanks breb02... SQL Server 2000 fix...

RUN–&gt;cmd
osql -E -d master
1&gt;sp_defaultdb ‘MYDOMAINNAME\myloginname’, ‘master’
2&gt;go

Later SQL Server versions:
sqlcmd -E -d master</description>
		<content:encoded><![CDATA[<p>Thanks breb02&#8230; SQL Server 2000 fix&#8230;</p>
<p>RUN–&gt;cmd<br />
osql -E -d master<br />
1&gt;sp_defaultdb ‘MYDOMAINNAME\myloginname’, ‘master’<br />
2&gt;go</p>
<p>Later SQL Server versions:<br />
sqlcmd -E -d master</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhu</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1176</link>
		<dc:creator>Madhu</dc:creator>
		<pubDate>Mon, 21 Sep 2009 06:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1176</guid>
		<description>Thank you. It helped me and saved my time</description>
		<content:encoded><![CDATA[<p>Thank you. It helped me and saved my time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos Henke</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1175</link>
		<dc:creator>Marcos Henke</dc:creator>
		<pubDate>Thu, 10 Sep 2009 13:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1175</guid>
		<description>it&#039;s in portuguese, but if you need, use Google Translator:

Visual Web Developer 2008 + SQL Server 2008 Express: &quot;Cannot open user default database. Login failed.&quot; [resolvido!]
http://b4it.blogspot.com/2009/09/visual-web-developer-2008-sql-server.html</description>
		<content:encoded><![CDATA[<p>it&#8217;s in portuguese, but if you need, use Google Translator:</p>
<p>Visual Web Developer 2008 + SQL Server 2008 Express: &#8220;Cannot open user default database. Login failed.&#8221; [resolvido!]<br />
<a href="http://b4it.blogspot.com/2009/09/visual-web-developer-2008-sql-server.html" rel="nofollow">http://b4it.blogspot.com/2009/09/visual-web-developer-2008-sql-server.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1173</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 28 Jul 2009 01:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1173</guid>
		<description>I&#039;m not sure how to fix this on 2000, maybe someone will be nice enough to answer?  My post was only regarding 2005/2008.  Good Luck!</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure how to fix this on 2000, maybe someone will be nice enough to answer?  My post was only regarding 2005/2008.  Good Luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kathy</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1172</link>
		<dc:creator>Kathy</dc:creator>
		<pubDate>Tue, 28 Jul 2009 00:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1172</guid>
		<description>I still don&#039;t get it --- I&#039;m using 2000 and I don&#039;t have an options button (that I can see).  help.</description>
		<content:encoded><![CDATA[<p>I still don&#8217;t get it &#8212; I&#8217;m using 2000 and I don&#8217;t have an options button (that I can see).  help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sql</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1170</link>
		<dc:creator>sql</dc:creator>
		<pubDate>Thu, 28 May 2009 21:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1170</guid>
		<description>This works fine for single user If I specified the login. However, I have bunch of users, I need to change default database one go. How shall I do it.</description>
		<content:encoded><![CDATA[<p>This works fine for single user If I specified the login. However, I have bunch of users, I need to change default database one go. How shall I do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajender</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1166</link>
		<dc:creator>Rajender</dc:creator>
		<pubDate>Wed, 08 Apr 2009 14:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1166</guid>
		<description>Thanks a ton. Saved me a bunch of hours....</description>
		<content:encoded><![CDATA[<p>Thanks a ton. Saved me a bunch of hours&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdul Qadir</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1165</link>
		<dc:creator>Abdul Qadir</dc:creator>
		<pubDate>Sun, 05 Apr 2009 16:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1165</guid>
		<description>Thanks buddy. It really saved my time.</description>
		<content:encoded><![CDATA[<p>Thanks buddy. It really saved my time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Brennan</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1160</link>
		<dc:creator>Neil Brennan</dc:creator>
		<pubDate>Thu, 12 Feb 2009 09:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1160</guid>
		<description>Just wanted to say a big thankyou for this post, i&#039;be been going around the houses with this one, and to be honest thought your resoloution would be another dead end, but no!!! it works, thank you thank you thanks you :)</description>
		<content:encoded><![CDATA[<p>Just wanted to say a big thankyou for this post, i&#8217;be been going around the houses with this one, and to be honest thought your resoloution would be another dead end, but no!!! it works, thank you thank you thanks you <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binary Giant &#187; Blog Archive &#187; Cannot open user default database. Login Failed (Microsoft SQL Server, Error: 4064)</title>
		<link>http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1158</link>
		<dc:creator>Binary Giant &#187; Blog Archive &#187; Cannot open user default database. Login Failed (Microsoft SQL Server, Error: 4064)</dc:creator>
		<pubDate>Tue, 30 Dec 2008 20:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://benharrell.wordpress.com/2007/01/15/cannot-open-user-default-database-login-failed-login-failed-for-user-username-microsoft-sql-server-error-4064/#comment-1158</guid>
		<description>[...] to  this blog post for more [...]</description>
		<content:encoded><![CDATA[<p>[...] to  this blog post for more [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
