简体   繁体   中英

Crystal Report for Visual studio 2017 crashes out on “setdatasource” property of the report

I just installed visual studio 2017 and Crystal Report sp22. I noticed that all my old reports which I created in visual studio 2015 have stopped working.

I tried to step over the code and noticed that at the line where the DataSource is set (setdatasource) the project will crash.

Can someone advice me on what to do?

Has finally fixed it after 2 weeks of error. I enabled the common language runtime and GPU memory access exception, on exception settings From there i noticed that the crystal report file "crdb_adoplus" was not upgraded to the current version. I copied the most current from "C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86" and replaced the one i have in the project.

除了通过添加<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>更新配置文件之外,您还必须删除所有从应用程序文件夹中的旧dll文件升级到新文件之前。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM