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

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

1 Answer 331 Views
Integration with other products
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tajes
Top achievements
Rank 1
Tajes asked on 01 Feb 2011, 12:00 PM
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

1 Answer, 1 is accepted

Sort by
0
Tajes
Top achievements
Rank 1
answered on 01 Feb 2011, 12:08 PM
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>

Tags
Integration with other products
Asked by
Tajes
Top achievements
Rank 1
Answers by
Tajes
Top achievements
Rank 1
Share this question
or