Ssrs 2008 SSRS-ReportingService2005.FireEvent-Generate Events权限,在哪里?

Ssrs 2008 SSRS-ReportingService2005.FireEvent-Generate Events权限,在哪里?,ssrs-2008,reportingservices-2005,sqlclr,Ssrs 2008,Reportingservices 2005,Sqlclr,我当前正在报表服务器上编写一个CLR存储过程来触发订阅事件。我无法使用FireEvent,因为引发了一个错误,说明用户“NT AUTHORITY\SYSTEM”没有权限。我知道我正在寻找的权限是生成事件,但我一生都找不到它 这是我的错误和CLR存储过程,如有任何帮助,将不胜感激 存储过程位于报表服务器上。报表服务器使用windows身份验证。我对SQLServer2008R2(SP1)拥有完全的管理员权限 公共部分类存储过程 { [Microsoft.SqlServer.Server.SqlPr

我当前正在报表服务器上编写一个CLR存储过程来触发订阅事件。我无法使用FireEvent,因为引发了一个错误,说明用户“NT AUTHORITY\SYSTEM”没有权限。我知道我正在寻找的权限是生成事件,但我一生都找不到它

这是我的错误和CLR存储过程,如有任何帮助,将不胜感激

存储过程位于报表服务器上。报表服务器使用windows身份验证。我对SQLServer2008R2(SP1)拥有完全的管理员权限

公共部分类存储过程
{
[Microsoft.SqlServer.Server.SqlProcedure]
公共静态无效CTest()
{
ReportingService2005 rs=新的ReportingService2005();
rs.Credentials=System.Net.CredentialCache.DefaultCredentials;
rs.Url=”http://erer332/ReportServer/ReportService2005.asmx";
认购[]lSubs;
尝试
{
lSubs=rs.ListSubscriptions(“/WFM图形报告/公司销售订单格式”,空);
rs.firevent(“TimedSubscription”,lSubs[0].SubscriptionID);
}
捕获(SOAPE例外)
{
SqlContext.Pipe.Send(e.Detail.InnerXml);
}
}
};
拒绝RSA访问
400
授予用户“NT AUTHORITY\SYSTEM”的权限不足以执行此操作。
http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorString&;EvtID=RSACCESS拒绝&;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&;生产商=10.50.2500.0
Microsoft SQL Server报告服务
10.50.2500.0
127
依赖于
1033
ReportingServicesLibrary
授予用户“NT AUTHORITY\SYSTEM”的权限不足以执行此操作。
`

好吧,我想明白了。Had必须远程连接到Reporting Services服务器,并从那里使用SSM进行连接。然后我可以从那里授予必要的权限。从SSMS上的计算机上,我一直在报表服务器中查找权限,但看不到Reporting Services

令人困惑

public partial class StoredProcedures
{
    [Microsoft.SqlServer.Server.SqlProcedure]
    public static void CTest()
    {
        ReportingService2005 rs = new ReportingService2005();
        rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
        rs.Url = "http://erer332/ReportServer/ReportService2005.asmx";
        Subscription[] lSubs;
        try
        {
            lSubs = rs.ListSubscriptions("/WFM Graphical Reports/Sales Order Formats by Company", null);
            rs.FireEvent("TimedSubscription", lSubs[0].SubscriptionID);
        }
        catch (SoapException e)
        {
            SqlContext.Pipe.Send(e.Detail.InnerXml);
        }
    }
};



<ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">
    rsAccessDenied
</ErrorCode>
<HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">
    400
</HttpStatus>
<Message xmlns="http://www.microsoft.com/sql/reportingservices">
    The permissions granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation.
</Message>
<HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">
    http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsAccessDenied&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=10.50.2500.0
</HelpLink>
<ProductName xmlns="http://www.microsoft.com/sql/reportingservices">
    Microsoft SQL Server Reporting Services
</ProductName>
<ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">
    10.50.2500.0
</ProductVersion>
<ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">
   127
</ProductLocaleId>
<OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">
    OsIndependent
</OperatingSystem>
<CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">
    1033
</CountryLocaleId>
<MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>
        ReportingServicesLibrary
    </Source>
    <Message msrs:ErrorCode="rsAccessDenied" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsAccessDenied&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=10.50.2500.0" xmlns:msrs="http://www.microsoft.com/sql/reportingservices">
        The permissions granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation.
    </Message>
</MoreInformation>
<Warnings xmlns="http://www.microsoft.com/sql/reportingservices" />`