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"类型存在于两者中


基础教程推荐
- SSE 浮点算术是否可重现? 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30