Windows 8.1 Problem

3 posts, 0 answers
  1. Danilo
    Danilo avatar
    1 posts
    Member since:
    Apr 2014

    Posted 07 Apr 2014 Link to this post

    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. David
    David avatar
    2 posts
    Member since:
    Dec 2012

    Posted 07 Apr 2014 Link to this post

    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
  3. DevCraft banner
  4. Doroteya
    Admin
    Doroteya avatar
    502 posts

    Posted 10 Apr 2014 Link to this post

    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.
     
Back to Top