<ra*****@mail.horacemann.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Hello,
I am running SQL Server 2000 standard in mixed mode security and have
two problems.
1.) I created a database as sa and assigned a login as db_owner,
however, the design view is grayed out for all tables. All tables are
owned by dbo and no user defined role exists for the database.
2.) Any login other than sa will time-out in Enterprise Manager or take
extremely long. The sa login performs acceptably well. Once the non
sa login is connected to a server in EM, the database list shows 'no
items'. F5 refresh takes incredibly long. Accessing the tables under
a DB often times out.
Any ideas?
Mike
I couldn't reproduce your first problem - I added a login, put it in the
db_owner role of a database, and the "Design Table" menu option is available
for all tables; if the user is not in db_owner it is greyed out, so perhaps
you didn't add the user correctly? You can try these queries to confirm if
the user is in the role:
select is_member('db_owner')
exec sp_helprolemember 'db_owner'
As for the second issue, you could try increasing the query timeout in EM
(Tools - Options - Advanced), but I don't know if that will help. One point
to mention is that if your databases are set to auto close, then it can take
a long time to display them all in EM. But this isn't on by default for
Standard Edition, and you say that you get timeouts working on tables too,
so it seems unlikely. It might still be worth checking, though:
select name, databasepropertyex(name, 'IsAutoClose')
from master..sysdatabases
If this doesn't help, I suggest you give some more details - how many
databases, do you get similar timeouts from Query Analyzer or other clients,
do both Windows and SQL logins have this problem, are you connecting over a
LAN or a WAN, are there any general network issues etc.
Simon