Crystal Reports are not working in Visual Studio 2010(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)
推荐答案
将此代码放在您的 app.config 中
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 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Crystal Reports 在 Visual Studio 2010 中不起作用


- 是否可以在 .Net 3.5 中进行通用控件? 2022-01-01
- Windows 喜欢在 LINUX 中使用 MONO 进行服务开发? 2022-01-01
- 在 LINQ to SQL 中使用 contains() 2022-01-01
- 在 C# 中异步处理项目队列 2022-01-01
- 带问号的 nvarchar 列结果 2022-01-01
- 使用 rss + c# 2022-01-01
- 为什么 C# 中的堆栈大小正好是 1 MB? 2022-01-01
- CanBeNull和ReSharper-将其用于异步任务? 2022-01-01
- C# 通过连接字符串检索正确的 DbConnection 对象 2022-01-01
- Azure Active Directory 与 MVC,客户端和资源标识同一 2022-01-01