cancel
Showing results for 
Search instead for 
Did you mean: 

SAP unable to load file

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Please search first, lots of posts on this.

Add this to your app.config file:

<startup useLegacyV2RuntimeActivationPolicy="true">

Don

Answers (0)