如何配置 SSRS 2005 以使用 ASP.NET 2.0 表单身份验证?
我有一个面向外部(互联网)的 SQL Server 2005 Reporting Services 实例。 我想使用 ASP.NET 2.0 启用表单身份验证。 多个网站讨论了如何配置它以使其工作,但没有任何说明可以提供完整的解决方案。 有人有易于遵循且有效的简洁说明吗?
我使用的是 Windows Server 2003
I have an instance of SQL Server 2005 Reporting Services that is outward (internet) facing. I want to enable Forms Authentication using ASP.NET 2.0. Several web sites discuss how to configure this to work, but none of the instructions lead to a completed solution. Does someone have consise instructions that are easy to follow and will work?
I'm using Windows Server 2003
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阅读 MSDN - 在 Reporting Services 2005 中配置表单身份验证的最佳实践。
您需要在 SSRS 和 ASP.NET 应用程序中更改 Web.config:“...将 Web.config 文件的表单和 machineKey 部分的属性设置为参与共享表单身份验证的所有应用程序的相同值。” ."
请参阅 MSDN - 跨应用程序的表单身份验证了解详情。
另外,安装 Microsoft SQL Server 2005 SP2 的 Reporting Services 示例 并查看进入“FormsAuthentication 示例”
Read section "Integrating Reporting Services into an ASP.NET Application" from MSDN - Best Practices for Configuring Forms Authentication in Reporting Services 2005.
You need to change Web.config in both SSRS and ASP.NET application: "...set attributes of the forms and machineKey sections of the Web.config file to the same values for all applications that are participating in shared Forms authentication..."
See MSDN - Forms Authentication Across Applications for details.
Also, install Reporting Services samples for Microsoft SQL Server 2005 SP2 and look into "FormsAuthentication Sample"