RadScriptManager adds reference to OpenAccess Error

15 posts, 0 answers
  1. Les
    Les avatar
    29 posts
    Member since:
    Feb 2011

    Posted 29 Apr 2012 Link to this post

    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>
  2. Les
    Les avatar
    29 posts
    Member since:
    Feb 2011

    Posted 30 Apr 2012 Link to this post

    Ok... I have solved my problem. (My thought is that Scriptmanager should not require OpenAccess!)
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eric Krauska
    Eric Krauska avatar
    26 posts
    Member since:
    Dec 2007

    Posted 06 May 2012 Link to this post

    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...
  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 09 May 2012 Link to this post

    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.
  6. Eric Krauska
    Eric Krauska avatar
    26 posts
    Member since:
    Dec 2007

    Posted 09 May 2012 Link to this post

    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" />
  7. Les
    Les avatar
    29 posts
    Member since:
    Feb 2011

    Posted 11 May 2012 Link to this post

    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
  8. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 14 May 2012 Link to this post

    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.
  9. Berrabah
    Berrabah avatar
    37 posts
    Member since:
    Feb 2012

    Posted 27 May 2012 Link to this post

    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
  10. Berrabah
    Berrabah avatar
    37 posts
    Member since:
    Feb 2012

    Posted 27 May 2012 Link to this post

    Hi Les,
    Can you please tell how to make Scriptmanager should not require OpenAccess ?
    Thank you 
  11. Berrabah
    Berrabah avatar
    37 posts
    Member since:
    Feb 2012

    Posted 27 May 2012 Link to this post

    Hi again,
    I dont undertand the error cause I  DONT USE THE TELERIK.OPENACCESS SO WHY I GOT THIS ERROR ?
    Thankx Telerik Masters
  12. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 29 May 2012 Link to this post

    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.
  13. Berrabah
    Berrabah avatar
    37 posts
    Member since:
    Feb 2012

    Posted 29 May 2012 Link to this post

    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
  14. Walther Siksma
    Walther Siksma avatar
    12 posts
    Member since:
    May 2006

    Posted 08 Oct 2012 Link to this post

    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.....







  15. Aruna
    Aruna avatar
    4 posts
    Member since:
    Jul 2012

    Posted 15 Jan 2013 Link to this post

    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?
  16. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 18 Jan 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017