?
Solved

permission denied for excution store procedure

Posted on 2009-05-12
5
Medium Priority
?
364 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
[X]
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
5 Comments
 
LVL 6

Accepted Solution

by:
bull_rider earned 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
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
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

718 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