I got a LDAP integrated intranet that failt to check permissions at rare occasions. Maybe once or twice a day.
The following error occurs:
Server Error in '/' Application.
________________________________________
Permission
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Permission
Source Error:
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.
Stack Trace:
[IndexOutOfRangeException: Permission]
System.Data.Common.FieldNameLookup.GetOrdinal(String fieldName) +55
System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +70
System.Data.SqlClient.SqlDataReader.get_Item(String name) +10
EPiServer.DataAccess.PermissionDB.ListPermissions(String storedProcedure, Int32 sid) +227
EPiServer.DataAccess.PermissionDB.ListPermissionForPrincipal(Int32 sid) +12
EPiServer.Security.UnifiedPrincipal.ᐃ(DataSet ) +618
EPiServer.Security.UnifiedPrincipal.ᐁ() +61
EPiServer.Security.UnifiedPrincipal..ctor(IPrincipal original, String machineName) +135
EPiServer.Util.LoginBase.ᐁ(IPrincipal , String ) +174
EPiServer.Global.Application_AuthenticateRequest(Object sender, EventArgs e) +42
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Any ideas?