Solved

permission denied for excution store procedure

Posted on 2009-05-12
5
346 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 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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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 combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

752 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