Re: sql 7.0 to sql 2000 upgrade user/permissions
From: Richard J. Fowler (richardjfowler@msn.com)
Date: 05/08/02
- Next message: Don: "User Restriction"
- Previous message: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- In reply to: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- Next in thread: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- Reply: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Richard J. Fowler" <richardjfowler@msn.com> Date: Wed, 8 May 2002 08:26:35 -0600
Thanks for the feedback.
I'm familiar with the sp_change_users_login and the sid problems. Since no
users are being restored to the database, it is not the issue. Permissions
have been assigned to the public role but not to any users.
It seems as if it has to do with the permissions to grant permissions. The
dbo user did gets restored as an NT user (this did have the sid problem) but
I changed that to sa. The sysprotects table does not contain the rows
applying permissions for the public role.
Is it possible that the sp_changedbowner did not complete its task because
of the sid conflicts? I've checked everything that the sp_sidmap sp checks
(Q240872) and the readme for sp_sidmap implies that sp_changedbowner should
work.
Any other suggestions?
Thanks - Rich F.
"Dan Guzman" <danguzman@nospam-earthlink.net> wrote in message
news:#is02Op9BHA.2244@tkmsftngp03...
> It may be that the syslogins/sysuser mapping is out of sync due to the
> restore. You might check out sp_change_users_login in the Books Online
> to remedy the situation.
>
>
> Hope this helps.
>
>
> Dan Guzman
> SQL Server MVP
>
> -----------------------
> SQL FAQ links (courtesy Neil Pike):
>
> http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
> http://www.sqlserverfaq.com
> http://www.mssqlserver.com/faq
> -----------------------
>
> "Richard J. Fowler" <richardjfowler@msn.com> wrote in message
> news:e7o#ebi9BHA.2540@tkmsftngp05...
> > I'm using a database restore to upgrade a sql 7.0 database to a sql
> 2000
> > database. The public user has full permissions. I'm logged on as sa to
> do
> > the restore from enterprise manager. After the upgrade, I am not able
> to
> > change the permission using either t-sql or enterprise manager. The
> commands
> > seem to complete successfully but the changes do not get made. If I
> add a
> > user (Windows Group), I am not able to set the permissions for the
> user.
> > sysprotects does not get updated. I've tried changing the database
> owner to
> > sa but that does not help I cannot get the database to accept any
> permission
> > setting except for database permissions.
> >
> > Thanks - Rich F.
> >
> >
>
>
- Next message: Don: "User Restriction"
- Previous message: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- In reply to: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- Next in thread: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- Reply: Dan Guzman: "Re: sql 7.0 to sql 2000 upgrade user/permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|