{"id":230,"date":"2012-05-29T08:50:21","date_gmt":"2012-05-29T08:50:21","guid":{"rendered":"https:\/\/sqlserverlearner.azurewebsites.net\/2012\/05\/29\/msg-229-level-14-state-5-procedure-xxxxxx-line-1-the-execute-permission-was-denied-on-the-object-xxxxx-database-xxxxxx-schema-dbo\/"},"modified":"2012-05-29T08:50:21","modified_gmt":"2012-05-29T08:50:21","slug":"msg-229-level-14-state-5-procedure-xxxxxx-line-1-the-execute-permission-was-denied-on-the-object-xxxxx-database-xxxxxx-schema-dbo","status":"publish","type":"post","link":"https:\/\/sqlserverlearner.com\/2012\/05\/29\/msg-229-level-14-state-5-procedure-xxxxxx-line-1-the-execute-permission-was-denied-on-the-object-xxxxx-database-xxxxxx-schema-dbo\/","title":{"rendered":"Msg 229 Level 14 State 5 Procedure XXXXXX Line 1 The EXECUTE permission was denied on the object ‘XXXXX’, database ‘xxxxxx’, schema ‘dbo’."},"content":{"rendered":"

Error Message:<\/strong>
\n
\nMsg 229, Level 14, State 5, Procedure test, Line 1
\nThe EXECUTE permission was denied on the object ‘test’, database ‘AdventureWorksDW2008R2’, schema ‘dbo’.
\n<\/font><\/p>\n

This error occurs when the user does not have execute permissions for the procedure on the database.<\/p>\n

Fix\/Resolution:<\/strong>
\n– Ask your DBA To grant you execute permissions on the procedure.<\/p>\n

Query:<\/strong>
\n[sql]
\nGRANT EXECUTE ON OBJECT::dbo.test TO username
\n[\/sql]
\nNote:<\/em>
\ndbo.test – is the procedure name
\nusername – is the name of the user<\/p>\n","protected":false},"excerpt":{"rendered":"

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.…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2048],"tags":[2049,2050,2051,2052,2053],"_links":{"self":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/230"}],"collection":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/comments?post=230"}],"version-history":[{"count":0,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/230\/revisions"}],"wp:attachment":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/media?parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/categories?post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/tags?post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}