CS0433: The type #39;CrystalDecisions.Web.CrystalReportViewer#39; exists in both(CS0433:“CrystalDecisions.Web.CrystalReportViewer类型存在于两者中)
问题描述
运行水晶报表时出现以下错误
I am getting the following error while running crystal report
CS0433:CrystalDecisions.Web.CrystalReportViewer"类型存在于两个都'c:windowsassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll'和 'c:windowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET文件 ootf8ac550cd919c1f5assemblydl321892670 02d6cd3_f2bfc501CrystalDecisions.Web.DLL
CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:windowsassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll' and 'c:windowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files ootf8ac550cd919c1f5assemblydl321892670 02d6cd3_f2bfc501CrystalDecisions.Web.DLL
从框架 2.0 转换到 3.5 后出现上述错误.如果我正在创建新的 Web 应用程序,我不会收到任何错误.我只收到转换后的应用程序的错误.
I am getting the above error after converting from framework 2.0 to 3.5. If I am creating new web application, I am not getting any error. I am getting error only for the converted application.
推荐答案
最后我找到了..问题是,在 bin 文件夹中有版本 10.2.51014.0 的 CrystalDecisions.Web.dll,而我正在添加参考我正在添加 10.5.3700.0.所以我已经从 bin 文件夹中删除了 dll..现在它工作正常..
Atlast I found.. The Problem is, In bin folder there is CrystalDecisions.Web.dll of version 10.2.51014.0 while i am adding reference i am adding 10.5.3700.0. So i have deleted dll from bin folder..Now Its working fine..
谢谢
这篇关于CS0433:“CrystalDecisions.Web.CrystalReportViewer"类型存在于两者中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:CS0433:“CrystalDecisions.Web.CrystalReportViewer"类型存在于两者中


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