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

CloudException: The CloudProvider is not initialized. Please call its Init method first

1 Answer 123 Views
CloudRegistration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lance
Top achievements
Rank 2
Lance asked on 07 Oct 2013, 06:01 PM
When placing a CloudRegistration control on a new XAML page, the VS designer throws the following error:

CloudException: The CloudProvider is not initialized. Please call its Init method first.

   at Telerik.Windows.Cloud.CloudProvider.get_CurrentProvider()
   at Telerik.Windows.Controls.Cloud.RadCloudRegistration.<OnLoaded>d__c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

InnerException: None

the proper xmlns is declared and there is no problem with the XAML, this is only in the designer.

System info:
VS2012 Update 3
Windows 8 64 bit
Telerik Q3 Beta

1 Answer, 1 is accepted

Sort by
0
Accepted
Lance
Top achievements
Rank 2
answered on 07 Oct 2013, 08:18 PM
Make sure you have the proper DLLs referenced in your project. If you are targeting your phone, you'll need to use the binaries in the ARM folder. If you are targeting the emulator, you'll need the binaries in the x86 folder.

Once you've removed the old references and added the proper ones, clean your project and rebuild it. Everything will compile properly.

For more information on adding the correct references, see the Manually creating an app that uses Telerik Cloud Controls for Windows Phone section on this page in the documentation.
Tags
CloudRegistration
Asked by
Lance
Top achievements
Rank 2
Answers by
Lance
Top achievements
Rank 2
Share this question
or