发布网友 发布时间:2022-05-02 19:05
共3个回答
热心网友 时间:2022-06-26 04:15
修改app.config的内容为: 如果没有就新建一个app.config热心网友 时间:2022-06-26 04:16
安装.NET4.0后不会有.Net 2.0版本的组件,应该是水晶报表的某个组件需要调用.Net2.0版本的某个组件,而那个组件的4.0版本跟2.0版本又不兼容引起的,你去把2.0版本的那个组件找出来应该就解决问题了,希望能帮到你……热心网友 时间:2022-06-26 04:16
Visual Studio doesn't have Crystal Reports Components after VS2008, so you have to download it and install it manually to your Visual Studio 2010, and then try to compile again.追答(1) Try to "Rebuild All", if not successful, you need to replace the objects used in your program of .NET 2.0 with .NET 4.0 one by one manually.
(2) Or, downgrade to Visual Studio 2008 and try.
anyhow, crystal report is no longer offically supported by Microsoft, so it'll be troublesome to do the upgrading