[英]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.