The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' failed
来源:互联网 发布:网络客服的职责 编辑:程序博客网 时间:2024/05/22 16:54
To solve my eariler problems with Crystal Reports, I upgraded to CR 9. This solved the deployment issue I was having, but caused a new problem on my system.
When using a Crystal Report inside Visual Studio, it automatically created a strong named class to go along with the report. A custom tool is executed that generates this code for each report. However, after the upgrade, any new reports I added to any project failed to generate the class files. I would get an error that said:
"The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' failed."
I figured that the name of the custom tool had probably changed in the new version, but I wasn't able to figure out the new name. I was however curious as to why my old reports were able to continue to build properly, when new ones wouldn't.
Upon closer examination, I noticed that the existing reports in my project had a different custom tool attribute value than the new ones. Changing the custom tool attribute of the new report to match the old reports fixed the problem.
If you are getting this error, but don't have any old reports to look at, try changing the Custom Tool attribute to: 'CrystalDecisions.VSShell.CodeGen.ReportCodeGenerator'. This fixed the problem for me and hopefully will for you too.
- The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' failed
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- Custom tool error Failed to generate code
- Add a custom tool to the web mapping application
- Android Studio 报错“Gradle sync failed: Declaring custom 'clean' task when using the standard Gradle ”
- mt2503 用Dct tool打开codegen.dws提示版本 不match
- Sqoop ERROR tool.ImportTool: Imported Failed: There is no column found in the target table
- The tool recommending -- NewSID
- about the Ant tool
- The dumpcpp Tool (ActiveQt)
- ERROR tool.ImportTool: Import failed: java.io.IOException: Hive does not support the SQL type for co
- 创建带 Custom Tool Part的Web Part
- Creating Custom Explorer Bars, Tool Bands, and Desk Bands
- Dynamics CRM2015 Custom Code Validation Tool工具的使用
- Using the Server Custom Actions
- ASP.NET: The Custom RequestValidator
- MemSQL Architecture - The Fast (MVCC, InMem, LockFree, CodeGen) And Familiar (SQL)
- Android Asset Packaging Tool Failed解决方法
- CSDN blog的一个bug
- JDBC驱动汇总——来自CSDN
- 40种网页常用小技巧(javascript)
- The Client hold the Interface
- 家乡名人
- The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' failed
- Mutex
- 第一个汇编程序,失败……
- VS.NET 2003 Plugin: Auto Version Increment
- The Producer-Consumer Problem
- 这是一本不错的入门书籍
- 一些废话
- 对文本文件操作很好的类
- 作息时间表 (2004.9 ~ 2005.1)