简体   繁体   English

创建订阅和/或计划时出错-对对象的EXECUTE权限被拒绝

[英]Error creating a subscription and/or schedule - EXECUTE permission was denied on the object

Trying to create a subscription and/or schedule in reporting services. 尝试在报表服务中创建订阅和/或计划。 I keep getting this error when I click ok. 单击确定后,我一直收到此错误。 What's wrong? 怎么了?

在此处输入图片说明

I actually asked this question so I could answer it since it was such a pain. 我实际上问了这个问题,所以我可以回答,因为这很痛苦。

In my case, we had migrated the reporting databases to a new server several years ago. 就我而言,几年前我们已经将报告数据库迁移到了新服务器上。 Everything worked and we never needed to create a subscription so we never realized these features weren't actually working. 一切正常,我们不需要创建订阅,因此我们从未意识到这些功能实际上并没有起作用。

I found the answer here: 我在这里找到了答案:

How to: Create the RSExecRole 如何:创建RSExecRole

When we migrated, we created the RSExecRole on master, so most features worked, but apparently we had neglected to create the role in msdb (which is what is used for the job scheduling etc.). 迁移时,我们在master上创建了RSExecRole,因此大多数功能都起作用,但显然我们忽略了在msdb中创建角色(这是用于作业调度等)。

I followed the instructions and everything worked, with one caveat. 我按照指示进行了所有操作,但有一个警告。 That link is missing one critical piece of information, which is that after you add the RSExecRole to master and msdb, you need to add them as Roles to the NETWORK SERVICE, or whatever account you have running your reporting server. 该链接缺少一条重要的信息,那就是在将RSExecRole添加到master和msdb之后,您需要将它们作为“角色”添加到NETWORK SERVICE或运行报表服务器的任何帐户中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM