0
votes

I'm doing a project in c# 2010 that generate reports. I want to use Crytal Report for reporting on the project but getting 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\crdb_adoplus.dll’ or one of its dependencies. The system cannot find the file specified.

Can anyone help me out this error.

1

1 Answers

1
votes

To solve this error.You have to add following code to your app.config file.

<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>