Re: Any Help Please
- From: Jonathan Psaila-Depasquale <nospam@xxxxxxxxxxxxxxxx>
- Date: Fri, 07 Sep 2007 15:23:50 +0100
Ok then the issue should be easy to resolve. Go to the machine hosting the SQL Server 2000 instance. Open up Enterprise Manager and navigate in the tree on the left to the database in question. Right-click and select All Tasks. Select "Generate SQL Script". Now you get a dialog box. There on the General tab click Show All. Then check the "Script all objects" checkbox. Move to the "Formatting" tab and make sure all check boxes are unchecked. Now move on to the "Options" tab and check "Script all object-level permissions". Then click OK to generate the script. This way you get a script of all object-level permissions which you can run against the SQL Server 2005 database.
Jonathan
DSM_DBA wrote:
Thanks Jonathan for your response, however, I have re-synched the SIDs and the problem is that only sporatic object level permissions are lost, it's not an all or nothing situation. While the object level permissions are at the database level and should be restored with the database ( given the SIDs have been reset and they have )..
Thanks and if you have any other ideas, please let me know.
"Jonathan Psaila-Depasquale" wrote:
Hi,
The problem is probably that the original SID of the login has not been transferred, so that your database user accounts are getting orphaned. So in fact when you login as User1, even though User1 exists as a user in the database, the login User1 and the user User1 are not related (or mapped to each other). You should consult this document in order to complete the process properly - http://support.microsoft.com/kb/246133.
Jonathan
DSM_DBA wrote:Hi, I accidentally posted this as a comment earlier rather than a question...
I'm moving databaes from 2000 to 2005 via either detach/attach or backup/restore and object level permissions being lost.
I had first moved the logins and that seemed to work fine then upon restoring the databases and leaving them at 8.0 compatibility ( which is the requirement of the application ) the explicit object permissions are not restored.
There must be something obvious staring me in the face, but I don't see it.
Any help or guidance would be appreciated.
Thanks,
- References:
- Re: Any Help Please
- From: Jonathan Psaila-Depasquale
- Re: Any Help Please
- Prev by Date: Re: Cannot Drop Users
- Next by Date: Re: Cannot Drop Users
- Previous by thread: Re: Any Help Please
- Next by thread: SSL and Reporting Services
- Index(es):
Relevant Pages
|