简体   繁体   English

无法在Visual Studio 2010中执行Crystal Report

[英]not able to execute crystal report in visual studio 2010

I am working on visual studio 2010..windows form application i am try to create one crystal report.but while executing am getting error like this: 我正在Visual Studio 2010..windows窗体应用程序上工作,我试图创建一个水晶报表。但是在执行时却出现如下错误: 在此处输入图片说明

Then I added crdb_adoplus.dll to my refernce.but then also am getting same erro my Target Frame work is .Net FrameWork 4 然后我将crdb_adoplus.dll添加到我的crdb_adoplus.dll也出现了错误,我的目标框架工作是.Net FrameWork 4

while coming to this line: 来到这行:

rpt.SetDataSource(ds.Tables(0))

then I edited crdb_adoplus.dll this property to unblock and clicked apply..after that am getting error: 然后我编辑了crdb_adoplus.dll此属性以解除阻止,然后单击Apply ..在出现错误之后:

Could not load file or assembly 'crdb_adoplus.dll' or one of its dependencies. The specified module could not be found.":"crdb_adoplus.dll

my self i resolved this issue ,,i changed my app.config file like this: 我自己解决了这个问题,我更改了我的app.config文件,如下所示:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 安装Visual Studio的Crystal报表 - Install crystal report for visual Studio 测试客户端上是否安装了Visual Studio 2010(及更高版本)的Crystal Reports - Test if Crystal Reports for Visual Studio 2010 (and later) is installed on client Visual Studio引发错误:没有可用于的编辑器 <Crystal Report> .rpt - Visual Studio Throws Error: There is no editor available for <Crystal Report>.rpt Visual Studio 2019 和 Winforms 的 Crystal 报告太慢 - Crystal report too slow from Visual Studio 2019 and Winforms 在Visual Studio 2010中找不到DataGridViewComboBoxColumn的“ SelectedIndex”属性 - Not able to find “SelectedIndex” property of DataGridViewComboBoxColumn in Visual Studio 2010 在Visual Studio 2010中找不到添加新数据源选项 - Not able to find Add New Data Source option in Visual studio 2010 Visual Studio Crystal报表 - Visual Studio Crystal Reports 使用报表设计器创建或编辑报表(.rdlc)时,Visual Studio 2010崩溃 - Visual Studio 2010 Crashes when Creating or Editing a Report (.rdlc) with the Report Designer 在Visual Studio 2008中使用Crystal Reports 2008 for winform创建报表的入门? - Getting started with creating a report with Crystal Reports 2008 for winform in Visual Studio 2008? Visual Studio 2010的问题 - problem with Visual Studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM