<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Custome tool error:  &amp;quot;Code generator 'ReportCodeGenerator' failed in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020335#M2862829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I can create a new project and add a report from my existing project to it.  I am not having any problems with my existing reports.  I can modify them as I need.  My problem is I can not create any new reports, either in the project I am working on, or by createing a new project, unless I create them as a blank report with no data.  As soon as I try and change the data connection of the new report (by using the Add new report wizard, or by right clicking a blank report and selecting Database, Database Expert)  My development environment locks up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2011 15:05:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-14T15:05:08Z</dc:date>
    <item>
      <title>Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaq-p/8020331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After updating to Crystal Reports SP1 for Visual Studio 2010, when I try an create a new crystal report in any project, my visual studio locks up and  I get the following error:&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;Custome tool error:  "Code generator 'ReportCodeGenerator' failed.&lt;/P&gt;&lt;P&gt;  Exception stack = CrystalDecisions.Shared.CrystalReportsException:  Load report failed. ---&amp;gt; System.Runtime.InteropServices.COMException: Report engine not opened.&lt;/P&gt;&lt;P&gt;at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object&amp;amp; DocumentPath, Int32 Options)&lt;/P&gt;&lt;P&gt;at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object&amp;amp; DocumentPath, Int32 Options)&lt;/P&gt;&lt;P&gt;at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentOpened()&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;End of inner exception stack trace&lt;/DEL&gt;&lt;/P&gt;&lt;P&gt;at CystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentOpened()&lt;/P&gt;&lt;P&gt;at CystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)&lt;/P&gt;&lt;P&gt;at CystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)&lt;/P&gt;&lt;P&gt;at CystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)&lt;/P&gt;&lt;P&gt;at CystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)&lt;/P&gt;&lt;P&gt;at CystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"&lt;/P&gt;&lt;P&gt;=========================================================&lt;/P&gt;&lt;P&gt;I've tried uninstalling crystal reports for visual studio 2010 and the runtime for both 32bit and 64bit, and then reinstalling but get the same error.  Development system is sever 2008 sp2 standard edition 64bit, with Visual Studio 2010 Ultimate.  &lt;/P&gt;&lt;P&gt;I'd greatly appreaciate any help, I've been at a work stoppage for the last week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tom Dey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 21:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaq-p/8020331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-13T21:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020332#M2862826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume this is for a project you are trying to upgrade and the project uses embedded reports (strongly typed)?  If so to resolve this error message, complete these steps: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Click an embedded Crystal report in the Solution Explorer. &lt;/P&gt;&lt;P&gt;2. View the 'Properties' dialog box for that report. &lt;/P&gt;&lt;P&gt;3. Change the "VSDesigner" part of the custom build tool property string to "VSShell". &lt;/P&gt;&lt;P&gt;4. Right-click the report and click 'Run Custom Tool' again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively do not use embedded reports, particularly not if this is a web app. Use the .Load method instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ludek &lt;/P&gt;&lt;P&gt;Follow us on Twitter &lt;A href="http://twitter.com/SAPCRNetSup" target="test_blank"&gt;http://twitter.com/SAPCRNetSup&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 21:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020332#M2862826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-13T21:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020333#M2862827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using embeded strongly typed reports, however I can edit the existing ones without any problems.  The error occurs when I try to add a new report to the project.  The development environment locks up at that point, have to end the devenv.exe process at that point with Task Manager.  I've tried creating a new project and adding a report to it and get the same result.  The only way I can create a new crystal report is if I select a blank one.  Then the system locks up if I go and try and change the datasource.  This is a WPF project, no a web solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 22:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020333#M2862827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-13T22:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020334#M2862828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WPF is a good piece of info to have. Are you able to create a new project as per the [WPF|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8] demo - and if so, add one of your reports to that project? (this is just a test...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Umm, btw., just an FYI - this does work - at least on my computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 14:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020334#M2862828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T14:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020335#M2862829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I can create a new project and add a report from my existing project to it.  I am not having any problems with my existing reports.  I can modify them as I need.  My problem is I can not create any new reports, either in the project I am working on, or by createing a new project, unless I create them as a blank report with no data.  As soon as I try and change the data connection of the new report (by using the Add new report wizard, or by right clicking a blank report and selecting Database, Database Expert)  My development environment locks up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 15:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020335#M2862829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T15:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020336#M2862830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a folder called c:\temp and if so are there any XML files in there? If you do rename it to c:\mytemp, if you are using Windows 7 or 2008 then change your environment variables to use c:\MYtemp and c:\myTmp unless you are using the default %users%\temp folders. Don't change them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 16:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020336#M2862830</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2011-07-14T16:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020337#M2862831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weird - I posted the same possible solution before Don, even quoting [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343330333633333337%7D.do] KB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;- Ludek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 17:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020337#M2862831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020338#M2862832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 2008 standard.&lt;/P&gt;&lt;P&gt;User variables are &lt;/P&gt;&lt;P&gt;TEMP %USERPROFILE%\AppData\Local\Temp&lt;/P&gt;&lt;P&gt;TMP  %USERPROFILE%\AppData\Local\Temp&lt;/P&gt;&lt;P&gt;Sytem Variables are&lt;/P&gt;&lt;P&gt;TEMP C:\Windows\TEMP&lt;/P&gt;&lt;P&gt;TMP  C:\Windows\TEMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a c:\Temp folder that I use, but the newest xml file in it is over 2 years old.  &lt;/P&gt;&lt;P&gt;Changed it to MyTemp, problem solved!! (other than I now have to point a lot of other things &lt;/P&gt;&lt;P&gt;to MyTemp.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to both Don and Ludek for all the help.  This issue was killing my schedule!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 18:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020338#M2862832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-14T18:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custome tool error:  "Code generator 'ReportCodeGenerator' failed</title>
      <link>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020339#M2862833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi T.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great that was the fix. The problem is CR uses those same variables which is what one must do to be Windows Certifiable. The problem is with old OS's the default was c:\temp so everyone simply continues to use it and there are file conflicts if it exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS - don't forget to search first before posting, there have been a lot of discussions and post on known issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 20:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custome-tool-error-quot-code-generator-reportcodegenerator-failed/qaa-p/8020339#M2862833</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2011-07-14T20:51:19Z</dc:date>
    </item>
  </channel>
</rss>

