在此页中
症状
在Microsoft SQL Server 2005报表服务,电子邮件订阅不起作用之后您升级到Windows Vista或Windows Server 2008的报表服务器或远程SMTP服务器。 这个问题发生的Reporting Services时,在任何平台上运行。 在下列情况下会发生此问题。
方案1
您指定发件人的电子邮件订阅,而不是一个完整的e-mail地址的别名。 当报表服务器试图提供一份报告,作为电子邮件订阅的一部分,您会收到以下错误消息:方案2
升级后的计算机已安装到Windows Vista或Windows Server 2008的报告服务,您会收到以下错误消息时,报表服务器提供电子邮件订阅一份报告:- 发件人的电子邮件地址是一个完整的e-mail地址。
- 在报表服务器上的配置文件DefaultHostName标签未设置。
- 在报表管理器的认购页,可以指定To字段的别名,而不是完整的e-mail地址。
- 至
- CC
- 密件抄送
- 答复人
方案3
在您升级到Windows Vista或Windows Server 2008的远程SMTP服务器,您会收到以下错误消息时,报表服务器提供电子邮件订阅一份报告:- 发件人的电子邮件地址是一个完整的e-mail地址。
- 在报表服务器上的配置文件DefaultHostName标签未设置。
- 在报表管理器的认购页,可以指定To字段的别名,而不是完整的e-mail地址。
- 至
- CC
- 密件抄送
- 答复人
原因
解决方案
- 在Reporting Services配置工具的电子邮件设置页面中,指定一个完整的e-mail地址,而不是发件人地址设置一个别名。
- RSReportServer.config文件中,指定一个完整的e-mail地址,而不是位于下RSEmailDPConfiguration标签从标签的别名。 默认情况下,配置文件位于以下文件夹中:
C:\ Program Files文件\的Microsoft SQL Server \ MSSQL的 X \ Reporting Services中\的ReportServer
方法1
设置报表服务器的配置文件域名 DefaultHostName设置。 要做到这一点,请按照下列步骤:- 打开rsreportserver.config配置文件。
- 修改的DefaultHostName的设置如下:
<DefaultHostName>域名</ DefaultHostName的>
方法2
订阅页的报表管理,确保在以下领域的所有e-mail地址是完整的e-mail地址:- 至
- CC
- 密件抄送
- 答复人
状态
更多信息
步骤来重现问题
- 在基于Windows Vista的计算机或基于Windows Server 1 2008的计算机上,安装SQL Server 2005报表服务。
- 创建一个报告。
- 创建报告交付指定要订阅的领域中的一个电子邮件别名电子邮件订阅。
- 尝试提供该报告的电子邮件订阅
-------------------------------------------------------原文--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------原文--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------原文--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------原文------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SQL Server 2005 Reporting Services e-mail subscriptions do not work in Windows Vista and in Windows Server 2008 if you use aliases as e-mail addresses
On This Page
SYMPTOMS
In Microsoft SQL Server 2005 Reporting Services, e-mail subscriptions do not work after you upgrade the report server or the remote SMTP server to Windows Vista or to Windows Server 2008. This problem occurs when Reporting Services is running on any platform. This issue occurs in the following scenarios.
Scenario 1
You specify an alias instead of a full e-mail address for the sender of the e-mail subscriptions. When the report server tries to deliver a report as a part of the e-mail subscriptions, you receive the following error message:Scenario 2
After you upgrade the computer that has Reporting Services installed to Windows Vista or to Windows Server 2008, you receive the following error message when the report server delivers a report to the e-mail subscriptions:- The sender e-mail address is a full e-mail address.
- The DefaultHostName tag of the configuration file on the report server is not set.
- In the Subscription page of Report Manager, you specify aliases instead of full e-mail addresses for the To field.
- To
- Cc
- Bcc
- Reply-To
Scenario 3
After you upgrade the remote SMTP server to Windows Vista or to Windows Server 2008, you receive the following error message when the report server delivers a report to the e-mail subscriptions:- The sender e-mail address is a full e-mail address.
- The DefaultHostName tag of the configuration file on the report server is not set.
- In the Subscription page of Report Manager, you specify aliases instead of full e-mail addresses for the To field.
- To
- Cc
- Bcc
- Reply-To
CAUSE
RESOLUTION
- In the Email Settings page of the Reporting Services Configuration tool, specify a full e-mail address instead of an alias for the Sender Address setting.
- In the Rsreportserver.config file, specify a full e-mail address instead of an alias for the From tag that is located under the RSEmailDPConfiguration tag. By default, the configuration file is located in the following folder:
C:\Program Files\Microsoft SQL Server\MSSQL. x \Reporting Services\ReportServer
Method 1
Set the DefaultHostName setting for the configuration file of the report server to a domain name. To do this, follow these steps:- Open the Rsreportserver.config configuration file.
- Modify the DefaultHostName setting as follows:
<DefaultHostName>DomainName</DefaultHostName>
Method 2
In the Subscription page of Report Manager, make sure that all the e-mail addresses in the following fields are full e-mail addresses:- To
- Cc
- Bcc
- Reply-To
STATUS
MORE INFORMATION
Steps to reproduce the problem
- On a Windows Vista-based computer or a on Windows Server 2008-based computer, install SQL Server 2005 Reporting Services.
- Create a report.
- Create an e-mail delivery subscription for the report by specifying an e-mail alias in the To field of the subscription.
- Try to deliver the report to the e-mail subscription.
Keywords: | kberrmsg kbtshoot kbprb kbsql2005rs kbexpertiseadvanced KB945601 |