SSRS电子邮件订阅配置

时间:2009-02-24 16:01:45

标签: sql-server reporting-services

我试图配置Sql Server Reporting Services 2008以在创建订阅时发送电子邮件。我在Native模式下运行SSRS。每当我尝试创建新的电子邮件订阅时,此错误消息都会显示在日志文件中:

library!ReportServer_0-3!14e4!01/30/2009-12:58:52:: Call to GetSystemPermissionsAction().
library!ReportServer_0-3!1684!01/30/2009-12:58:52:: Call to GetPermissionsAction(/Report Folder/Report Name).
library!ReportServer_0-3!14e4!01/30/2009-12:58:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode., ;
 Info: Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.
extensionfactory!ReportServer_0-3!14e4!01/30/2009-12:58:52:: e ERROR: Exception caught instantiating Report Server DocumentLibrary report server extension: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Microsoft.ReportingServices.SharePoint.SharePointDeliveryExtension.DocumentLibraryProvider' threw an exception. ---> Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.

the solutions上的大多数the Internet表示问题是由

引起的
  1. 不正确的配置 接收SMTP服务器
  2. 不当 电子邮件设置的配置 在Reporting Services中 配置管理器
  3. 使用 非域用户作为执行 帐户
  4. 然而,这些解决方案都不适合我。

3 个答案:

答案 0 :(得分:5)

我终于从an MSDN page得到了关于查看rsreportingservice.config文件的想法。我注意到配置文件包含SharePoint Delivery Extension,即使SSRS进程在纯模式下运行,而不是在SharePoint模式下运行。

        <!--<Extension Name="Report Server DocumentLibrary" Type="Microsoft.ReportingServices.SharePoint.SharePointDeliveryExtension.DocumentLibraryProvider,ReportingServicesSharePointDeliveryExtension">
            <MaxRetries>3</MaxRetries>
            <SecondsBeforeRetry>900</SecondsBeforeRetry>
            <Configuration>
                <DocumentLibraryConfiguration>
                    <ExcludedRenderFormats>
                        <RenderingExtension>HTMLOWC</RenderingExtension>
                        <RenderingExtension>NULL</RenderingExtension>
                        <RenderingExtension>RGDI</RenderingExtension>
                    </ExcludedRenderFormats>
                </DocumentLibraryConfiguration>
            </Configuration>
        </Extension>-->

一旦我从配置文件中删除了此代码并重新启动了SSRS,电子邮件订阅就可以了。

答案 1 :(得分:0)

如果您使用的是数据驱动订阅,请仔细检查“收件人”设置是否实际设置为包含您的电子邮件地址的列。我们把它神秘地改成了另一个专栏。

答案 2 :(得分:0)

如果您指向Sharepoint集成模式的SOAP端点(通常为“ReportService2006.asmx”),也会看到此错误。如果您没有使用与Sharepoint集成的SSRS,请确保您指向“ReportService2005.asmx”(是的,即使您使用的是SQL 2008)。

价: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/8a40f90f-60e5-4130-984f-dc42032376d4/