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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

630 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