Title:
.NET 4.5.2 AD client errors with [InvalidCastException: Unable to cast object of type 'System.Byte[]' to type 'System.String'.]
Created:
11/25/2020 9:35:51 AM by rhessinger
Status:
closed on 11/25/2020 9:36:59 AM
Last pulled:
11/25/2020 9:38:24 AM
Description:
StackTrace: [InvalidCastException: Unable to cast object of type 'System.Byte[]' to type 'System.String'.] Inedo.Extensions.UserDirectories.Entry.ExtractGroupNames() +260 Inedo.Extensions.UserDirectories.ActiveDirectoryUser.IsMemberOfGroup(String groupName) +120 System.Linq.WhereArrayIterator`1.MoveNext() +71 System.Linq.Buffer`1..ctor(IEnumerable`1 source) +152 System.Linq.d__1.MoveNext() +203 System.Linq.Buffer`1..ctor(IEnumerable`1 source) +152 System.Linq.Enumerable.ToArray(IEnumerable`1 source) +91 System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +87 Inedo.ProGet.Web.Security.TaskChecker.CanPerformAnyTask(IUserDirectoryUser user) +29 Inedo.ProGet.WebApplication.Pages.RootPage.CreateTopPanel() +1198 Inedo.ProGet.WebApplication.Pages.d__2.MoveNext() +934 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Inedo.ProGet.WebApplication.Pages.d__10.MoveNext() +621 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Inedo.Web.PageFree.d__46.MoveNext() +234 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 Inedo.Web.PageFree.d__45.MoveNext() +240 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60 System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64 Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result) +33 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128