问题描述
当我执行水晶报表它给出了一个错误无法加载文件或程序集crdb_adoplus,版本= 9.1.5000.0,文化=中性公钥= 692fbea5521e1304或它的某一个依赖。强名称验证失败。 (从HRESULT异常:0x8013141A)
-
把这个code在你的app.config
<启动useLegacyV2RuntimeActivationPolicy =真正的> < supportedRuntime版本=4.0版的SKU =NETFramework,版本= V4.2/> < /启动>
-
如果它不会工作,那么从这个链接的
-
如果再次水晶报表产生一些问题,然后用鼠标右键单击您的项目,打开属性,打开调试选项卡,并选中选项启用非托管的code调试。
When i execute crystal report it gives an errorCould not load file or assembly 'crdb_adoplus, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Place this code in your app.config
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.2"/> </startup>
If it would not work then download Crystal Report Runtime from this link http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_1.msi
If again Crystal Report create some problem then right click on your project, open Properties, open Debug tab and check option Enable Unmanaged code debugging.
这篇关于水晶报表不工作在Visual Studio 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!