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

RadScriptManager adds reference to OpenAccess Error

14 Answers 238 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Les
Top achievements
Rank 1
Les asked on 29 Apr 2012, 06:44 PM

I created a test project and Added a RadScriptManager and a RadGrid.....this is a new project without any reference to OpenAccess...I do have OpenAccess on my computer.

I have done a simple application without Telerik controls...and it works....

I'm using Visual Studio 2010, Windows 7 and Radcontrols  2012.1.411.40

How do I get past the OpenAccess issue ( Remove it.)



Could not load file or assembly 'Telerik.OpenAccess, Version=2012.1.301.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.OpenAccess, Version=2012.1.301.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified.

Source Error: 

Line 15:         <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
Line 16: &nbsp;<a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>.
Line 17: <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> Line 18:         </telerik:RadScriptManager>
Line 19:     </p>

14 Answers, 1 is accepted

Sort by
0
Les
Top achievements
Rank 1
answered on 30 Apr 2012, 05:54 PM
Ok... I have solved my problem. (My thought is that Scriptmanager should not require OpenAccess!)
0
Eric Krauska
Top achievements
Rank 1
answered on 06 May 2012, 06:56 PM
I am also seeing this error.  What did you do to fix it?  I know adding a reference to OpenAccess would fix it, but I'd prefer not to if you have a better fix...
0
Dimitar Terziev
Telerik team
answered on 09 May 2012, 04:58 PM
Hi,

The experienced error is quite strange considering the fact that there is no reference to the Open Access in your application. Could you please specify whether you are using our Reporting or not? If so check whether such reference exists in the web config file and remove it:
<add assembly="Telerik.Reporting.DatabaseSession, Version=X.X.XX.XXX, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>

Regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Eric Krauska
Top achievements
Rank 1
answered on 09 May 2012, 08:16 PM

yes, I am using Telerik Reporting.  Below are the only 2 entries in the web.config file for Reporting though.  Please advise.

<add assembly="Telerik.Reporting, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
<add assembly="Telerik.ReportViewer.WebForms, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
0
Les
Top achievements
Rank 1
answered on 11 May 2012, 07:48 PM
I will likely be using OpenAccess, but in the mean time to get around the issue, I copied the following files to /bin

Telerik.OpenAccess.35.Extensions.dll
Telerik.OpenAccess.35.Extensions.xml
Telerik.OpenAccess.40.Extensions.dll
Telerik.OpenAccess.40.Extensions.xml
Telerik.OpenAccess.Config.dll
Telerik.OpenAccess.dll
Telerik.OpenAccess.Runtime.dll
Telerik.OpenAccess.Web.dll
0
Dimitar Terziev
Telerik team
answered on 14 May 2012, 10:15 AM
Hi,

Some of our reporting functionalities rely on the usage of Open Access so such references should be added.

Greetings,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Berrabah
Top achievements
Rank 1
answered on 27 May 2012, 01:49 PM
Hi every body,
I have the same problem 
could not load file or assembly Telerik.OpenAccess
What should I do to solved it,I try since a week but i can't fixed it !
HELP PLEASE !!

Erreur du serveur dans l'application '/Observatoire'.

Impossible de charger le fichier ou l'assembly 'Telerik.OpenAccess, Version=2011.3.1129.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' ou une de ses dépendances. Le fichier spécifié est introuvable.

Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code. 

Détails de l'exception: System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Telerik.OpenAccess, Version=2011.3.1129.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' ou une de ses dépendances. Le fichier spécifié est introuvable.

Erreur source: 

Ligne 40 :     <div class ="container ">
Ligne 41 : 
Ligne 42 :       <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
Ligne 43 :             </telerik:RadScriptManager>
Ligne 44 :         

Thank you
0
Berrabah
Top achievements
Rank 1
answered on 27 May 2012, 01:51 PM
Hi Les,
Can you please tell how to make Scriptmanager should not require OpenAccess ?
Thank you 
0
Berrabah
Top achievements
Rank 1
answered on 27 May 2012, 01:52 PM
Hi again,
I dont undertand the error cause I  DONT USE THE TELERIK.OPENACCESS SO WHY I GOT THIS ERROR ?
Thankx Telerik Masters
0
Dimitar Terziev
Telerik team
answered on 29 May 2012, 11:49 AM
Hello Berrabah,

Could you clarify what references you have in your web config file and whether you are using the Telerik reporting or not?

Regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Berrabah
Top achievements
Rank 1
answered on 29 May 2012, 01:39 PM
Hi Dimitar Terziev,
I have solved the problem by deleting the vb library for the reporting and replace it by an other new one .
THANKS TELERIK'S MASTERS
0
Walther Siksma
Top achievements
Rank 2
answered on 08 Oct 2012, 12:57 PM
Pulled my hairs out of this one. In my case, the error would not appear all the time. Then the app would run for a few hours on the webserver,after that the application would fail with this error. After deploying exactly the same files again, it started working again for a few hours (same source!).
Costed a lot of time to sort it out. Finally isolated all files, but it definitely has to do with Telerik Reporting. When I removed the reports, the issue would go away and the project ran without errors! I added the reports to the project again and upgraded from 2012Q1 to 2012Q2. That did the trick in my case.....







0
Aruna
Top achievements
Rank 1
answered on 15 Jan 2013, 11:11 AM
Hi,
I am getting the error

Could not load file or assembly 'Telerik.OpenAccess, Version=2012.2.628.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

ource Error:

Line 8: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="BodyPlaceHolder"> 
Line 9:
Line 10: <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> Line 11: </telerik:RadScriptManager> Line 12: <asp:Panel ID="pnlSearch" runat="Server" DefaultButton="SearchButton">



I am not using any reporting in my applicaion, also I verified my project file it does not aontain any entry like <Import Condition="Exists('$(MSBuildExtensionsPath)\OpenAccess.targets')" Project="$(MSBuildExtensionsPath)\OpenAccess.targets" />
still I am getting this error. what could be the reason behind this.anyone can help me on this?
0
Kate
Telerik team
answered on 18 Jan 2013, 08:33 AM
Hi Aruna,

Please take a look at the following forum post where you can find more detailed information regarding the exception that you get:

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ScriptManager and StyleSheetManager
Asked by
Les
Top achievements
Rank 1
Answers by
Les
Top achievements
Rank 1
Eric Krauska
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Berrabah
Top achievements
Rank 1
Walther Siksma
Top achievements
Rank 2
Aruna
Top achievements
Rank 1
Kate
Telerik team
Share this question
or