June 27, 2011 at 10:19 am
Hi,
I have some windows group logins that are permitted access to sql server. When I tried to transfer the logins they all scripted out but are not getting created on the new server. Why is this happening and how can I solve it ?
Thanks for responding
Samata
June 27, 2011 at 10:31 am
Are you creating them at the server level or the database level? (Logins or Users?)
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
June 27, 2011 at 10:35 am
I am migrating them from sql 2000 to sql 2008. And I see they have access to sql server in 2000 . Other windows level logins similar to them are created. I am trying to do at server level.
June 27, 2011 at 10:51 am
Are you using anything beyond:
CREATE LOGIN [<domainName>\<loginName>] FROM WINDOWS;
Any options?
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
June 27, 2011 at 10:56 am
This is what I have been using:
IF NOT EXISTS
(SELECT * FROM sys.server_principals
WHERE [name] = 'FORESTCITY\CorpSPLANDBAdmins')
CREATE LOGIN [FORESTCITY\CorpSPLANDBAdmins] FROM WINDOWS
June 27, 2011 at 11:21 am
Have you tried just running the select statement by itself?
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
June 27, 2011 at 11:51 am
Yes , I did. But there is no sys.server_principals in sql server 2000.
June 29, 2011 at 6:27 am
You're running a query that can't possibly work on your server??? Now I'm confused.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply