I am facing authentication failures for a sharepoint site which is configured to ADFS 2.0 claims based authentication.
<h2><em>Operation is not valid due to the current state of the object.</em> </h2>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[InvalidOperationException: Operation is not valid due to the current state of the object.]
Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +27702808
Microsoft.SharePoint.Utilities.SPUtility.DetermineLayoutsUrl(SPWeb overrideWeb, HttpContext context, Boolean includeLCID, Boolean doNotInitWeb) +252
View Complete Post