水晶报表不工作在Visual Studio 2010 [英] Crystal Reports are not working in Visual Studio 2010

查看:189
本文介绍了水晶报表不工作在Visual Studio 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我执行水晶报表它给出了一个错误 无法加载文件或程序集crdb_adoplus,版本= 9.1.5000.0,文化=中性公钥= 692fbea5521e1304或它的某一个依赖。强名称验证失败。 (从HRESULT异常:0x8013141A)

解决方案
  1. 把这个code在你的app.config

     <启动useLegacyV2RuntimeActivati​​onPolicy =真正的>
        < supportedRuntime版本=4.0版的SKU =NETFramework,版本= V4.2/>
    < /启动>
     

  2. 如果它不会工作,那么从这个链接的http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_1.msi

  3. 如果再次水晶报表产生一些问题,然后用鼠标右键单击您的项目,打开属性,打开调试选项卡,并选中选项启用非托管的code调试。

When i execute crystal report it gives an error Could 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)

解决方案

  1. Place this code in your app.config

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

  2. 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

  3. 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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