Re: Users in database have no associated login

From: Tom Moreau (tom_at_dont.spam.me.cips.ca)
Date: 04/14/04


Date: Wed, 14 Apr 2004 15:08:03 -0400

Do not multi-post. See my answer in .server.

-- 
Tom
---------------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"Russell White" <rwhite04@maine.rr.com> wrote in message
news:unk3eKlIEHA.3144@TK2MSFTNGP10.phx.gbl...
we got sql2000 dump from a customer and we can't run against it because, for
some reason, the users in our database don't have associated logins (as seen
in sql enterprise mgr >> db >> users >> login name column).  In all other
databases the users of our database have the sa login associated with them.
the users screen in a working db has 3 columns:  name (e.g. dbo), Login Name
(e.g sa) and Database Access (e.g. Permit).
in this same screen in the database we can't upgrade/run against the login
name is blank for the dbo user...
any way i can reassociate the sa login w/ this user?
Thanks in advance,
Russ White


Relevant Pages

  • Re: System Administrator Implied Permissions
    ... > sa login, it assigns it the System Administrator fixed ... > Now, given this, why does SQL Server ... in each database is always a member of the public and db_owner roles. ... Other sysadmin role members have the exact same ...
    (microsoft.public.sqlserver.security)
  • Re: No db access after publishing web site
    ... GRANT UPDATE TO ... If I detach and attach this database on a different PC (according that PC ... Cannot open database "pago" requested by the login. ... Are you detaching/attaching the SQL Server Express database correctly ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: cannot login to the db after...
    ... Jasper Smith (SQL Server MVP) ... I have created a new database, "db_1", using the "sa" ... I then created a new login, "sqluser1" and gave ...
    (microsoft.public.sqlserver.security)
  • Re: Cant view merge agent properties (trying again)
    ... In the List of Actions for the Snapshot Agent History I see this repeated: ... every single database listed. ... So, just now, I went to computername\Administrator Login ID (because it's ... On the computer running SQL Server, ...
    (microsoft.public.sqlserver.replication)
  • Re: Database security design with ASP.net and form-based authentication
    ... Since you already have forms-based security, why not use a single SQL login ... for all database access? ... data entry, guest/view only, admin, report viewer. ... so I'm using SQL Server authentication. ...
    (microsoft.public.sqlserver.security)