Home All Groups Group Topic Archive Search About

SSMS Unable to display user properties when dbname is null

Author
25 Jan 2006 10:18 PM
Bill Curnow
I have a SQL user on a 2K server that has an invalid default database
(dbname in syslogins is NULL).  I have both Enterprise Manager (EM) and
SQL Studio Management Studio (SSMS) installed.  I can set this attribute
in EM, however when I try to set it in SSMS I receive the following
error message:

"Cannot show requested dialog.  Property DefaultDatabase is not
available for Login '[login_name]'.  This property may not exist for
this object, or may not be retrievable due to insufficient access
rights.  (Microsoft.SqlServer.Smo)"

I can set the default database using sp_defaultdb using either EM
(really Query Analyzer) or SSMS.

Versions:

Enterprise Manager: v8.0
SQL Server Management Studio: v9.00.1399.00

Author
25 Jan 2006 11:02 PM
Erland Sommarskog
Bill Curnow (" BillCurnow"@newsgroups.nospam) writes:
> I have a SQL user on a 2K server that has an invalid default database
> (dbname in syslogins is NULL).  I have both Enterprise Manager (EM) and
> SQL Studio Management Studio (SSMS) installed.  I can set this attribute
> in EM, however when I try to set it in SSMS I receive the following
> error message:
>
> "Cannot show requested dialog.  Property DefaultDatabase is not
> available for Login '[login_name]'.  This property may not exist for
> this object, or may not be retrievable due to insufficient access
> rights.  (Microsoft.SqlServer.Smo)"
>
> I can set the default database using sp_defaultdb using either EM
> (really Query Analyzer) or SSMS.

If you haven't, file a bug on http://lab.msdn.microsoft.com/ProductFeedback/


--
Erland Sommarskog, SQL Server MVP, esq***@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Author
26 Jan 2006 6:59 PM
Bill Curnow
Erland Sommarskog wrote:

> If you haven't, file a bug on http://lab.msdn.microsoft.com/ProductFeedback/

I was hoping to have someone confirm my findings before I filed the bug
report, but it looks like I'm not going to get that luxury.  Filing...
Author
27 Jan 2006 11:26 PM
Erland Sommarskog
Bill Curnow (" BillCurnow"@newsgroups.nospam) writes:
> Erland Sommarskog wrote:
>
>> If you haven't, file a bug on
>> http://lab.msdn.microsoft.com/ProductFeedback/
>
> I was hoping to have someone confirm my findings before I filed the bug
> report, but it looks like I'm not going to get that luxury.  Filing...

Nah, the hour was late, and your scenario looked pretty clear, so I
had confidence that you were right and Mgmt Studio was wrong.



--
Erland Sommarskog, SQL Server MVP, esq***@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

AddThis Social Bookmark Button