You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何取消SSRS 2019弹出身份验证并默认管理员账号密码?

SSRS 2019 取消登录弹窗的配置方案

一、URL传递账号密码不可行

微软SSRS官方不支持通过URL明文传递账号密码的方式跳过登录验证,这种方式存在严重安全风险,且SSRS会直接忽略此类参数,无法实现免登录效果。

二、通过配置文件修改身份验证模式

1. 修改rsreportserver.config文件

该文件默认路径为C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\rsreportserver.config,找到<Authentication>节点,调整为Windows集成验证模式:

<Authentication>
    <AuthenticationTypes>
        <RSWindowsNegotiate/>
        <RSWindowsNTLM/>
        <!-- 注释Basic验证,避免触发登录弹窗 -->
        <!-- <RSWindowsBasic/> -->
    </AuthenticationTypes>
    <EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>

2. 修改ReportServer和ReportManager的web.config文件

  • ReportServer的web.config路径:C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\web.config
  • ReportManager的web.config路径:C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportManager\web.config

找到<system.web>节点下的相关配置,修改为:

<authentication mode="Windows" />
<identity impersonate="true" />

三、补充权限配置

完成上述配置后,需确保当前访问报表的Windows用户拥有SSRS访问权限:

  1. 打开报表管理器(通常地址为http://服务器名/Reports)
  2. 进入「站点设置」→「安全性」→「添加用户」
  3. 添加当前Windows用户,赋予「系统管理员」或对应报表的访问权限

若为域环境,需保证客户端与SSRS服务器在同一域或已建立信任关系,这样Windows集成验证会自动传递当前登录凭据,无需手动输入账号密码。

内容的提问来源于stack exchange,提问作者Zihan Hossain

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.29 14:37:14