> I don't really follow what you are doing.
>The problem is
>using Management Studio Express (in my case 2008) accessing a server (in my
[quoted text clipped - 8 lines]
>error. Not sure why it is trying to access each one, I do not want it too or
>need it too.
This may be a problem that Aaron Bertrand has written about.
http://sqlblog.com/blogs/aaron_bertrand/archive/2008/07/07/a-little-management-s
tudio-oops.aspx
Roy Harvey
Beacon Falls, CT
Terry - 24 Sep 2008 18:34 GMT
Roy, thank you very much for a positive response that addresses the problem.
Reading that article that is exactly what is going on. I almost even messed
with Colatation but had to run. Will try it this evening.
Thanks again and if someone the "answer" mark can be changed, Roy's response
should get it.
~Terry
> This may be a problem that Aaron Bertrand has written about.
>
> http://sqlblog.com/blogs/aaron_bertrand/archive/2008/07/07/a-little-management-s
tudio-oops.aspx
>
> Roy Harvey
> Beacon Falls, CT
>> I don't really follow what you are doing.
>
[quoted text clipped - 5 lines]
> only access your database, which is fine but in 2008 you get that error
> on the list of databases so you cant browse to your database.
I'm sorry if you found my answer arrogant, but sometimes it's quite
frustrating to answer questions in these forums, because the posts
are quite unclear, and there are several possible options of what
could be wrong.
Yours was very clear, particularly when you say that it happens with
SSMS 2008 only.
The bug is really bad. What is really crazy is that Enterprise Manager
in SQL 2000 had the same behaviour. Well, you did not get an error,
but it still tried access all databases (to see if you had access).
And this is a pain on a server with a lot of databases in autoclose.
It's really incredible that they walked into that trap again.
> Not sure why it is trying to access each one, I do not want it too or
> need it too.
If you press F7 to get the Object Explorer Details, you will find the
reason why. Well, almost. Anyway, the information listed there is
mainly taken from sys.databases, but some information is not available
if the database has been shutdown, because it's set to autoclose.
So SSMS access the databases to get that infomation. Which of course
is a very bad idea for several reasons.
> And like Alberto mentioned, in the connection properties the default
> database is set to the one I want connected which I am the owner of.
I guess you are using a hosting service, and maybe in that context
it makes sense. But keep in mind that a lot of people logs into
SSMS as admins, and have no special connection properties set up.

Signature
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx