Skip to Content

Crystal report for Visual studio 2017

Now I have installed Crystal report for VS2017 (CRforVS_13_0_21) , but I have Projects in VS2015 too and they does not function now - nothing happens when I try to write a report from VS2015.

Is Crystal report for VS2017 not working with VS2015?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 27, 2017 at 06:11 PM

    You cannot have more than one version of the runtime on a single PC at the same time.

    Don

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2017 at 07:31 AM

    Then I hope it will be possible in the future.

    I hope it is no problem for the client to have several versions. It would be better with no runtime on the client... we have many customers.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2017 at 02:07 PM

    No, we can't have multiple versions of the CR for VS on the same PC. Too many COM dll's.

    Biggest issue with SP 21 is the new dependencies on VC 2015 runtime and 3.5 framework.

    See the attached file on the download page, it may help the other version to run.

    Don

    Add comment
    10|10000 characters needed characters exceeded

    • Mr. Don,

      I have a problem with VS2017 upgrade from VS2013 and my project does not run now. Can you please help?

      I got this runtime error. So far: 1. I downloaded SP23 for CR. I have updated my laptop computer with CR Runtime .NET Framework (64-bit) and CR for Microsoft Visual Studio 2017.

      2. Opened my vs2013 solution(application) in VS2017 (migrated with no errors). Then I changed my web.config file to point to the newer version of CR version 13.0.3500.0 (previously it was 13.0.2000.0). Also I have changed everywhere in the application to the new version. Do I need to change the public key or anything else? <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

      3. Made changes to point to 4.7.1 framework. Also I changed to 4.6 framework, it did not help. <httpRuntime targetFramework="4.7.1" />

      4. Target CPU is x64. The program compiles fine with no error but while trying to run it, I get the error. Please help!!! Thank you.

      Server Error in '/' Application.

      Could not load file or assembly 'EtplWA' or one of its dependencies. An attempt was made to load a program with an incorrect format.

      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

      Exception Details: System.BadImageFormatException: Could not load file or assembly 'EtplWA' or one of its dependencies. An attempt was made to load a program with an incorrect format.

      Source Error:

      An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


      Assembly Load Trace: The following information can be helpful to determine why the assembly 'EtplWA' could not be loaded.

      WRN: Assembly binding logging is turned OFF.
      To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
      Note: There is some performance penalty associated with assembly bind failure logging.
      To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
      


      Stack Trace:

      [BadImageFormatException: Could not load file or assembly 'EtplWA' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
         System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
         System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +36
         System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
         System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77
         System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +21
         System.Reflection.Assembly.Load(String assemblyString) +28
         System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38
      
      [ConfigurationErrorsException: Could not load file or assembly 'EtplWA' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
         System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +738
         System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +217
         System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
         System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +170
         System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +92
         System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +290
         System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
         System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +549
      
      [HttpException (0x80004005): Could not load file or assembly 'EtplWA' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
         System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10075596
         System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
         System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
      


      Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0

  • Nov 01, 2018 at 04:44 PM

    Hi JS,

    Please post as a new question, has nothing to to with side by side install.

    I'll delete your update soon....

    Add comment
    10|10000 characters needed characters exceeded