SQL Server Report Server

1.SQL Server Report Server是利用mircosoft的share point产品
在menu 打开Reporting Services Configuration进行配置,会自动配置当前server的两个地址,前者上传报表进行管理,后者显示报表
Manager Site : http://localhost/Reports
Web Service URL : http://localhost/ReportServer

2.在Microsoft SQL Server Management Studio也可以连接report server

3.需注意,无论是报表文件ldr的design还是连接到report server,都跟sql server 的版本密切相关。

如果连接时出现下面的错误或者报表打开有问题,多半是因为版本不一致


4.rdl文件打开就是一个xml文件,因此填充报表的数据如果出现不合法字符也有可能报错

可以用下列代码检验rdl文件

C# hexadecimal value 0x12, is an invalid character
http://stackoverflow.com/questions/21053138/c-sharp-hexadecimal-value-0x12-is-an-invalid-character


这个时候光检查rdl文件有没有包含ascii码为26的字符是不够的,必须对报表的parameter所使用到的数据进行检查
错误:select * from Data where Name like '%→%'
正确:select * from data where name like '%' + chr(26) + '%'

原文地址:https://www.cnblogs.com/sui84/p/6777059.html