If you are attempting to work with or create secondary tiles and you are getting the following exception you may want to check your title id.
System.ArgumentException: The parameter is incorrect.
When trying to do a SecondaryTile.Exists(tileId) with the value as seen in the picture below
I was getting the ArgumentException, at first I was stumped but then it dawned on me the ID cannot contain spaces or special characters. When I removed the spaces as seen below my errors went away.
The take away from here is if you are getting exceptions when working with tileId’s check that the ID does not have whitespace or special characters.
Till next time,
07-14-2012 1:28 PM