I am upgrading a Silverlight 4 application to Silverlight 5. I ran the application after changing the Target Silverlight Version to Silverlight 5 (Visual Studio 2010) and received the following error before the application loaded:
Unhandled Error in Silverlight Application
Code: 2110
Category: InitializeError
Message: AG_E_UNKNOWN_ERROR
I was unable to track down the issue using the visual studio debugger so I thought it might be an issue with the references. I noticed most of the core libraries were now pointing to the Silverlight/v5.0 directories in the Microsoft/Framework directories but the Toolkit libraries were not upgraded. I downloaded the May 2012 release of the toolkit and manually upgraded all those libraries but still received the error. So I created a new Silverlight 5 project and began adding the libraries incrementally. That application then threw that error when I added references to the Silverlight Toolkit. How can I solve this problem?