This question is locked. New answers and comments are not allowed.
Hey guys... I'm really new to OA & am trying to get a feel for using it in a simple situation with a small web app & a local SQL CE 4.0 database.
I've set up a basic model in my project, and have loaded it from the DB (which has one simple table). This all looks fine, and I can then proceed and add an OpenAccess LINQ DataSource.
Great, looks like I'm setup. : ) Now here is my problem:
If I go to the EntityModel (I just called it that by default), in the OA Model Explorer I can right click on the model and choose to "Update from Database...". When I do this, the OA dialog comes up but contains the following error every time (in the Choose Schemas dialog):
"Unable to retrieve the database schema information. Reason: Could not load type 'System.Data.SqlServerCe.SqlCeException' from assembly 'Microsoft.SqlServerCe.Client, Version=3.5.0.0, Culture=neutral...." etc. etc.
This appears to indicate that it's trying to use the 3.5 assemblies rather than 4.0? (I didn't install SQL CE 3.5 at all)...
So.. to update my schema, I've had to recreate the entire EntitiyModel each time (not very ideal).
Any ideas?
Thanks!
-Brian
(p.s.-> Let me know if this would be better served as a direct ticket but I wanted to post it to the community for any new people like me that may run into this issue).
I've set up a basic model in my project, and have loaded it from the DB (which has one simple table). This all looks fine, and I can then proceed and add an OpenAccess LINQ DataSource.
Great, looks like I'm setup. : ) Now here is my problem:
If I go to the EntityModel (I just called it that by default), in the OA Model Explorer I can right click on the model and choose to "Update from Database...". When I do this, the OA dialog comes up but contains the following error every time (in the Choose Schemas dialog):
"Unable to retrieve the database schema information. Reason: Could not load type 'System.Data.SqlServerCe.SqlCeException' from assembly 'Microsoft.SqlServerCe.Client, Version=3.5.0.0, Culture=neutral...." etc. etc.
This appears to indicate that it's trying to use the 3.5 assemblies rather than 4.0? (I didn't install SQL CE 3.5 at all)...
So.. to update my schema, I've had to recreate the entire EntitiyModel each time (not very ideal).
Any ideas?
Thanks!
-Brian
(p.s.-> Let me know if this would be better served as a direct ticket but I wanted to post it to the community for any new people like me that may run into this issue).