Reporting Service 配置SMTP和设置订阅出现的异常

SSRS能够按照schedule,以mail的形式发送report,这是通过设置subscription report来实现的。

1,发送mail需要在SSRS中配置SMTP Server,如果没有Reporting Service Configuration manager中配置SMTP Server,
Report Delivery Options中没有Send Mail的选项

Reporting Service 配置SMTP和设置订阅出现的异常

在Reporting Service Configuration manager的Email settings选项卡中配置发送邮件的SMTP服务器,登录SMTP服务器使用Reporting Service的Service Account,无法显式配置登录SMTP服务器的用户名和密码,所以如果Reporting Services与SMTP在同一个域,那么可以把登录SMTP的域用户设置为Reporting Services服务的启动用户,达到通过SMTP身份验证的目的。

如果不在同一个域中,就需要显式设置登录SMTP Server的身份验证,这个通过“Reporting Service Configuration manager”是无法实现的。

Reporting Service 配置SMTP和设置订阅出现的异常

2,如果在Report Manager中创建subscription report时看到Warning,并且不能创建 subscription report。

Reporting Service 配置SMTP和设置订阅出现的异常

when cliking the "New Data-driven Subscription" button, the below message occurs

"Data-driven subscriptions cannot be created because the credentials used to run the report are not stored, the report is using user-defined parameter values, or if a linked report, the link is no longer valid."

Reporting Service 配置SMTP和设置订阅出现的异常

意思是用户凭证失效,原因是报表的数据源是基于"Use Windows Authentication",需要使用“Use Sql Server Authentication”

Reporting Service 配置SMTP和设置订阅出现的异常

推荐博客 BIWork:

http://www.cnblogs.com/biwork/p/3258728.html

上一篇:慕容小匹夫 Unity3D移动平台动态读取外部文件全解析


下一篇:Reporting Service部署之访问权限