BC30560:'CrystalReportViewer'在名称空间'CrystalDecisions.Web'中含糊不清 [英] BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'

查看:219
本文介绍了BC30560:'CrystalReportViewer'在名称空间'CrystalDecisions.Web'中含糊不清的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在部署计算机上遇到以下错误:

I am getting the following error on deployment machine:

编译错误
描述:编译服务此服务所需的资源时出错请求。请查看以下特定错误详细信息并相应地修改源代码。

<强>编译器错误消息:BC30560: '的CrystalReportViewer' 是命名空间中的 'CrystalDecisions.Web' 暧昧

来源错误:

第25行:< / Report>
第26行:< / CR:CrystalReportSource> & nbsp;
第27行:< CR:CrystalReportViewer ID =" crvDocumentDetails" RUNAT = QUOT;服务器"
第28行:ReportSourceID =" crsDocumentDetails"
第29行:AutoDataBind =" true" DisplayGroupTree = QUOT假QUOT; HasToggleGroupTreeButton = QUOT假QUOT; EnableDatabaseLogonPrompt = QUOT假QUOT; EnableDrillDown = QUOT假QUOT; EnableParameterPrompt = QUOT假QUOT; />结果

<强>源文件:C:\inetpub\wwwroot\DLExpress\rptDocumentDetails.aspx行:27

GAC中为"CrystalDecisions.Web",(1)9.1.5000.0和(2)10.2安装了两个版本的Crystal Reports。 3600.0

Two versions of Crystal Reports are installed in GAC for 'CrystalDecisions.Web', (1) 9.1.5000.0 and (2) 10.2.3600.0

我试图用其他版本(9.1.5000.0)卸载程序集,但我不能这样做,因为其他一些应用程序正在引用这个程序集版本。

I have tried to uninstall the assembly with the other version (9.1.5000.0) but I couldn't do so as some other applications are refering to this assembly version.

我确信,使用和提到的在Web.config文件中的CrystalReportViewer verision是相同的,即10.2.3600.0

I have made sure that the CrystalReportViewer verision used and mentioned in Web.Config file are the same i.e. 10.2.3600.0

谁能帮我解决这个问题?

Can anyone please help me to resolve this issue?

谢谢和最好的问候,

Haroon Rahsid

Haroon Rahsid

推荐答案

检查html的aspx页面并确保其中没有与版本9.1相关的标记。
Check the html of the aspx page and make sure there is no tag in there relating to version 9.1.


这篇关于BC30560:'CrystalReportViewer'在名称空间'CrystalDecisions.Web'中含糊不清的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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