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

Windows 8.1 Problem

2 Answers 66 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.
Danilo
Top achievements
Rank 1
Danilo asked on 07 Apr 2014, 02:38 PM
Hi, I have been trying
to use Data Access in my Windows store app but when I try to connect
Telerik to the Database it keeps giving the same error.

Error:

“There was a mismatch between the processor
architecture of the project being built "x86" and the processor
architecture of the reference "System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=AMD64",
"AMD64". This mismatch may cause runtime failures. Please consider
changing the targeted processor architecture of your project through the
Configuration Manager so as to align the processor architectures between your
project and references, or take a dependency on references with a processor
architecture that matches the targeted processor architecture of your project.”

I’ve tried to change in
the configuration manager as the error suggests but with no luck is there a way
you guys can help me with this problem.

 

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 07 Apr 2014, 03:01 PM
Hi,

I’m working with Danilo (thread author), and just to complete the info: Note that, we don’t need and we don’t want that our app run in Windows RT (ARM platform). We only need it to run in x64 and x86 platform.

If useful, I’m attaching the sample project to this post, you can download it at: 
https://www.dropbox.com/s/7souqyeop2o8lp8/App1.zip

Thank you for your help!

Regards,
David
0
Doroteya
Telerik team
answered on 10 Apr 2014, 11:57 AM
Hi Danilo and David,

Thank you for contacting us and for the detailed information.

By design, the consumption of data access layers created with Telerik Data Access by Windows Store applications is not available out-of-the-box. Such a scenario is possible with the help of a service layer between the DAL and the application. The idea is to expose the data through service endpoints and consume these endpoints through the user interface.

An example that demonstrates such an architecture is available in Telerik Data Access Samples Kit. It is called WCF RIA Services and Silverlight and is implemented on both C# and VB.

I hope this helps. In case you have additional questions, do not hesitate to get back to us.


Regards,
Doroteya
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Data Access Free Edition
Asked by
Danilo
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Doroteya
Telerik team
Share this question
or