社区
C#
帖子详情
无法解决这个问题了...如何在asp.net里用web service方式引用带有form验证模式的reporting service2005
gabriel1
2007-01-24 05:22:33
如题..
现有webservice带有form身份验证,为了不让未授权用户通过url方式访问报表,如何才能引用此reporting service呢?
相关未解决问题:http://community.csdn.net/Expert/TopicView.asp?id=5306558
...全文
271
13
打赏
收藏
无法解决这个问题了...如何在asp.net里用web service方式引用带有form验证模式的reporting service2005
如题.. 现有webservice带有form身份验证,为了不让未授权用户通过url方式访问报表,如何才能引用此reporting service呢? 相关未解决问题:http://community.csdn.net/Expert/TopicView.asp?id=5306558
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
13 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
whishtking
2011-09-01
打赏
举报
回复
怎么就没有解决方法????
inrie
2007-04-10
打赏
举报
回复
楼主web service已经引用成功,可否指点一二。我用如下方法,但是还是验证不成功,没办法通过web service api去获取reporting service的目录结构
System.Net.NetworkCredential creds = new System.Net.NetworkCredential(cookie.Name, cookie.Value,"DomainName");
rs.Credentials = creds;
通过Debug跟踪,发现creds已经有数据了,但是还是验证不了,晕晕的,楼主帮帮忙。。
inrie
2007-04-10
打赏
举报
回复
参照Reporting Service Forms Sample实现ReportServerCredentials。然后用以下方式加验证就OK了。
Cookie authCookie = new Cookie(cookie.Name, cookie.Value);
authCookie.Domain = ConfigurationManager.AppSettings["ReportDomain"].ToString();
cReportViewer.ServerReport.ReportServerCredentials = new ReportServerCredentials(authCookie);
liujia_0421
2007-01-29
打赏
举报
回复
帮兄弟顶一把...
gabriel1
2007-01-29
打赏
举报
回复
up
gabriel1
2007-01-26
打赏
举报
回复
.....
gabriel1
2007-01-26
打赏
举报
回复
现在webservice引用已经成功,左边的tree可以显现出reportingservice的目录结构,但reportview不能正常显示..这个没通过认证似的.
this.rvReport.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
this.rvReport.ServerReport.ReportServerUrl = new Uri("http://localhost/ReportServer$Victor2005");
this.rvReport.ServerReport.ReportPath = this.trvReport.SelectedNode.Value.Substring(6);
怎么能让reportview可以连接一个有form认证的reporting service呢?
gabriel1
2007-01-25
打赏
举报
回复
分是少了点,但也不能连顶的都没有了啊,
会另开贴给分的啊..
怎么回事
gabriel1
2007-01-25
打赏
举报
回复
虽然希望渺茫,再顶一下吧.
gabriel1
2007-01-25
打赏
举报
回复
我靠,再up.
gabriel1
2007-01-25
打赏
举报
回复
up
csShooter
2007-01-24
打赏
举报
回复
up...没用过reporting service2005
gabriel1
2007-01-24
打赏
举报
回复
~~顶
如何保护
ASP.NET
Web
API [关闭]
I want to build a RESTful
web
service
us
ing
ASP.NET
Web
API that third-party developers will use to
【
ASP.NET
Identity系列教程(一)】
ASP.NET
Identity入门
描述了如何运用
ASP.NET
Identity实现应用程序的用户管理,以及实现应用程序的认证与授权等相关技术,译者希望本系列教程能成为掌握
ASP.NET
Identity技术的一份完整而有价值的资料。读者若是能够按照文章的描述,一边...
ASP.NET
Identity 一 (转载)
本系列教程详细、完整、深入地介绍了微软的
ASP.NET
Identity技术,描述了如何运用
ASP.NET
Identity实现应用程序的用户管理,以及实现应用程序的认证与授权等相关技术,译者希望本系列教程能成为掌握
ASP.NET
Iden...
【译著】第8章 SportsStore:导航与购物车 — 《精通
ASP.NET
MVC 3框架》
为了修正它,在使用这个控制器的那些单元测试中,把null作为第一个参数传递给List方法。例如,在Can_Send_Pagination_View_Model测试中,单元测试的“动作”部分成为这样: ProductsListViewModel result = ...
SQL
2005
疑难
解决
方案大全
SQL
2005
疑难
解决
方案大全 目录 目录................................................................................................................................. 1
无法
连接到服务器...............
C#
110,539
社区成员
642,577
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章