Crystal reports error in SetDataSource

对着背影说爱祢 提交于 2019-12-04 02:55:15

Try using this solution by adding the useLegacyV2RuntimeActivationPolicy attribute to your .config file

<startup useLegacyV2RuntimeActivationPolicy="true">
 <startup useLegacyV2RuntimeActivationPolicy="true" >
    <supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0" />
 </startup>

Add this code in app.config.

You probably need to install the crystal reports runtime files. You should be able to do a google search to find them. The error message is pretty explicit in telling you the problem is a missing .dll. Read it ;)

edit: Try locating the crdb_adoplus.dll on your machine and copying it to the application directory.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!