Visual Studio 2008 报表服务器项目设计视图不起作用
当我创建新的 Reporting Services 报表或尝试在 Visual Studio 2008 中打开现有报表(已运行)时。我无法查看设计。我没有收到错误消息,它只在“设计视图”中显示 html 代码。我尝试过重新安装VS2008和BIDS,但没有成功。当我两周前最后一次使用它时,这一切都有效。
-内特
When I create a new Reporting Services report or try to open an existing report (that has been working) in Visual Studio 2008. I cannot view the design. I get no error message and it only shows html code in the "Design View". I've tried reinstalling VS2008 and BIDS, but hasn't worked. This was all working when I last used it 2 weeks ago.
-nate
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我也遇到了同样的问题,凯尔的答案就是准确的答案。就我而言,错误列表窗口(在 Visual Studio 2008 IDE 中:“视图”>“错误列表”)显示了三个错误,全部相同:
看起来像这样:
从每行中删除 DataType="Integer" 时,如下所示,报告正确显示:
我的假设/猜测是报告是从报告管理器网页 (http://localhost/reports/)
I had the same problem, and Kyle's was the exact answer. In my case, the Error List window (In Visual Studio 2008 IDE: View > Error List) displayed three errors, all the same:
The three lines looked like this:
On removing the DataType="Integer" from each line, as below, the report displayed correctly:
My assumption/guess is that the report was modified from the Report Manager web page (http://localhost/reports/)
Nate,我知道这是一篇旧帖子,但是,我遇到了同样的问题,并通过将 rdl 文件切换到代码视图并发现 Visual Studio 向其中一个参数标记添加了无效属性(用下划线表示)来解决了该问题蓝色潦草)。当我删除参数后,一切正常。
Nate, I know this is an old post, however, I was having this same issue and resolved it by switching the rdl file to code view and finding that visual studio added an invalid attribute to one of the parameters tags (it was underlined with a blue squigely). When I deleted the parameter, everything worked properly.
今天我也发生了同样的事情。当我打开几分钟前才使用的报表时,它在设计视图中显示 HTML。我单击底部的“错误列表”选项卡,它显示“反序列化失败:未声明‘DataType’属性。第 x 行,位置 x。”我切换到代码视图,发现无效属性,并带有蓝色波浪线下划线。我删除了有问题的属性,一切都恢复正常。
Same thing happened to me today. When I opened a report that I had used only minutes ago, it was showing HTML in the design view. I clicked on the Error List tab at the bottom and it said "Deserialization failed: The 'DataType' attribute is not declared. Line x, position x." I switched to code view and found the invalid attribute, underlined with a blue squiggly line. I removed the offending attributes and everything was back to normal.