Hi,
I have a windows 2012 with RDWEB. I am trying to configure ADFS with it. I installed WIF and modified all my web.config accordingly. But when i try to access the RDWEB i get redirected to ADFS and after authentication. I get below error. Can someone throw
some light on this.
Server Error in '/RDWeb/Pages' Application.
Unable to cast object of type 'Microsoft.IdentityModel.Claims.ClaimsIdentity' to type 'System.Security.Principal.WindowsIdentity'.
[InvalidCastException: Unable to cast object of type 'Microsoft.IdentityModel.Claims.ClaimsIdentity' to type 'System.Security.Principal.WindowsIdentity'.]
Microsoft.TerminalServices.Publishing.Portal.RapWebService.GetRemoteApps(String strSid) +156
Microsoft.TerminalServices.Publishing.Portal.WebFeed.GetDataForFeed(String userSid, String folderName, Dictionary`2& resource_list, Dictionary`2& ts_list, List`1& folders) +394
Microsoft.TerminalServices.Publishing.Portal.WebFeed.GenerateFeed(String userSid, FeedXmlVersion xmlVersion, String folderPath, Boolean writeXmlDecl) +354
ASP.en_us_default_aspx.Page_PreInit(Object sender, EventArgs e) +1805
System.Web.UI.Page.PerformPreInit() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1844