gpt4 book ai didi

sql - Reporting Services 订阅不允许修改 To : Field

转载 作者:行者123 更新时间:2023-12-02 06:55:37 25 4
gpt4 key购买 nike

有一个小问题让我头疼。我们的报表服务器是 Win 2008 服务器上的 SQL Ent 2008。当具有报表浏览器权限的用户尝试设置报表订阅时,“收件人:”字段会显示为灰色,并预先填充其用户名。他们无法更改此设置,也不会发送到他们的电子邮件地址(username@domain.com)。任何线索将不胜感激。

最佳答案

“站点设置”..“配置项目级角色定义”..“浏览器”

他们只能“管理个人订阅”。 SSRS 不允许更改电子邮件地址,因为他们可以在其中放入任何内容。

在 BOL 中,Managing Subscriptions ...和How to: Subscribe to a Report (Report Manager) ,这导致 Configuring a Report Server for E-Mail Delivery 。这说:

Configuration Options for Setting theTo: Field in a Message

User-defined subscriptions that arecreated according to the permissionsgranted by the Manage individualsubscriptions task contain a pre-setuser name that is based on the domainuser account. When the user createsthe subscription, the recipient namein the To: field is self-addressedusing the domain user account of theperson creating the subscription.

If you are using an SMTP server orforwarder that uses e-mail accountsthat are different from the domainuser account, the report delivery willfail when the SMTP server tries todeliver the report to that user.

To workaround this issue, you canmodify configuration settings thatallow users to enter a name in the To:field:

  1. Open RSReportServer.config with a text editor.
  2. Set SendEmailToUserAlias to False.
  3. Set DefaultHostName to the Domain Name System (DNS) name or IPaddress of the SMTP server orforwarder.
  4. Save the file.

关于sql - Reporting Services 订阅不允许修改 To : Field,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/947379/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com