2009-02-24 186 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

如果您使用的是數據驅動訂閱,請仔細檢查「收件人」設置是否已設置爲包含您的電子郵件地址的列。我們把它神祕地變成了另一個專欄。