将RDLC转换为2008格式时出错 [英] Error converting RDLC to 2008 format

查看:173
本文介绍了将RDLC转换为2008格式时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近购买了VS 2010 Pro并升级了我的VS 2008 Windows窗体项目。 一切正常,包括我在本地处理的报告。 我不使用SQL服务器来处理报告。 但是,现在我想编辑报告
,这就是我得到错误的地方。

I recently purchased VS 2010 Pro and upgraded my VS 2008 windows forms project.  Everything works fine including my reports which are processed locally.  I do not use SQL server for processing reports.  However, now I want to edit a report and that's where I get the error.

当我双击RDLC时,我收到以下消息(称之为消息A):

When I double click the RDLC I get the following message (call it message A):

"您要将此报告转换为RDlC 2008格式吗? 请单击"确定"继续,或单击"取消"在XML编辑器中打开"

"Do you want to convert this report to RDlC 2008 format?  Please click OK to proceed or Cancel to open it in the XML editor"

如果单击"确定"以显示消息A,它将转换并打开RDLC,以便我可以对其进行编辑。  ;即使我不编辑任何内容,如果我现在在VS环境中运行报告,我也会收到以下错误。

If I click OK to message A, it converts and opens the RDLC so I can edit it.  Howver even if I do not edit anything, if I now run the report in the VS environment, I get the following error.

"报告定义无效。 详细信息:报表定义具有无效的目标名称空间"http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition",无法升级。"

"The report definition is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded."

所以执行此转换为2008格式会破坏我的报告。

So doing this conversion to 2008 format broke my report.

如果我点击取消发送消息A,则会收到错误消息:

If I click Cancel to message A, then I get an error:

" Visual Studio 2010报表设计器不支持报表定义语言(RDL)的版本。如果我单击EDIT链接,它将打开xml编辑器,并打开一个窗口并显示"Inconsistent Line Endings。" 你想规范化
结束行吗?  行尾:Windows(CR LF)

"The version of the report definition language (RDL) is not supported by Visual Studio 2010 Report Designer." and if I click the EDIT link it opens the xml editor, and a window opens and says "Inconsistent Line Endings.  Do you want to normalize line endings?   Line ending: Windows (CR LF)

我相信原始的RDLC是在BIS 2005中创建的,因此可以不编辑。 我的项目用.net 2.0编译,但即使我用.net 4.0编译它也存在上述相同的行为。

I believe the original RDLC was created in BIS 2005 and propably not edited since.  My project compiles with .net 2.0 but even if I compile it with .net 4.0 the same behavior described above exists.

如何在不破坏它们的情况下编辑现有的RDLC?

How do I edit my existing RDLCs without breaking them?

谢谢,

Joe A

推荐答案

Opps ...我的帖子有一个更正。

Opps... one correction to my post.

原始的RDLC是在VS 2005中创建的(不是BIS 2005)

The original RDLC was created in VS 2005 (not BIS 2005)

抱歉。

Joe


这篇关于将RDLC转换为2008格式时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆