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

Azure sync template issu

5 Answers 154 Views
CloudDataSync
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mohamed Anes
Top achievements
Rank 2
Mohamed Anes asked on 18 Mar 2014, 02:33 PM
Hello,

I'm a new user of the cloud control, i have update to UI for Windows Phone 8 Q1 2014 , and since my project newly created from "Telerik Azure cloud sync" template can not be compiled. there are a lot of missing referance, and when i fix them by adding them manulay , i got this error :

Error 1 There was a mismatch between the processor architecture of the project being built "ARM" and the processor architecture, "x86", of the implementation file "c:\Program Files (x86)\Telerik\UI for Windows Phone 8 Q1 2014\Binaries\WindowsPhone\x86\Telerik.Storage_WP.dll" for "c:\Program Files (x86)\Telerik\UI for Windows Phone 8 Q1 2014\Binaries\WindowsPhone\x86\Telerik.Storage_WP.winmd". 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 implementation file, or choose a winmd file with an implementation file that has a processor architecture which matches the targeted processor architecture of your project. Telerik.Cloud.Sync.Azure.App4

Not that , before this update, the project compile correctly (any new project) but i had problem with "invalid operation" and "time out".

I hope i can find some help to fix this.

this is the project : https://onedrive.live.com/redir?resid=971DEB4C3B423431!2243&authkey=!AKn9FZXi94dJGjc&ithint=file%2c.zip

Thanks 

5 Answers, 1 is accepted

Sort by
0
Mohamed Anes
Top achievements
Rank 2
answered on 20 Mar 2014, 10:29 AM
Hello,

I've fixed the previous problem by unstalling the telerik ui windows phone controls, and re install it again.
Now the project compile correctly but it still contain some problems :

- A sync exeception when adding new item when the previous item has not finish sync . Fixed by cheking the Context.IsSynchronizing state
- a Json exception described here : http://www.telerik.com/forums/synchronizationexeption-when-trying-to-get-items-from-azure
- Image button are not correctly displayed (full white) because the folder "image" dose not existe.
- any try to insert any item to my cloud service get a time out request (note that this is not happining when i use the azure sdk directly)

the most anoying is the last one, i can't figure out how to fix it.
Dose any one have a hit to a solution ?
thanks.





0
Todor
Telerik team
answered on 21 Mar 2014, 09:19 AM
Hello Mohamed,

Thank you for writing.

First I'd like to clarify something about the issue that you experienced about the mismatch in the project architectures. It is caused by the fact that you have manually added an assembly built for 'x86' into a project configured to be build for 'ARM'. If you are not familiar with the project configurations and you don't know how to change them, you can have a look here. You should know that we provide libraries built for both platforms in their respective subfolders (x86 and ARM) inside the binaries folder that was created with the installation of Telerik UI for Windows Phone (C:\Program Files (x86)\Telerik\UI for Windows Phone 8 Q1 2014\Binaries\WindowsPhone). The project template shouldadd the libraries from both folders and reference only the ones that are needed for the currect configuration. However, when you need to add assemblies manually, you need to add the corresponding assemblies for your project configuration.

As you have read in the other thread about the Json exception, you can fix it using the proposed workaround and we will make sure that it is not the default behavior for our next release.

Thank you for reporting the issue with the missing images. It will also be addressed with the next release. I have attached an archive with the two missing images, which you can manually add inside an Images folder in your application.

Regaring the last issue with the Insert, you need to follow the instructions from this page and change the scripts of Insert and Update.

I have updated your telerik points for your valuable feedback on your experince with CloudDataSync.

Regards,
Todor
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Deyan
Telerik team
answered on 24 Mar 2014, 09:37 AM
Hi Mohamed,

A quick follow up on the issues that you have described in your last reply.

It is very important to note that each operation done by using the SynchronizationContext object is asynchronous and it is recommended that you await the calls.

As for the timeout problem you are experiencing, we would like to investigate it but to make sure we are on the right track, we will need some code from you. Is it possible that you open a new support ticket and share with us your project so that we can try to reproduce the issue on our side and see how we can help you out?

Thanks for your time.

Regards,
Deyan
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Mohamed Anes
Top achievements
Rank 2
answered on 24 Mar 2014, 11:49 PM
Hello,

I use the code in the template , without change it except for the azure url and key.
i fix this by manualy use the azure cloud control.
 
i will open a support ticket to check the template problem.

thanks
0
Deyan
Telerik team
answered on 25 Mar 2014, 01:24 PM
Hello Mohamed,

Thanks for writing back.

Take a look at the support thread you have opened regarding the same case.

Regards,
Deyan
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
CloudDataSync
Asked by
Mohamed Anes
Top achievements
Rank 2
Answers by
Mohamed Anes
Top achievements
Rank 2
Todor
Telerik team
Deyan
Telerik team
Share this question
or