locked
Crystal Report (.Rpt) file is not opening in visual studio 2017 RRS feed

  • Question

  • User1878568433 posted

    While opening Crystal Report (.rpt) in visual studio 2017 it is not opening .It is showing View and track your downloads.

    I have added all reference but still not working.

    Can You please suggest me what to do.

    Monday, January 28, 2019 12:56 PM

All replies

  • User-1174608757 posted

    Hi sripadasatpathy,

    According to your description,firstly I suggest you check the path C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles  which contains the source file of Crystal Report, then to use Crystal Report in your project you should add codes as below in web.config.

    <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0,Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/>
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <rptBuildProvider>
            <add embedRptInResource="true"/>
          </rptBuildProvider>
          <crystalReportViewer>
            <add key="ResourceUri" value="/crystalreportviewers13"/>
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>

    Last, I suggest you could follow the steps in the link as below to install Crystal Report to vs2017

    https://www.tektutorialshub.com/crystal-reports/crystal-reports-download-for-visual-studio/#Crystal-Reports-Developer-Edition-for-Visual-Studio-Download

    Best Regards

    Wei Zhang

    Tuesday, January 29, 2019 3:06 AM
  • User1878568433 posted

    It is Throwing error in web.config

    Friday, February 1, 2019 9:04 AM
  • User-1174608757 posted

    Hi sripadasatpathy,

    Could you please post the detail about your config file? It will help us to find whether there is something missed in you file. 

    Best Regards

    Wei Zhang

    Friday, February 15, 2019 3:00 AM