Andy,
I am new to SQL. It was hard just to figure out how to install it.
I know I am logged in as a Admin. in Windows.
I have the little server box with the round circle on it in the bottom right
corner(toolbar) . The SQL Server Service Manager.
I tried to search for the sp_helpsrvrolem ember command on my drive. It's
not on the server.
Any ideas?
Do anyone have any suggestions?
Thanks for your help,
T
"Andy Svendsen" <andymcdba1@NOM ORESPAM.yahoo.c om> wrote in message
news:#3883ky6DH A.2628@TK2MSFTN GP10.phx.gbl...[color=blue]
> Are you connecting with a trusted connection or as sa. It sounds like you
> do not have the access required to create a database. Make sure you are
> connecting in as a member of the Administrators group on that machine so[/color]
you[color=blue]
> become part of the sysadmin (aka System Administrators) role. At a[/color]
minimum[color=blue]
> you need the dbcreator role level access. Running
>
> sp_helpsrvrolem ember 'sysadmin'
> -- or --
> sp_helpsrvrolem ember 'dbcreator'
>
> will tell you who belongs to these roles. Looking at the Query window[/color]
title[color=blue]
> bar will tell you who you are logged in as.
>
> <servername>.<d atabase name>.<loginnam e> or <DOMAIN>\<usern ame> (for Win[/color]
NT[color=blue]
> authentication)
>
>
> Reboot and sharing the folder will not help. You might want to check the[/color]
NT[color=blue]
> permissions though.
>
> --
> *************** *************** *************** *************** *******
> Andy S.
> MCSE NT/2000, MCDBA SQL 7/2000
> andymcdba1@NOMO RESPAM.yahoo.co m
>
> Please remove NOMORESPAM before replying.
>
> Always keep your antivirus and Microsoft software
> up to date with the latest definitions and product updates.
> Be suspicious of every email attachment, I will never send
> or post anything other than the text of a http:// link nor
> post the link directly to a file for downloading.
>
> This posting is provided "as is" with no warranties
> and confers no rights.
>
> *************** *************** *************** *************** *******
> "Taishi" <taishi_bak@hot mail.com> wrote in message
> news:%23ZocZIy6 DHA.2568@TK2MSF TNGP10.phx.gbl. ..[color=green]
> > Windows Pro
> >
> > Receiving the following error:
> >
> > CREATE DATABASE permission denied in database 'master'. Could not attach
> > database 'pubs' to file 'D:\Program Files\Microsoft SQL
> > Server\MSSQL$NE TSDK\Data\pubs. mdf'.
> >
> > Here are some things done to try to resolve the problem:
> >
> > Reboot 4-5 times
> > Shared out the folder
> > Web shared the folder
> >
> >
> > Thanks for your help,
> > T.
> >
> >
> >[/color]
>
>[/color]
I am new to SQL. It was hard just to figure out how to install it.
I know I am logged in as a Admin. in Windows.
I have the little server box with the round circle on it in the bottom right
corner(toolbar) . The SQL Server Service Manager.
I tried to search for the sp_helpsrvrolem ember command on my drive. It's
not on the server.
Any ideas?
Do anyone have any suggestions?
Thanks for your help,
T
"Andy Svendsen" <andymcdba1@NOM ORESPAM.yahoo.c om> wrote in message
news:#3883ky6DH A.2628@TK2MSFTN GP10.phx.gbl...[color=blue]
> Are you connecting with a trusted connection or as sa. It sounds like you
> do not have the access required to create a database. Make sure you are
> connecting in as a member of the Administrators group on that machine so[/color]
you[color=blue]
> become part of the sysadmin (aka System Administrators) role. At a[/color]
minimum[color=blue]
> you need the dbcreator role level access. Running
>
> sp_helpsrvrolem ember 'sysadmin'
> -- or --
> sp_helpsrvrolem ember 'dbcreator'
>
> will tell you who belongs to these roles. Looking at the Query window[/color]
title[color=blue]
> bar will tell you who you are logged in as.
>
> <servername>.<d atabase name>.<loginnam e> or <DOMAIN>\<usern ame> (for Win[/color]
NT[color=blue]
> authentication)
>
>
> Reboot and sharing the folder will not help. You might want to check the[/color]
NT[color=blue]
> permissions though.
>
> --
> *************** *************** *************** *************** *******
> Andy S.
> MCSE NT/2000, MCDBA SQL 7/2000
> andymcdba1@NOMO RESPAM.yahoo.co m
>
> Please remove NOMORESPAM before replying.
>
> Always keep your antivirus and Microsoft software
> up to date with the latest definitions and product updates.
> Be suspicious of every email attachment, I will never send
> or post anything other than the text of a http:// link nor
> post the link directly to a file for downloading.
>
> This posting is provided "as is" with no warranties
> and confers no rights.
>
> *************** *************** *************** *************** *******
> "Taishi" <taishi_bak@hot mail.com> wrote in message
> news:%23ZocZIy6 DHA.2568@TK2MSF TNGP10.phx.gbl. ..[color=green]
> > Windows Pro
> >
> > Receiving the following error:
> >
> > CREATE DATABASE permission denied in database 'master'. Could not attach
> > database 'pubs' to file 'D:\Program Files\Microsoft SQL
> > Server\MSSQL$NE TSDK\Data\pubs. mdf'.
> >
> > Here are some things done to try to resolve the problem:
> >
> > Reboot 4-5 times
> > Shared out the folder
> > Web shared the folder
> >
> >
> > Thanks for your help,
> > T.
> >
> >
> >[/color]
>
>[/color]
Comment