Could not load file or assembly 'Telerik.OpenAccess'
Environment
Product | Progress® Telerik® Reporting |
Report Viewer | HTML5 Report Viewers |
Error Message
Telerik Reporting Deployment *System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.OpenAccess, Version=2015.1.225.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified.
Possible Cause
The issue is related to a reference to Telerik.Reporting.Cache.Database.dll or a copy of Telerik.Reporting.Cache.Database.dll in the Bin folder of the deployed application.
Description
These assemblies are related to the database cache of old viewers, including the obsolete ASP.NET WebForms ReportViewer, but not the Reporting REST service and HTML5 Viewer. The Reporting REST service uses different cache mechanism -REST Service Storage.
Solution
The solution is to remove Telerik.Reporting.Cache.Database.dll reference from the project.
Notes
If you use an old viewer and database cache - Configuring the Database Cache Provider, you may need binding redirects depending on the used Telerik Data Access version.
The used Telerik Data Access version is specified in the dependencies list in each release notes and the corresponding Upgrade Path help article.