Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable in ASP.NET AJAX

2 posts, 0 answers
  1. Tajes
    Tajes avatar
    81 posts
    Member since:
    Sep 2009

    Posted 01 Feb 2011 Link to this post

    I have a problem in my asp.net code. I can't access to a persistent object that is in code behind from aspx  page. I get the follow error:

    The type 'Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable' is defined in a no reference assembly. You must to add a reference assembly 'Telerik.OpenAccess, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'

    The message is a translate from spanish.

     have added all reference to Telerik.OpenAccess. I don't know what to do.

    my code in the aspx page is:
    <telerik:RadTextBox ID="nombreTextBox" runat="server" CssClass="textEntry"
    Text="<%# myEntity.stringProperty %>">   </telerik:RadTextBox>

    the object "myEntity" is in the code behind, and is an entity from ORM Open Access

  2. Tajes
    Tajes avatar
    81 posts
    Member since:
    Sep 2009

    Posted 01 Feb 2011 Link to this post

    I solved it. I add the assembly reference to web.config file

    <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <add assembly="Telerik.OpenAccess, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342"/>
        </assemblies>
     </compilation>

  3. DevCraft banner
Back to Top