2009-02-24 187 views
2

我试图配置Sql Server Reporting Services 2008在订阅创建时发送电子邮件。我以纯模式运行SSRS。每当我试图创建一个新的电子邮件订阅将出现在日志文件中此错误消息: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 solutionsthe Internet认为问题是由

  1. 的 接收的配置不正确引起的SMTP服务器
  2. 错误 配置电子邮件设置 在Reporting Services中 配置管理器
  3. 使用 非域用户作为执行 帐户

这些解决方案都为我工作,但是。

回答

5

我终于从an MSDN page的想法看到了rsreportingservice.config文件。我注意到,即使SSRS进程在纯模式下运行,而不是在SharePoint模式下运行,配置文件也包含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,电子邮件订阅工作。

+4

这个XML节点将不会被发动机SSRS被解析并因此不会执行,因为它已被注释掉()。 如果您发现它已被注释掉,可能性不是罪魁祸首。通过触摸配置文件,您恰好迫使RS服务应用程序重新启动并重新解析XML配置文件。 – 2009-09-09 17:34:52

0

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