Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8863469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:59:08+00:00 2026-06-14T15:59:08+00:00

I am trying to update a Windows 8 secondary tile directly using XML. However,

  • 0

I am trying to update a Windows 8 secondary tile directly using XML. However, I keep getting an exception that the identifier for the tile I pinned is invalid. I even tried pulling the identifier directly from Windows and then substituting that back into CreateTileUpdaterForSecondaryTile, but I’m still getting the same exception. Here’s my code:

public async static void UpdateSecondarySectionTile()
{
    string tileXmlString = "<tile id='SecondaryTile-7-0'>"
                         + "<visual>"
                         + "<binding template='TileWideImage'>"
                         + "<image id='1' src='" + imageSource + "' alt='alt text'/>"
                         + "</binding>"
                         + "</visual>"
                         + "</tile>";

    // create a DOM
    Windows.Data.Xml.Dom.XmlDocument tileDOM = new Windows.Data.Xml.Dom.XmlDocument();
    tileDOM.LoadXml(tileXmlString);

    System.Collections.Generic.IReadOnlyList<Windows.UI.StartScreen.SecondaryTile> tileList = await Windows.UI.StartScreen.SecondaryTile.FindAllAsync();

    foreach (var tile in tileList)
    {
        string tileId = tile.TileId;
        Windows.UI.Notifications.TileNotification tileUpdate = new Windows.UI.Notifications.TileNotification(tileDOM);
        try
        {
            Windows.UI.Notifications.TileUpdateManager.CreateTileUpdaterForSecondaryTile(tileId).Update(tileUpdate);
        }
        catch (Exception e)
        {
            System.Diagnostics.Debug.WriteLine("message: " + e.Message + ", inner exception: " + e.InnerException + " string: " + e.ToString());
        }
    }
}

The debug line is outputting:

//message: The application identifier provided is invalid.
, inner exception:  string: System.Exception: The application identifier provided is invalid.

Any idea what the problem is? The foreach loop only executes once because there’s only one pinned secondary tile on my build. (Also I realize that UpdateSecondarySectionTile should take the tileId as a parameter and only update one tile per call; this is just debugging code.)

I find it interesting that it’s complaining about the application identifier rather than the tile identifier. Also, I’m aware that tile updates sometimes do not work if you run them in the simulator, but I am encountering this issue even on my local machine.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:59:10+00:00Added an answer on June 14, 2026 at 3:59 pm

    The exception referenced in the question (“The application identifier provided is invalid”) can be thrown by the CreateTileUpdaterForSecondaryTile method outside of the simulator if the secondary tile was initially pinned while in the simulator. To work around this issue, unpin the secondary tile and repin it outside of the simulator.

    As noted by the question author, the tile update APIs (and other push notification related APIs) are not supported in the simulator. In this case, the secondary tile pinning was not persisted outside of the simulator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to implement the Windows Update Agent API asynchronous download/installation methods, however,
I am using Meteor 4.2 (Windows) and I am always getting the update failed:
I an trying to develop a windows application using C# that can play streamed
I am trying to update an xml schema by using the xsd tool. The
I am trying to update a live tile every so often on Windows 8
I am using Apache Server 6.0 and I am trying to update a file
I'm trying to update an AIR 2.5 app. (Packed as Windows .exe) This error
I'm trying an example from M$ site regarding calling Windows Update programatically. 'http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx 'http://msdn.microsoft.com/en-us/library/aa386526%28v=vs.85%29.aspx
I am trying to get LastInstallationSuccessDate and LastSearchSuccessDate from the Windows Update API through
I am trying to figure out when and how does Windows update File Access

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.