随笔分类 -  ReportViewer

摘要:在部署SSL方式访问网站的时候,处于习惯,将原有的443端口改为4433,ASP.NET 其它页面都能正常访问,当时当访问ReportViewer的页面时,超级慢多方查找解决方案,无果。无意间将网站端口改回443,ReportViewer页面能正常访问。有时间用简单的方式再测试一下经过测试,是程序的问题在SSL中,由于加载外部图片处理的有问题,导致报表加载受阻,将图片地址处理正确后,问题解决。具体参考:http://www.cnblogs.com/rock_chen/archive/2013/03/14/2958901.html 阅读全文
posted @ 2013-03-16 11:34 I'm CY 阅读(308) 评论(0) 推荐(0)
摘要:在MS ReportViewer中加上LOGO,在开发过程中一切正常,部署到外网,LOGO不能显示第一种方式:图片地址格式化形如:file:\\\c:\website\logo.jpg或者file:c:\website\logo.jpg问题解决。第二种方式:ReportViewer1.LocalReport.EnableExternalImages=true;ReportViewer1.LocalReport.Refresh();CodepublicpartialclassReport:System.Web.UI.Page{protectedvoidPage_Load(objectsender 阅读全文
posted @ 2013-03-14 10:39 I'm CY 阅读(779) 评论(0) 推荐(0)
摘要:在浏览报表时,如果报表参数没有正确的传递进去,其错误如下:报表查看器配置错误报表查看器 Web 控件 HTTP 处理程序尚未在应用程序的 web.config 文件中注册。请将***********添加到 Internet Information Services 7 或更高版本的 system.webServer/handlers 节。很是让人迷惑。通过实践得知:在ReportBuilder设计器中,将对应的参数设置为“允许空白值”,“允许null”,或者给一个“默认值”都会消除此错误。 阅读全文
posted @ 2012-10-23 09:30 I'm CY 阅读(394) 评论(0) 推荐(0)
摘要:Microsoft.ReportingServices.RdlObjectModel.dll装完 ReportBuilder 2.0 后,可以在C:\Program Files\Microsoft SQL Server\Report Builder 2.0中找到对应的文件C:\Program Files\Microsoft SQL Server\Report Builder 2.0中还有一些其它的dll,利用这些dll完可以实现一个web版方式的 RDL Report Designer有了此dll,可以相对方便的对.rdl文件进行操作,需要注意的是默认VS2010 或 ReportBuilde 阅读全文
posted @ 2012-06-07 17:12 I'm CY 阅读(1046) 评论(0) 推荐(0)
摘要:Microsoft.Reporting.WebForms.LocalReport.DisplayName属性在设置报表路径后,赋值 localReport.LoadReportDefinition(stream);或localReport.ReportPath = "c:\1.rdl";之后localReport.DisplayName = "MyFileName"; 阅读全文
posted @ 2012-06-07 16:56 I'm CY 阅读(260) 评论(0) 推荐(0)
摘要:异常==========================用户代码未处理 System.Security.SecurityExceptionMessage="请求“System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。"Source="mscorlib"StackTrace: 在 System.Security.CodeAccessSecurityEn 阅读全文
posted @ 2009-06-29 19:21 I'm CY 阅读(506) 评论(0) 推荐(0)