permission denied for excution store procedure

Posted on 2009-05-12
Last Modified: 2012-06-27

I copied sproc from server 1 to server 2 and run it in server 2, it came out with error like
Server: Msg 262, Level 14, State 1, Procedure ...
CREATE PROCEDURE permission denied in database 'master'
I am in sysAdmin level I am able to exec this sproc, but it doens't.

Can you help? Thank you,
Question by:yrcdba7
  • 3

Accepted Solution

bull_rider earned 500 total points
ID: 24366159
The user you are logged in to server 2 does not have CREATE PROCEDURE permissions I guess. Just double check.
LVL 31

Expert Comment

ID: 24366185
can you give  db_owner role to your user? it may solve the problem

Author Comment

ID: 24366416
I have SA role in server 2, I also gave db_owner. then tried again, it got the same error.

Author Comment

ID: 24366461
it is working right now after I refreshed my login in EM.  Thank you!!

Author Closing Comment

ID: 31580599
Thank you for your recommandation, it saved my time.

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now