This is a migrated thread and some comments may be shown as answers.

Trying to add the Crystal converter

1 Answer 391 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
Eric Moreau asked on 13 Nov 2018, 04:42 PM

Hi

I am trying to add the converter for Crystal Reports in the stand alone designer. I have trier to follow the instructions from  https://www.telerik.com/support/kb/reporting/details/converting-reports-from-various-versions-of-crystalreports but can't get it to work.

I have edited both Telerik.ReportDesigner.x86.exe.config and Telerik.ReportDesigner.exe.config as shown here below but after the config is saved, the designer application just does not start. If I comment out the new sections, the designer app starts correctly. What am I doing incorrectly? 

<?xml version ="1.0"?>
<configuration>
<configSections>
<section
name="Telerik.Reporting"
type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
allowLocation="true"
allowDefinition="Everywhere"/>

    <section
        name="Telerik.ReportDesigner"
        type="Telerik.ReportDesigner.Configuration.ReportDesignerConfigurationSection, Telerik.ReportDesigner.Configuration"
        allowLocation="true"
        allowDefinition="Everywhere"/>    
</configSections>

<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <!--
      <probing privatePath="path-to-the-assemblies"/>
      -->
      <dependentAssembly>
        <!-- Required for interoperability with older versions of Telerik Reporting -->
        <assemblyIdentity name="Telerik.Reporting" culture="neutral" publicKeyToken="a9d7983dfcc261be"/>
        <bindingRedirect oldVersion="0.0.0.0-12.2.18.1017" newVersion="12.2.18.1017"/>
      </dependentAssembly>
  
  
  <dependentAssembly>   
        <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine"publicKeyToken="692fbea5521e1304"culture="neutral"/>   
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0.3500.0"/>   
      </dependentAssembly>   
      <dependentAssembly>   
        <assemblyIdentity name="CrystalDecisions.Enterprise.Framework"publicKeyToken="692fbea5521e1304"culture="neutral"/>   
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0.3500.0"/>   
      </dependentAssembly>   
      <dependentAssembly>   
        <assemblyIdentity name="CrystalDecisions.Enterprise.InfoStore"publicKeyToken="692fbea5521e1304"culture="neutral"/>   
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0.3500.0"/>   
      </dependentAssembly>   
      <dependentAssembly>   
        <assemblyIdentity name="CrystalDecisions.Shared"publicKeyToken="692fbea5521e1304"culture="neutral"/>   
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0.3500.0"/>   
      </dependentAssembly> 
  
  
    </assemblyBinding>
  </runtime>

  <connectionStrings>
    <add name="Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"
        connectionString="Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=SSPI"
        providerName="System.Data.SqlClient" />
  </connectionStrings>
  
  <Telerik.ReportDesigner DefaultWorkingDir="Examples">
  </Telerik.ReportDesigner>

<!-- Add assembly references -->
<!--
<Telerik.Reporting>
<AssemblyReferences>
<add name="MyFunctions" version="1.0.0.0" />
</AssemblyReferences>
</Telerik.Reporting>
-->

<!--  
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\Temp\Telerik.ReportDesigner.log" />
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>
-->
</configuration>

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 16 Nov 2018, 01:01 PM
Hi Eric,

From the provided information, my assumption is that you are trying to add binding redirects into the Standalone Report Designer's configuration file. Generally, to convert reports, you should use the Visual Studio Report Designer, which contains Import Report Wizard. Thus when previewing a report the report constructor is executed in the context of the Visual Studio application and all the configuration settings are obtained from the Visual Studio's devenv.exe.config file.

Based on the following help articles I will elaborate more on how to convert Crystal Reports to Telerik Reports:
Telerik Reporting supports two types of Crystal Reports conversion:
1. CrystalReports10 Converter: It is built against version 10.2.3600.0 of CrystalReports and it does not require any additional steps but any other newer versions will require binding redirections.
2.  CrystalReports13 Converter: As from R2 2018 (12.1.18.516) release, we've introduced new dedicated tool that converts Crystal Reports created with version 13.0.20.2399 (Crystal Reports for Visual Studio 2010) or newer to Telerik Reports. The same goes for that converter - any other newer versions will require binding redirections.

For Crystal Reports build against 13.02 version, you should use CrystalReports13 Converteand have something like the following (where newVersion is the full version of Crystal Reports that you are using):
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentityname="CrystalDecisions.CrystalReports.Engine"publicKeyToken="692fbea5521e1304"culture="neutral"/>
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0..."/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentityname="CrystalDecisions.Enterprise.Framework"publicKeyToken="692fbea5521e1304"culture="neutral"/>
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0..."/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentityname="CrystalDecisions.Enterprise.InfoStore"publicKeyToken="692fbea5521e1304"culture="neutral"/>
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0..."/>
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentityname="CrystalDecisions.Shared"publicKeyToken="692fbea5521e1304"culture="neutral"/>
        <bindingRedirect oldVersion="13.0.20.2399"newVersion="13.0..."/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

Check the version of Crystal Reports you have installed in the machine's GAC and add the binding redirects in the corresponding Visual Studio devenv.exe.config file.

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Silviya
Telerik team
Share this question
or