This is a migrated thread and some comments may be shown as answers.

Wrong version of OpenAccess referenced in dll

1 Answer 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 09 Aug 2012, 11:41 PM
Hello, for some time I have been pulling my hair out trying to resolve a reference error when I upgraded my Telerik Reporting to the latest version.  Everytime I run my web app on my client's network I get a message stating Telerik.OpenAccess version 2011.3.1129.2 could not be found, but on refreshing the page, this error would disappear.

I searched for hours trying to find the incorrect reference and finally found it, but not in my code.

The incorrect reference is in version 6.1.12.611 of Telerik.Reporting.DatabaseSession.dll and if I use Just Decompile, I can see a missing reference to Telerik.OpenAccess version 2011.3.1129.2 and also to Telerik.OpenAccess.35Extensions version 2011.3.1129.2, at least in my version of the reporting dll.

How can there be a reference to 2011 Q3 OpenAccess in the 2012 Q2 Telerik Reporting dll?

Regards, Jonathan

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Aug 2012, 10:27 AM
Hello Jonathan,

The only reason why you might get this error is if you have added reference to the Telerik.Reporting.DatabaseSession.dll in your application. This assembly is responsible for the Telerik Reporting's Database Session State Provider which utilizes Open Access ORM internally to access the database.

So if you're not using intentionally the reporting database session state provider, remove reference to Telerik.Reporting.DatabaseSession.dll in your project and you should not receive such errors. Additionally make sure you do not have any configurations for the database session in your web.config
(see Configuring the Database Session State Provider.)- if you do, remove them.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or