C:\Windows\assembly\ (for 32-bit apps on 64-bit Windows, check C:\Windows\Microsoft.NET\assembly\ as well).
<runtime> <assemblyBinding> <dependentAssembly> <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-13.0.3500.0" newVersion="13.0.3500.0" /> </dependentAssembly> </assemblyBinding> </runtime> Cause: Database connection information is missing or incorrect after upgrading runtime. Crystal Report Runtime Version 13.0.35 Download
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> </startup> Fix: Uninstall any existing Crystal Runtime Engine using Microsoft’s msizap tool or standard uninstaller, then reboot before installing 13.0.35. 32-bit vs 64-bit: Which One Should You Download? This is a critical decision. check C:\Windows\Microsoft.NET\assembly\ as well). <
ReportDocument report = new ReportDocument(); report.Load("report.rpt"); report.SetDatabaseLogon("username", "password", "server", "database"); Cause: Older Crystal runtime components require legacy CAS policy. supportedRuntime version="v4.0" sku=".NETFramework
C:\Windows\assembly\ (for 32-bit apps on 64-bit Windows, check C:\Windows\Microsoft.NET\assembly\ as well).
<runtime> <assemblyBinding> <dependentAssembly> <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-13.0.3500.0" newVersion="13.0.3500.0" /> </dependentAssembly> </assemblyBinding> </runtime> Cause: Database connection information is missing or incorrect after upgrading runtime.
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> </startup> Fix: Uninstall any existing Crystal Runtime Engine using Microsoft’s msizap tool or standard uninstaller, then reboot before installing 13.0.35. 32-bit vs 64-bit: Which One Should You Download? This is a critical decision.
ReportDocument report = new ReportDocument(); report.Load("report.rpt"); report.SetDatabaseLogon("username", "password", "server", "database"); Cause: Older Crystal runtime components require legacy CAS policy.