The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' failed

原创 2004年10月13日 10:32:00

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.

 

Custom tool error Failed to generate code

1. Problem Visual Studio 2010. Custom tool error Failed to generate code 2. Solution Our project ...
  • Derek_Zhang_
  • Derek_Zhang_
  • 2014年03月13日 18:32
  • 638

SVN安装过程出现“Custom action InstallWMISchemaExecute failed:服务不存在,或已被标记为删除”

svn错误,求解!
  • u013047824
  • u013047824
  • 2015年05月17日 20:57
  • 5606

MyEclipse hibernate Use custom templates 总结

MyEclipse hibernate Use custom templates 总结首先,在MyEclipse安装目录        myeclipse/eclipse/plugins/com.ge...
  • novelly
  • novelly
  • 2009年08月14日 16:31
  • 3705

ios 打包遇到symbols tool failed的问题解决

之前一直没有遇到这个问题,昨天突然就发生了,网上找了一下,然后确定了是第三方库的问题,一般也就是添加方式不对按照方法,先把第三方库删除掉,在工程内部新建New Group,再把第三方库导进去,然后在A...
  • HurryUpCheng
  • HurryUpCheng
  • 2017年11月07日 10:16
  • 296

今天安装VisualSVN 不小心删掉了安装目录,再次安装 修改 移除提示UninstallWMISchemaExecute (0x8004401e) when updating VisualSV

参考资料: UninstallWMISchemaExecute (0x8004401e) when updating VisualSVN on Windows XP 7. May 2012 by ...
  • studyvcmfc
  • studyvcmfc
  • 2013年02月03日 23:34
  • 5899

Qt中moc详解

原文出自http://devbean.blog.51cto.com/448512/355100
  • hulifangjiayou
  • hulifangjiayou
  • 2014年11月13日 21:32
  • 729

valgrind 安装使用 failed to start tool 'memcheck' for platform 'amd64-linux'

valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': No such file or directory #w...
  • gllg1314
  • gllg1314
  • 2017年12月11日 14:17
  • 91

Valgrind:failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory

引文: Valgrind安装与使用 Ubuntu下添加环境变量方法 问题 通过./configure –prefix=/where/you/want/to/install将Valgrind安装到自己...
  • parker1234
  • parker1234
  • 2015年12月03日 10:34
  • 2719

svn服务器搭建和使用:Custom action GenerateSSLKey failed: Command terminated with non-zero exit code

安装VisualSVN-Server的时候next提示:Custom action GenerateSSLKey failed: Command terminated with non-zero e...
  • OnInit
  • OnInit
  • 2013年08月23日 19:25
  • 4850

SVN服务器端安装过程出现“Custom action InstallWMISchemaExecute failed:无法启动服务,原因可能是已被禁用或与其相关联的设备没有启动。”

今天在Windows操作系统中安装SVN服务器端软件的过程中出现了“Custom action InstallWMISchemaExecute failed:无法启动服务,原因可能是已被禁用或与其相关...
  • wangshuxuncom
  • wangshuxuncom
  • 2015年12月03日 21:57
  • 3297
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:The custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' failed
举报原因:
原因补充:

(最多只允许输入30个字)