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

Type is not [Persistent] or the assembly was not enhanced by OpenAccess.

1 Answer 200 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Waleed
Top achievements
Rank 1
Waleed asked on 02 Aug 2016, 12:31 PM

Why I am getting this error?

My web app has references to the latest OpenAccess

Business object project which holds Domain Objects has references to the same version of OpneAccess

Thanks

1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 08 Aug 2016, 12:49 PM
Hello Waleed,

I am sorry for the inconvenience you are experiencing.

Generally, the error appears when you consume a model that was not postprocessed by the Data Access Enhancer tool.

Going through the provided information I understand that you are using Data Access Q1 2016 and that you have a web application in your hands. To complete the picture and to troubleshoot the situation I would kindly ask you to provide me with a few additional details:

1. Could you confirm that you are using the Data Access NuGet packages?
2. If so, could you confirm that the project that holds your model has the Telerik.DataAccess.Core package installed on it?
3. If so, could you check if the following clause is available in the XML representation of the project that holds the model?
<Import Project="OpenAccessNuget.targets" />

I'm looking forward to hearing from you.


Regards,
Doroteya
Telerik by Progress
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Tags
Data Access Free Edition
Asked by
Waleed
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or