报错:未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?)

zhangyuehua123 2011-05-25 09:59:46
我在网上下载了别人的一个工程文件,运行时候报错如下:

错误 1 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 14 11 HotelManager
错误 2 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 14 11 HotelManager
错误 3 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 15 11 HotelManager
错误 4 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 15 11 HotelManager
错误 5 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 16 11 HotelManager
错误 6 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 16 11 HotelManager
错误 7 未能找到类型或命名空间名称“ReportClass”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 19 35 HotelManager
错误 8 未能找到类型或命名空间名称“ReportClass”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 19 39 HotelManager
错误 9 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 35 16 HotelManager
错误 10 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 35 16 HotelManager
错误 11 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 43 16 HotelManager
错误 12 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 43 16 HotelManager
错误 13 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 51 16 HotelManager
错误 14 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 51 16 HotelManager
错误 15 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 59 16 HotelManager
错误 16 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 59 16 HotelManager
错误 17 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 67 16 HotelManager
错误 18 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 67 16 HotelManager
错误 19 未能找到类型或命名空间名称“ICachedReport”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 75 52 HotelManager
错误 20 未能找到类型或命名空间名称“ICachedReport”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 75 56 HotelManager
错误 21 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\InfoForm.Designer.cs 78 17 HotelManager
错误 22 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 113 24 HotelManager
错误 23 未能找到类型或命名空间名称“CrystalDecisions”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 113 24 HotelManager
错误 24 未能找到类型或命名空间名称“RequestContext”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\HotelCrystalReport.cs 119 53 HotelManager
错误 25 未能找到类型或命名空间名称“RequestContext”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\CrystalReport1.cs 119 53 HotelManager
错误 26 未能找到类型或命名空间名称“Sunisoft”(是否缺少 using 指令或程序集引用?) C:\Documents and Settings\Administrator\桌面\新建文件夹\2011_5_14--Hotel管理系统--CSharp--没通过\Hotel\HotelManager\LoginForm.Designer.cs 138 17 HotelManager
警告 27 未能解析此引用。未能找到程序集“CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 28 未能解析此引用。未能找到程序集“CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 29 未能解析此引用。未能找到程序集“CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 30 未能解析此引用。未能找到程序集“CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 31 未能解析此引用。未能找到程序集“CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 32 未能解析此引用。未能找到程序集“CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 33 未能解析此引用。未能找到程序集“IrisSkin2”。请检查磁盘上是否存在该程序集。 如果您的代码需要此引用,则可能出现编译错误。 HotelManager
警告 34 未能找到引用的组件“CrystalDecisions.CrystalReports.Engine”。
警告 35 未能找到引用的组件“CrystalDecisions.Enterprise.Framework”。
警告 36 未能找到引用的组件“CrystalDecisions.Enterprise.InfoStore”。
警告 37 未能找到引用的组件“CrystalDecisions.ReportSource”。
警告 38 未能找到引用的组件“CrystalDecisions.Shared”。
警告 39 未能找到引用的组件“CrystalDecisions.Windows.Forms”。
警告 40 未能找到引用的组件“IrisSkin2”。


有搜搜,说是引用的版本有问题。但是又苦苦纠结于改如何修改是好。
请各位高手指教!多谢!
...全文
9874 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
CKPARK12 2013-05-26
  • 打赏
  • 举报
回复
我的问题和楼上一样 重新添加了引用 程序还是不能运行。。出现一堆“没找到合适方法来重写” 求解啊
xiaodaxun 2013-05-20
  • 打赏
  • 举报
回复

水晶报表的相关组件删除重新添加了引用 可程序还是不能运行。。出现一堆“没找到合适方法来重写”求解
walkergo 2012-09-14
  • 打赏
  • 举报
回复
把.net frame work 4 Client Profile改为.net frame work 4就可以了。
莫爱多情 2012-06-08
  • 打赏
  • 举报
回复
http://download.csdn.net/download/dongzi87/2902271 免费下载地址
hi_xiaohuo 2012-02-28
  • 打赏
  • 举报
回复
组件怎么使用呀?
ivanxdg 2012-01-09
  • 打赏
  • 举报
回复
引用里面
yao1075 2011-10-08
  • 打赏
  • 举报
回复
[Quote=引用 10 楼 zhangyuehua123 的回复:]

错了:http://download.csdn.net/source/3310947
[/Quote]
怎么用?放在哪?
zhangyuehua123 2011-08-12
  • 打赏
  • 举报
回复
zhangyuehua123 2011-08-12
  • 打赏
  • 举报
回复
组建下载地址:http://bbs.csdn.net/
山东蓝鸟贵薪 2011-08-03
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 zhangyuehua123 的回复:]
问题解决了:
(1)下载缺少组件;
(2)删除引用;
(3)添加引用;

ok!
[/Quote]
是什么“组件”呀
我也出这个问题了如帖子:
http://topic.csdn.net/u/20110730/13/d08ab265-766f-46f8-9228-8dd7878ecaf8.html
seamanseeky 2011-06-20
  • 打赏
  • 举报
回复
楼主给个组件下载地址吧。。。我也出现这个问题了。。。
zhangyuehua123 2011-05-25
  • 打赏
  • 举报
回复
谢谢 caozhy wxr0323 !
zhangyuehua123 2011-05-25
  • 打赏
  • 举报
回复
问题解决了:
(1)下载缺少组件;
(2)删除引用;
(3)添加引用;

ok!
zhangyuehua123 2011-05-25
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 wxr0323 的回复:]

VS没有安装crystal report for vs.net吧?

能找到CrystalDecisions.CrystalReports这个引用吗?
[/Quote]

没找到……是否有现成的下载?
threenewbee 2011-05-25
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 wxr0323 的回复:]
VS没有安装crystal report for vs.net吧?

能找到CrystalDecisions.CrystalReports这个引用吗?
[/Quote]
还有个 IrisSkin2,换皮肤的。
子夜__ 2011-05-25
  • 打赏
  • 举报
回复
VS没有安装crystal report for vs.net吧?

能找到CrystalDecisions.CrystalReports这个引用吗?
threenewbee 2011-05-25
  • 打赏
  • 举报
回复
难道说你是反编译来的?删除引用,重新引用。

或者缺少一些组件.

17,748

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧