如何将报表生成器连接到ASPX页面 [英] how to connect report builder to aspx page

查看:95
本文介绍了如何将报表生成器连接到ASPX页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用MS SQL SERVER 2008 R2报告构建器创建了报告构建器.
现在,我想将其与.ASPX页面连接.

i have created report builder using MS SQL SERVER 2008 R2 REPORT BUILDER.
now I want to connect this with .ASPX Page .

推荐答案

我假设您正在为报告服务构建自定义前端.

我不知道您要为ASP .NET应用程序使用哪种身份验证模型,我过去做过类似的事情,并使用了集成的Windows身份验证.
如果用户确实遇到了他们无法访问的任何内容,它会非常顺利地运行,然后会提示他们输入用户名和密码-尽管如果他们看到未经授权的内容,则您的应用程序应该处理比这更优雅!

为了回答您的问题,如果用户在域上通过了身份验证,则在打开该身份验证时,身份验证将传递到报表构建器中.就像他们使用http://[servername]/reports网页查看报告一样.

如果使用其他身份验证模型,则会遇到问题.

此处看看 [
I assume you''re building a custom front end for reporting services

I don''t know what authentication model you''re using for the ASP .NET application, I''ve done something similar in the past and used integrated windows authentication.
It works pretty smoothly, if the user does encounter anything which they don''t have access to then they are prompted for a username and password - although if they can see something that they haven''t got permission to then your application should handle it more elegantly than that!

To answer your question, if the user is authenticated on the domain then the authentication will be passed onto the report builder when they open that. Just as if they were using the http://[servername]/reports web page to view reports.

If you are using a different authentication model then you will encounter problems.

Have a look here[^].

--Amit


这篇关于如何将报表生成器连接到ASPX页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆