Visual Studio 2008 报表服务器项目设计视图不起作用 [英] Visual Studio 2008 Report Server Project Design View not working
问题描述
当我在 Visual Studio 2008 中创建新的 Reporting Services 报表或尝试打开现有的报表(一直在工作)时.我无法查看设计.我没有收到错误消息,它只在设计视图"中显示 html 代码.我试过重新安装 VS2008 和 BIDS,但没有奏效.当我 2 周前上次使用它时,这一切正常.
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
推荐答案
我遇到了同样的问题,Kyle 的答案是准确的.就我而言,错误列表窗口(在 Visual Studio 2008 IDE 中:查看 > 错误列表)显示三个错误,全部相同:
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:
'DataType' 属性不是声明."
"The 'DataType' attribute is not declared."
三行看起来像这样:
1291: <Value DataType="Integer">3</Value>
...
1295: <Value DataType="Integer">2</Value>
...
1299: <Value DataType="Integer">1</Value>
从每一行中删除 DataType="Integer" 后,如下所示,报告显示正确:
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>
我的假设/猜测是该报告是从报告管理器网页(http://localhost/reports/)
My assumption/guess is that the report was modified from the Report Manager web page (http://localhost/reports/)
这篇关于Visual Studio 2008 报表服务器项目设计视图不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!