Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
scottpt
Posting Yak Master
186 Posts |
Posted - 2005-03-01 : 10:25:03
|
| Grant login works fine. Why is the sp_adduser throwing a fit. User exists in syslogin. Windows group exists. I have no clue. helpUSE masterGOEXEC sp_grantlogin 'ret7w003\efisadmins'goUSE DBAGOexec sp_adduser 'RET7W003\Efisadmins','efisadmins'GOEXEC SP_ADDROLEMEMBER 'db_owner','efisadmins'GO--------------------------------------------------------------------Server: Msg 15007, Level 16, State 1, Procedure sp_adduser, Line 15The login 'RET7W003\Efisadmins' does not exist.Server: Msg 15410, Level 11, State 1, Procedure sp_addrolemember, Line 66User or role 'efisadmins' does not exist in this database. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2005-03-01 : 13:22:40
|
| You need to use sp_grantdbaccess for Windows accounts instead of sp_adduser.Tara |
 |
|
|
|
|
|