从visual studio 2008迁移到2012 [英] Migrating from visual studio 2008 to 2012

查看:94
本文介绍了从visual studio 2008迁移到2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everybody,

最近我将我在Visual Studio 2008中开发的应用程序迁移到了Visual Studio 2012.我在应用程序中使用了水晶报表。为此,我安装了支持的SAP Crystal Reports 2013版本。现在,我的应用程序正常运行,但每当我生成报告时,它都会显示无法加载数据库信息。文件temp_ {GUID} .rpt中的错误。我不明白我是否遗漏了什么。我访问了这个社区的所有相关解决方案,但没有一个帮助我。所以,我发布这个问题,如果有人可以帮助我。我的项目从2008年成功迁移到2012年。



我尝试过:



我在这里尝试了所有相关链接。有人说要重新打开项目中的水晶报告文件并保存。它将自动升级。

Hello Everybody,
Recently I migrated my application developed in Visual Studio 2008 to Visual Studio 2012. I am using crystal reports in the application. For this, I have installed the supported version of SAP Crystal Reports 2013. Now, My application is running properly but whenever I generate reports it shows "Failed to load database information. Error in File temp_{GUID}.rpt". I don't understand if I am missing anything. I have visited all the related solutions in this community but none of them helped me. So, I am posting this question, if anyone can help me. My project is successfully migrated from 2008 to 2012.

What I have tried:

I have tried all the related links here. Some said to reopen the crystal reports files in the project and save it. It will automatically upgrade.

推荐答案

解决了问题。我想这可能对某人有所帮助。实际上问题在于将应用程序与水晶报告(SAP)集成在一起的配置。我做的是:





添加< startup> < configuration>下的代码下面的代码app.config文件中的元素。



< startup useLegacyV2RuntimeActivationPolicy =true>





这个帮助我的应用程序成功运行。

useLegacyV2RuntimeActivationPolicy =true
Problem Solved. I guess it might help someone. Actually the problem is in the configuration which integrates the application with crystal reports(SAP). What I did is :


Added the <startup> code below code under the <configuration> element in your app.config file.

<startup useLegacyV2RuntimeActivationPolicy="true">


This one helped my application to run successfully.
useLegacyV2RuntimeActivationPolicy="true"


这篇关于从visual studio 2008迁移到2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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