问题描述
我刚刚从 2008 年迁移到 Visual Studio 2010,我想我在迁移之前没有做足够的研究.我似乎陷入了困境.
I just made the move to Visual Studio 2010 from 2008 and I guess I didn't do enough research before I moved. I seem to have gotten myself in quite a bind.
我知道 Crystal Reports 不再是 2010 的一部分,但可以下载测试版.我跟着 本文档 用于部署.我对本文档的唯一更改是在 bindingRedirect 元素上,我将 newVersion 属性值更改为 10.5.3700.0,因为这是 GAC 中的内容,也是我 2008 年项目清单中的内容.
I knew Crystal Reports was no longer a part of 2010 but the beta was downloadable. I followed this document for deployment. My only change to this document is on the bindingRedirect element I changed the newVersion attribute value to 10.5.3700.0 because that is what is in the GAC and what was in the manifest of my 2008 project.
不幸的是,这不起作用.每当我尝试运行水晶报告时,都会出现异常:
Unfortunately this is not working. Whenever I try to run a crystal report I get the exception :
尝试加载 Crystal Reports 运行时时出错.
An error has occured while attempting to load the Crystal Reports runtime.
水晶报表注册表键权限不足或水晶报表运行时安装不正确.
Either the Crystal Reports registery key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
在这一点上,我认为我将不得不回滚并回到 VS 2008,直到 SAP 推出运行时.我不敢相信没有办法解决这个问题,因为它会破坏这么多包含 Crystal Reports 的项目.
At this point I think I am going to have to roll back and go back to VS 2008 until SAP comes out with a runtime. I can't believe there is not a work around for this as it will break so many projects that have Crystal Reports included in them.
有没有人能够解决这个问题?如果有,怎么做?
Has anyone been able to work around this? If so, how?
推荐答案
从这里下载所需的包,安装它就可以了,Crystal Report 运行时
Download the required package from here, install it and it will work,Crystal Report Runtimes
原链接失效了.这是另一个 (http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp) 从这里所以回答
Original link no longer working. Here is this other one (http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp) from this SO answer
这篇关于Visual Studio 2010 中的水晶报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!