Skip to Content
0

SAP unable to load file

Mar 27, 2017 at 01:36 PM

19

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Mar 27, 2017 at 01:36 PM
0

Please search first, lots of posts on this.

Add this to your app.config file:

<startup useLegacyV2RuntimeActivationPolicy="true">

Don

Share
10 |10000 characters needed characters left characters exceeded