Solved

permission denied for excution store procedure

Posted on 2009-05-12
5
323 Views
Last Modified: 2012-06-27
expert,

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,
0
Comment
Question by:yrcdba7
  • 3
5 Comments
 
LVL 6

Accepted Solution

by:
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.
0
 
LVL 31

Expert Comment

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

Author Comment

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

Author Comment

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

Author Closing Comment

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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

776 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