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

Telerik.OpenAccess.SPI.dataobjects.PersistenceCapable

2 Answers 232 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tajes
Top achievements
Rank 1
Tajes asked on 01 Feb 2011, 10:13 AM
Hi,
 I get the following error  when I try to binding a RadTextBox control to a Open Access object:

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.

I 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 Answers, 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>
0
Accepted
Alexander
Telerik team
answered on 02 Feb 2011, 09:12 AM
Hello Iván Tajes,

We are glad to see that you have managed to solve the problem.

All the best,
Alexander
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Tags
General Discussions
Asked by
Tajes
Top achievements
Rank 1
Answers by
Tajes
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or