Skip to Content

Crystal Reports will not show up in Visual Studio 2017

This used to be working. I had VS 2017 Professional and Crystal Reports was integrated in it. My MSDN license changed and I uninstalled VS 2017 Pro and instead installed VS 2017 Enterprise.

Now I can no longer edit existing RPT files. Double clicking them brings up a hex editor. Right click and select Run Custom Tool reports back an error Cannot find custom tool 'CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator' on this system. So I reran the file CRforVS_13_0_23.exe which was my original installation. This did not help. Next I ran it again but selected to REMOVE components rather than reinstall. Then I went to Control Panel -> Apps and found two installations for Crystal Reports there (32 & 64 bit). I removed both. Finally I reran the same installation file. Still no luck. Crystal is installed on my machine but does not show up in Visual Studio.

What can I do here?

[Edit]
I have been fighting this for a week. So much lost productivity. Can anyone help?

Since the OP, I have gotten closer. I:

  • Navigated to C:\Users\myuser\AppData\Local\Microsoft\VisualStudio\15.0_checksum
    where myuser is my own profile, and checksum is the directory updated most recently
  • Loaded the privateregistry.bin file into Regedit as a new hive
  • Opened the 15.0_Config\Generators area for the following keys:
    {164B10B9-B200-11D0-8C61-00A0C91E29D5}
    {FAE04EC1-301F-11D3-BF4B-00C04F79EFBC}
  • Added new keys inside these for .rpt and .rptr with the default value set to CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator
  • Added a CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator key with the following data:
    Default: Crystal Reports Code Generator for RPT
    CLSID: {C01CB74B-0037-4F97-99CD-83B18767E138}
    GeneratesDesignTimeSource: 1

Now when I right click and select run custom tool I do not get an error. Visual Studio spins and thinks and does nothing. This is oddly the same behavior as all my coworkers where this is working. Double clicking the file still starts a HEX editor though.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 24, 2019 at 05:13 PM

    Make sure you right click on the EXE and select Run As Administrator

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2019 at 10:01 PM

    When you uninstalled VS and reinstalled you need to reinstall CR for VS so it gets integrated back into VS.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.