SQL User-Mappings missing aftre reboot

I have an application that requires db_owner of certain databases in SQL. I select my user mappings and all is well. After I reboot my server all those settings are missing. This is a new server running Server 03 with all Windows Updates as of 1/29/08. The databases are restores from an old server but came from another machine running SQL 2005 SP2.
jlewy11Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

maradamCommented:
Maybe you have a startup procedure or a job that resets your permissions. To check if there are startup procedures run the following script

use master
go
select * from sys.object where objectproperty(object_id,'ExecIsStartup')=1

If the query returns something - investigate.

If nothing found - look at the jobs. Stop and restart SQL Server only (without Agent) and check if your permissions are still in place. If they are, look at the jobs.
0
jlewy11Author Commented:
thanks mar but I figured out what the problem was. I set permissions under the model db which saved what I needed.

You can close this question.

Thank you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.