RDLC Report Data not refreshing and crashing Visual studio

▼魔方 西西 提交于 2019-12-11 10:36:23

问题


I am asking this question because I had a lot of problems with getting the report data to work with my report and the other answers did not work for me.

Task: The data source of the report is outdated and needs to be refreshed.

Problem: Refreshing the data Set in the Report Data viewer will make visual studio crash.

This happened to me using Visual studio 2012.


回答1:


I found the answer to this question after searching around a bit in the rdlc file.

You can open the rdlc file in a text editor like notepad++.
Search for: "SchemaPath", this will show you the link to your schema.

In my case the schema path was wrong and I had to change it so it could find the new schema. When this is changed to the right path, you can then refresh your dataset in the Visual Studio Report data view.

You can open the report data view with the key combination: CTRL+ALT+D.




回答2:


I had the same issue. I figured out that one file in folder Properties/DataSources has incorrect TypeInfo tag. It contains type that does not exists. When I fix type name then VS stop crashing



来源:https://stackoverflow.com/questions/29747657/rdlc-report-data-not-refreshing-and-crashing-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!