Crystal Reports 2010 Beta 2 for Visual Studio Runtime Error

I was doing a proof of concept with Crystal Reports 2010 Beta 2 for Visual Studio 2010 and got this error at runtime:

Could not load file or assembly ‘file:///C:\\Program Files\\SAP BusinessObjects\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\dotnet1\\crdb_adoplus.dll’ or one of its dependencies. The system cannot find the file specified.

A little searching lead to the release notes document.  Looks like a known Beta 2 issue:

A report based on an ADO.NET DataSet will not work if the project targets the 4.0 .NET Framework.  Reports based on an ADO.NET DataSet will not work if the project targets the 4.0 .NET Framework.  As a workaround, add following part into app.config or web.config files:

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

 

Bookmark and Share

2 Comments

Comments have been disabled for this content.