Re: Database Users disappered after restore
From: Linda Bendele (lbendele_at_saleslogix.com)
Date: 08/28/03
- Next message: Tom Moreau: "Re: Just applied the latest security patch"
- Previous message: Jeff: "Just applied the latest security patch"
- In reply to: Mike Epprecht: "Re: Database Users disappered after restore"
- Next in thread: Andrew J. Kelly: "Re: Database Users disappered after restore"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 28 Aug 2003 09:03:01 -0700
Why wouldn't he create the needed users in the new server
and then update the user with sp_change_users_login ?
>-----Original Message-----
>Hi
>
>Your users are stored in master. More importantly, the
user ID and name is
>the only reference in you database. sp_attach_db and
sp_detach_db do not
>move the master information, and since the same user does
not exist on the
>other machine, the linkage is lost.
>
>On the other server, if you try to add a user to the
database with the same
>name, you will notice that it claims that the user
already exists in the
>database. That is because your user ID does not match the
user name.
>
>It is recommended to remove all users from a database
before an
>attach/detach so that you do not have orphaned users.
>
>----------------------------
>Mike Epprecht
>Epprecht Consulting (PTY) LTD
>Johannesburg, South Africa
>Mobile: +27-82-552-0268
>
>Specialist SQL Server Solutions and Consulting
>
>"Oladimeji Suberu" <ladi.suberu@systemtech-ng.com> wrote
in message
>news:0bdc01c36d6b$4b8bd790$a501280a@phx.gbl...
>> I am trying to restore a database from one machine to
>> another. I 've tried using Backup/Restore and equally
>> using DTS. I equally used attach method of transact
SQL.
>> At the end of any of the operation, the databasers are
>> removed from the database living dbo only.
>>
>> Has anybody experienced this?
>>
>> Please help.
>>
>> Oladimeji Suberu
>>
>
>
>.
>
- Next message: Tom Moreau: "Re: Just applied the latest security patch"
- Previous message: Jeff: "Just applied the latest security patch"
- In reply to: Mike Epprecht: "Re: Database Users disappered after restore"
- Next in thread: Andrew J. Kelly: "Re: Database Users disappered after restore"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|