简体   繁体   English

水晶报表 Visual Studio 2012

[英]Crystal Reports Visual Studio 2012

I have created a windows Form application in Visual Studio 2008 and now I have Installed Visual Studio 2012. But my crystal Reporting is not working After searching.net for days on the inte.net I have Done following things but still my Application is not working.我已经在 Visual Studio 2008 中创建了一个 windows Form 应用程序,现在我已经安装了 Visual Studio 2012。但是我的 crystal Reporting 不工作 在 inte.net 上搜索.net 几天后,我已经完成了以下操作,但我的应用程序仍然无法工作.

  1. I have changed my target framework from do.net3.5 to do.net4.我已将目标框架从 do.net3.5 更改为 do.net4。
  2. I Installed SAP crystal reports for Studio 2012 and included the reference of CrystalDecisions.Data.AdoDotNetInterop我为 Studio 2012 安装了 SAP crystal reports 并包含了CrystalDecisions.Data.AdoDotNetInterop的参考

    but After that I got following Error但在那之后我得到了以下错误

    The type or namespace name 'CrystalReports' does not exist in the namespace 'CrystalDecisions' (are you missing an assembly reference?) The type or namespace name 'ReportSource' does not exist in the namespace 'CrystalDecisions' (are you missing an assembly reference?)命名空间“CrystalDecisions”中不存在类型或命名空间名称“CrystalReports”(是否缺少程序集引用?)命名空间“CrystalDecisions”中不存在类型或命名空间名称“ReportSource”(是否缺少程序集引用?)

and 26 other errors as well all of them are about missing a using directive or an assembly reference和其他 26 个错误,所有这些错误都与缺少 using 指令或程序集引用有关
3. After that I commented out my old references than I got Following Errors 3. 之后我注释掉了我的旧参考文献,然后我得到了 Following Errors

The type or namespace name ReportClass could not be found (are you missing a using directive or an assembly reference?)

And 24 other Errors all are about missing a using directive or an assembly reference.其他 24 个错误都是关于缺少 using 指令或程序集引用。

Thanks in advance for any help.在此先感谢您的帮助。

Seems like vs 2012 doesnt found references Try manually go to solution explorer in (usually right side in vs) right click in refereces in your project and find crystal report in list for Assemblies->Solution or Assemblies ->Extensions select references thus add it to project 好像vs 2012找不到参考尝试手动转到解决方案资源管理器(通常在vs右侧),在项目中的参考上单击鼠标右键,然后在“组合件”->“解决方案”或“组合件”->“扩展名”列表中找到水晶报表,将其添加到引用中项目

Or try this link or link 或者尝试此链接链接

Download it from https://www.dllme.com/getfile.php?file=14667&id=2782e6dde4bb52c4f71bab7c429b4091https://www.dllme.com/getfile.php?file=14667&id=2782e6dde4bb52c4f71bab7c429b4091 下载

And add references by right clikcking on references folder in your visual studio.并通过右键单击 visual studio 中的引用文件夹来添加引用。

Brows it from the downloaded location.从下载的位置浏览它。

It's working for me.它对我有用。 Regards!问候!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2012的Crystal Reports 13.07无法在浏览器中呈现 - Crystal Reports 13.07 for visual studio 2012 not rendering in Browser Visual Studio Crystal报表 - Visual Studio Crystal Reports Visual Studio中的Crystal Reports数据源 - Crystal Reports datasource in Visual Studio Visual Studio 2008中的Crystal Reports - Crystal Reports in Visual Studio 2008 C#:如何在Visual Studio 2012中将诸如标签或文本框值之类的文本从窗体发送到Crystal报表? - C#: How to send text like label or textbox value from form to crystal reports in visual studio 2012? 是否可以在 Visual Studio 2012(winform 或 WPF 应用程序)的水晶报表中实现 CSS 类? - Is it possible to implement a CSS class in crystal reports for Visual Studio 2012 (winform or WPF application)? 在Crystal Reports中动态更改数据库类型,源等(对于Visual Studio 2012) - Dynamically change database type, source etc in Crystal Reports (for Visual Studio 2012) Visual Studio 2010中的Crystal Reports DAO错误 - Crystal Reports in Visual Studio 2010 dao error Visual Studio 2008中缺少Crystal Reports模板 - Crystal Reports template is missing in Visual Studio 2008 在Visual Studio 2010中的Crystal Reports中打印 - Printing in Crystal Reports in Visual Studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM