Book a Demo

Author Topic: Using Crystal Reports  (Read 3736 times)

Tatiana

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Using Crystal Reports
« on: July 31, 2013, 10:27:24 pm »
Hi, I created a add-in on VS2010 .NET 4.0 using Crystal Reports. Every time I set the datasource I receive the message:
Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies.

Looking around I found that I Crystal is compiled in .NET 2.0 and I should add this to my app.config file:

<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>

But that still don't work.

EA version is 9.3.

Any ideas?

Thank you.
« Last Edit: July 31, 2013, 10:27:34 pm by tatiperere »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Using Crystal Reports
« Reply #1 on: July 31, 2013, 10:42:59 pm »
I don't see where this problem is related to EA  :-?

Geert

Tatiana

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Using Crystal Reports
« Reply #2 on: August 01, 2013, 12:58:11 am »
I found that the configuration "useLegacyV2RuntimeActivationPolicy" must be in the side of the application that will call the add-in (.dll). In this case EA...  :-/