views:

1885

answers:

2

I was trying to configure Sql Server Reporting Services 2008 to send out email when subscriptions were created. I was running SSRS in Native Mode. Whenever I tried to create a new email subscription this error message would appear in the log files:

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.

Most of the solutions on the Internet suggested that the problem was caused by

  1. Improper configuration of the receiving SMTP server
  2. Improper configuration of the Email Settings in the Reporting Services Configuration Manager
  3. Using a non-domain user as the Execution Account

None of these solutions worked for me, however.

+2  A: 

I finally got the idea from an MSDN page to look at the rsreportingservice.config file. I noticed that the config file included a SharePoint Delivery Extension even though the SSRS process was running in Native Mode, not SharePoint mode.

  <!--<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>-->

Once I removed this code from the config file and restarted SSRS the email subscriptions worked.

Eric Ness
This XML node would not be parsed by the SSRS engine and therefore would not execute because it is commented out (<!-- -->).If you found it already commented out, odds are that was not the culprit. By touching the config file, you just happened to force the RS service application to restart and re-parse the XML config file.
Thiago Silva
A: 

If you a using a Data-Driven subscription, double-check that the 'To' setting is actually set to the column that contains your email addresses. We had it mysteriously change to a different column.

AndyM