[英]Reporting Services XML Error
Really annoying issue that I have spent a long time on. 我花了很长时间才真正烦人的问题。 I shall switch into Software Testing Bug Report mode (from a past life) to explain it.
我将切换到软件测试错误报告模式(来自前世)来解释它。
Scenario 脚本
Expected Results 预期成绩
Actual Results 实际结果
There is an unclosed literal string.
有一个未封闭的文字字符串。 Line 1, position 64737. ---------------------------- Response is not well-formed XML.
第1行,位置64737. ----------------------------响应不是格式良好的XML。 ---------------------------- The attempt to connect to the report server failed.
----------------------------尝试连接到报表服务器失败。 Check your connection information and that the report server is a compatible version.
检查连接信息,并且报表服务器是兼容版本。
Notes 笔记
I have tried everything I can think of, including searching the report definition for unclosed strings but no banana. 我已经尝试了我能想到的一切,包括在报告定义中搜索未闭合的字符串但没有香蕉。
Has anyone else come up with this error in SSRS Report Builder? 有没有其他人在SSRS报告生成器中提出此错误?
Technologies Used 使用的技术
Thanks 谢谢
I hope this is not too late. 我希望现在还为时不晚。 But to anyone who comes across this same question I had a similar issue and I resolved it by removing my tablix that was generated and was still referencing fields no longer available in my updated sproc.
但对于遇到同样问题的任何人,我遇到了类似的问题,我通过删除生成的Tablix来解决它,并且仍在引用我更新的sproc中不再可用的字段。
All I did was to delete said tablix and regenerate it using the wizard and my issue was resolved. 我所做的只是删除所述tablix并使用向导重新生成它,我的问题得到了解决。 I would propose that you recreate whatever you are using to display the dataset.
我建议您重新创建用于显示数据集的任何内容。
If you cant find any malformed XML in your report definition I would check the data the stored procedure is pulling. 如果您无法在报表定义中找到任何格式错误的XML,我将检查存储过程正在提取的数据。 If there is a <, >, or any other symbol that would break XML in the actual data this could cause you to get this error.
如果存在<,>或任何其他符号会破坏实际数据中的XML,则可能会导致此错误。 Try pulling the report with a parameter that would cause no data to come back and see if you still get this error.
尝试使用一个参数拉动报告,该参数不会导致数据返回,看看是否仍然出现此错误。 If not then the problem could be in the data that comes back.
如果没有那么问题可能在于返回的数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.