简体   繁体   English

SQL SSRS报表管理器站点要求每次登录

[英]SQL SSRS Report Manager site asking to login every time

SQL Server 2012 / SSRS. SQL Server 2012 / SSRS。 Windows 2008 R2. Windows 2008 R2。 When trying to access the Report Manager via URL ( http://servername/reports ), it prompts us for a username and password. 当尝试通过URL( http:// servername / reports )访问报表管理器时,它会提示我们输入用户名和密码。 When I enter a valid user/pass it works and I can get to the Report Manager site and run reports fine. 当我输入有效的用户名/密码时,它可以工作,并且我可以进入报表管理器站点并正常运行报表。 But we don't want to be prompted, we don't even need Windows Authentication, just to go strait in to the page. 但是我们不想被提示,我们甚至不需要Windows身份验证,只需进入页面即可。 Any ideas why its asking for a username and password and how I can allow direct access? 有什么想法为什么要询问用户名和密码以及如何允许直接访问?

You need to store the credentials in the report. 您需要将凭据存储在报告中。

You can store the credentials used to access an external data source. 您可以存储用于访问外部数据源的凭据。 Credentials are stored in reversible encryption in the report server database. 凭据以可逆加密方式存储在报表服务器数据库中。 You can specify one set of stored credentials for each data source used in a report. 您可以为报告中使用的每个数据源指定一组存储的凭据。 The credentials you provide retrieve the same data for every user who runs the report. 您提供的凭据为运行报告的每个用户检索相同的数据。

Stored credentials are recommended as part of a strategy for accessing remote database servers. 建议将存储的凭据作为访问远程数据库服务器的策略的一部分。 Stored credentials are required if you want to support subscriptions, or schedule report history generation or report snapshot refreshes. 如果要支持订阅,计划报告历史记录生成或报告快照刷新,则需要存储的凭据。 When a report runs as a background process, the report server is the agent that executes the report. 当报告作为后台进程运行时,报告服务器是执行报告的代理。 Because there is no user context in place, the report server must get credential information from the report server database in order to connect to a data source. 因为没有适当的用户上下文,所以报表服务器必须从报表服务器数据库中获取凭据信息才能连接到数据源。 The user name and password that you specify can be Windows credentials or a database login. 您指定的用户名和密码可以是Windows凭据或数据库登录名。 If you specify Windows credentials, the report server passes the credentials to Windows for subsequent authentication. 如果指定Windows凭据,则报表服务器会将凭据传递给Windows以进行后续身份验证。 Otherwise, the credentials are passed to the database server for authentication. 否则,凭据将传递到数据库服务器以进行身份​​验证。

https://docs.microsoft.com/en-us/sql/reporting-services/report-data/specify-credential-and-connection-information-for-report-data-sources https://docs.microsoft.com/en-us/sql/reporting-services/report-data/specify-credential-and-connection-information-for-report-data-sources

You could configure Windows AD and set up NTLM/Kerberos in SSRS. 您可以配置Windows AD并在SSRS中设置NTLM / Kerberos。 This would help to seamlessly access the resources without an username and password. 这将有助于无缝地访问资源而无需用户名和密码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM