473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Msg 262, Level 14, State 1, Line 1 CREATE DATABASE permission denied in database 'mas

Hi,

When i am running my query through sqlcmd, occurs this error
"Msg 262, Level 14, State 1, Line 1
CREATE DATABASE permission denied in database 'master'."


Thanks in Advance
VAsavivenu
Feb 3 '12 #1
3 13400
Rabbit
12,516 Expert Mod 8TB
That means you don't have permission to create a database. Talk to your administrators and see if they can/will give you that permission
Feb 3 '12 #2
NeoPa
32,556 Expert Mod 16PB
It also means you're trying to create a database in Master instead of the database you should be working in. I suggest you look at your SQL and make sure it goes nowhere near the Master database before you go anywhere near an Admin. I doubt they'll be too amused if they see that.
Feb 3 '12 #3
Thank for your response,
I got the solution from sql server area configuration, by adding the administrator. But I need to do this through sqlcmd.

Thanks in Advance
Vasavivenu
Feb 4 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: charlie fortune | last post by:
I can't open a dbm in my webspace, the message I get is Warning: dba_open(./subscribers.db): failed to open stream: Permission denied in...
11
by: Taishi | last post by:
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...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
8
by: Jiggaz | last post by:
Hi, In my ASPX Page, i have a form for signup. And whene user click on the button, the event Button1_Click must use a stored procedure. But instead of use stored proc, i get this exception :...
0
by: casper | last post by:
Hi, I use asp.net 2.0 and VWD (and sqlserver 2005 express) on windows 2000 sp4.. Starting from VWD, it works. Starting from the browser, the code below produces this error: CREATE DATABASE...
4
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the...
0
by: ravi.govindaraju | last post by:
Hi all, I am new to asp.net and sqlserver. I just installed vs2005 and sqlserverexpress edition on my home pc on which I have full admin rights. I wrote a program that uses the built in log in...
1
by: doctorhardik | last post by:
other interesting thing i observe during my work which i describe below: i am using dotproject2.0.4 on fc3. it is working fine. but i want to generate pdf file report during this time i face...
9
by: Tony Proctor | last post by:
I need to create a process Singleton object for an ASP application, but I'm having some odd issues In my GLOBAL.ASA, I have an <OBJECTelement specifying the relevant ProgID with RUNAT=Server and...
4
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.