我试图配置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.
互联网上的大多数解决方案都表明问题是由
接收SMTP服务器的配置不正确
Reporting Services配置管理器中的电子邮件设置配置不正确
使用非域用户作为执行帐户
但是,这些解决方案都不适用于我.
我终于从MSDN页面获得了查看rsreportingservice.config文件的想法.我注意到配置文件包含SharePoint Delivery Extension,即使SSRS进程在纯模式下运行,而不是在SharePoint模式下运行.
从配置文件中删除此代码并重新启动SSRS后,电子邮件订阅就可以了.