Resolving InvalidCastException when upgrading in-place from SharePoint 2010 Beta to RC
Exception: System.InvalidCastException: Unable to cast object of type "Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection" to type "Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection".
Confirmed that this happens using Enterprise version of Windows Server 2008 R2 - Use Standard instead as is done on MS VHD.
http://www.microsoft.com/downloads/details.aspx?FamilyID=0c51819b-3d40-435c-a103-a5481fe0a0d2&displaylang=en[
^]