Visual Studio 2008 报表服务器项目设计视图不起作用

发布于 2024-08-11 05:59:13 字数 172 浏览 7 评论 0原文

当我创建新的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦幻的心爱 2024-08-18 05:59:13

我也遇到了同样的问题,凯尔的答案就是准确的答案。就我而言,错误列表窗口(在 Visual Studio 2008 IDE 中:“视图”>“错误列表”)显示了三个错误,全部相同:

“‘DataType’属性不是
声明。”

看起来像这样:

1291: <Value DataType="Integer">3</Value>
...
1295: <Value DataType="Integer">2</Value>
...
1299: <Value DataType="Integer">1</Value>

从每行中删除 DataType="Integer" 时,如下所示,报告正确显示:

1291: <Value>3</Value>
...
1295: <Value>2</Value>
...
1299: <Value>1</Value>

我的假设/猜测是报告是从报告管理器网页 (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 'DataType' attribute is not
declared."

The three lines looked like this:

1291: <Value DataType="Integer">3</Value>
...
1295: <Value DataType="Integer">2</Value>
...
1299: <Value DataType="Integer">1</Value>

On removing the DataType="Integer" from each line, as below, the report displayed correctly:

1291: <Value>3</Value>
...
1295: <Value>2</Value>
...
1299: <Value>1</Value>

My assumption/guess is that the report was modified from the Report Manager web page (http://localhost/reports/)

失眠症患者 2024-08-18 05:59:13

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.

原谅我要高飞 2024-08-18 05:59:13

今天我也发生了同样的事情。当我打开几分钟前才使用的报表时,它在设计视图中显示 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文