Skip to Content
avatar image
Former Member

SAP unable to load file

I am using Visual Studio 2015 C#. I am loading a report and exporting it to PDF. It worked find up until I provided a SetDataSource for the report doc. I receive the following error:

'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

Am I missing a file?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 27, 2017 at 01:36 PM

    Please search first, lots of posts on this.

    Add this to your app.config file:

    <startup useLegacyV2RuntimeActivationPolicy="true">

    Don

    Add comment
    10|10000 characters needed characters exceeded