How to integrate SAP Crystal Reports in Visual Stu

2019-01-21 11:06发布

Is it possible to use the report designer in the current release of Visual Studio 2017?

The SAP crystal report wiki for visual studio integration only states: "RC build currently not supported - Tested opening existing app and it works".

I have installed the latest developer SDK (Support Pack 19 v.13.0.19.2312), but when I try to open an existing report (.rpt), i got the following message:

visual studio sap crystal report error message


EDIT (2018/02/28)

By the time of asking this question I had installed SP19 on my machine. The current version which should resolve all my issues is SP22, which was released at 2018/01/11. All necessary information and download links are still available in the SAP crystal report wiki.

12条回答
混吃等死
2楼-- · 2019-01-21 11:32

Please wait Support Pack 21 in September 2017

UPDATE: More info

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

VS 2017 - Tested opening existing app and it works, CR for VS is not integrated into the app so no new CR projects available- should be fully integrated in SP 21

About release

Link: https://answers.sap.com/questions/168439/crystal-report-for-vs-2017.html

Moderator Don Williams said:

Not supported yet, I tried to get it into SP 20 but due to time constraints DEV can't get it into VS until SP 21, due out in September time...
查看更多
倾城 Initia
3楼-- · 2019-01-21 11:34

To integrate SAP Crystal Reports with Visual Studio 2017 below steps needs to be followed right:

  • Uninstall all installed components from system related to Crystal Report. [If any]
  • Install compatible Crystal Report Developer Edition (as per target VS) with administrator priviledge. [As of writing, latest compatible service pack is 23]
    • Install appropriate Crystal Report Runtime (x86/ x64) for Visual Studio. [Not mandatory]
  • Open solution in VS and remove all assembly references from project related to Crystal Report. [If any]
  • Include following assembly references in project:
    • CrystalDecisions.CrystalReports.Engine
    • CrystalDecisions.ReportSource
    • CrystalDecisions.Shared
    • CrystalDecisions.CrystalReports.Design
    • CrystalDecisions.VSDesigner
  • Make sure "Copy Local" property is set to "True" in reference properties.
  • Build/ Rebuild project.
查看更多
Summer. ? 凉城
4楼-- · 2019-01-21 11:37

This error occurs because at the end of the installation of Crystal Reports SP21 for Visual Studio 2017, the following screen appears:

enter image description here

Do not check to install in runtime, this default to come marked to me is wrong. Install only Crystal Reports SP21 for Visual Studio 2017.

查看更多
The star\"
5楼-- · 2019-01-21 11:37

I post an answer because I can't comment but I followed @DrCJones steps. I installed the new Crystal Reports SP21 for Visual Studio 2017 with an older version running on my Windows 10. Installer warned me that it detected an older version and that it will overwrite it. Installation were through but I had the following message when I tried to open a project with reports in VS2017:

The Crystal Reports Tools Package did not load correctly

I couldn't edit reports either. So, I manually uninstalled CR Runtime Engine & CR for VS, then reinstalled SP21, finally rebooted.

Now it works :)

查看更多
你好瞎i
6楼-- · 2019-01-21 11:38

Visual Studio 2017 is supported in Crystal Reports SP 21, which is available for download as of 1 Sep 2017.

查看更多
Animai°情兽
7楼-- · 2019-01-21 11:44

I had a workaround for this problem. I created dll project with viewer in vs2015 and used this dll in vs2017. Report showing perfectly.

查看更多
登录 后发表回答