Quantcast
Channel: SQL Errors – SQLSERVERLEARNER
Viewing all articles
Browse latest Browse all 74

Msg 229 Level 14 State 5 Procedure XXXXXX Line 1 The EXECUTE permission was denied on the object ‘XXXXX’, database ‘xxxxxx’, schema ‘dbo’.

$
0
0

Error Message:

Msg 229, Level 14, State 5, Procedure test, Line 1
The EXECUTE permission was denied on the object ‘test’, database ‘AdventureWorksDW2008R2′, schema ‘dbo’.

This error occurs when the user does not have execute permissions for the procedure on the database.

Fix/Resolution:
- Ask your DBA To grant you execute permissions on the procedure.

Query:

GRANT EXECUTE ON OBJECT::dbo.test TO username

Note:
dbo.test – is the procedure name
username – is the name of the user


Viewing all articles
Browse latest Browse all 74

Trending Articles