Crystal Reports 在 Visual Studio 2010 中不起作用 [英] Crystal Reports are not working in Visual Studio 2010

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

问题描述

当我执行水晶报告时,它给出了一个错误无法加载文件或程序集 'crdb_adoplus, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 或其依赖项之一.强名称验证失败.(HRESULT 异常:0x8013141A)

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. 将此代码放在您的 app.config 中

  1. Place this code in your app.config

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

  • 如果它不起作用,请从此链接下载 Crystal Report Runtime http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_1.msi

    如果 Crystal Report 再次出现问题,请右键单击您的项目,打开属性",打开调试"选项卡并选中启用非托管代码调试"选项.

    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.

    这篇关于Crystal Reports 在 Visual Studio 2010 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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