I am getting this weird error when making a WP7 app, and I can not see why. The only output/ error message I get is \"UnhandledException: The parameter is incorrect. : : : Progr
I had the same problem. The fix for me was to give every element I would like to add a unique name (e.g. Name = Guid.NewGuid().ToString()). I hope this helps for you, too!
Click on Debug then Exceptions and then set Common Language Runtime Exceptions to "Thrown" and you should see the stack trace.
However, I do think it is a bug and can't tell how to go around it without looking at code/stacktrace