Link to home
Start Free TrialLog in
Avatar of yrcdba7
yrcdba7Flag for United States of America

asked on

permission denied for excution store procedure

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,
ASKER CERTIFIED SOLUTION
Avatar of bull_rider
bull_rider
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
can you give  db_owner role to your user? it may solve the problem
Avatar of yrcdba7

ASKER

I have SA role in server 2, I also gave db_owner. then tried again, it got the same error.
Avatar of yrcdba7

ASKER

it is working right now after I refreshed my login in EM.  Thank you!!
Avatar of yrcdba7

ASKER

Thank you for your recommandation, it saved my time.