public class ben:harrell

January 4, 2013

New updates for Cannot open user default database post

Filed under: database, SQL Server 2005, Visual Studio — Tags: , , , , , , — benjamin harrell @ 1:24 pm

After writing this post we were fortunate enough to have many people (all smarter than me) to comment with the various solutions especially for different versions so I have updated the post with the most helpful comments so that they can be found more quickly.  Good Luck!

Cannot open user default database. Login failed. Login failed for user ‘UserName’. (Microsoft SQL Server, Error: 4064)



  1. I will immediately clutch your rss feed as I can not in finding your email subscription link or e-newsletter service. Do you have any? Kindly permit me understand in order that I may subscribe. Thanks.

    Comment by Samuel — September 16, 2013 @ 4:52 pm

  2. Hello, i believe that i saw you visited my weblog so i got here to return the desire?.I am trying to in finding issues to improve my web site!I assume its good enough to make use of a few of your ideas!!

    Comment by Lula — May 3, 2014 @ 8:18 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: