hi..
i have a pc that is on a domain with domain user rights and i installed a sql server express 2005..
when trying to create a new database am encountering an error:
create database permission denied in database 'master' (microsoft sql server error:262)
could anyone help how to go about this..am new to sql express.
thanks
So it seems that your are not logged in with a Windows account which has sufficient priviliedge "Create Database" to perform this action. If you have an account that is local administrator, try to login with this one and execute your DDL Actions.HTH, Jens Suessmeyer.|||
what do you mean by an account that is local admin? an account outside the domain?
what if i still want to work within the domain? what probably the best sufficient priviledge that i could use? domain admin account?
pls. clarify
thanks
|||By default the local admin group is in in the group of the server administrators, so the domain admin are usally also members of the local admin group and therefore sa′s. YOu just have to login with a user with more permissions than the current one you are trying with.HTH, Jens Suessmeyer.|||
btw, am using windows authentication mode and not sql authentication mode.. will that be ok...and also a check with my privileges the user am currently using is also a member of administrator built in group.. but not domain admin.
thanks
|||what am trying to achieve here is that.. clients pc can use sql server express without giving them full priveleges to access others pc's folders except for those folders that are shared..|||You could create a group on the local machine and add your user to that group. Then in SQL Server give that group the permissions you want.|||am having this error when trying to create a diagram. (you are not logged on as database owner or system administrator. you might not be able to save changes to tables that you do not own in sql server express...certain edits require create table permission)
i would greatly appreaciate helping me how to give permissions.. if possible the most step by step guide pls.)
thanks
|||Hi
THIS WORKED!!!!
Go to SQL Server manager >> Security >> Logins and find an account named "NT AUTHORITY\NETWORK SERVICE"
Open this and in the SERVER ROLE tab, give it DBCREATOR permissioin. Thats it. now you will be able to create the database.
Reason: When SharePoint administration website connects SQL database, it uses the account "NT AUTHORITY\NETWORK SERVICE". So this account must have DBCREATEOR permission
hope this helps
Regards,
Ash
|||It took me a while to find the "SQL Server manager" mentioned in the post above this post.
Eventually I found out that Ash31 meant the "Microsoft SQL Server Management Studio". =)
Hopefully this will help people like me who can't find the SQL Server manager.
No comments:
Post a Comment