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

2 posts, 1 answers
  1. Lance
    Lance avatar
    15 posts
    Member since:
    May 2012

    Posted 07 Oct 2013 Link to this post

    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
  2. Answer
    Lance
    Lance avatar
    15 posts
    Member since:
    May 2012

    Posted 07 Oct 2013 Link to this post

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