An Error Occurred While Enumerating The Application Pools
Contents |
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryWikiLearnGalleryDownloadsSupportForumsBlogs Ask a question Quick access Forums home Browse forums users FAQ
An Error Occurred While Enumerating The Groups
Search related threads Remove From My Forums Answered an error occurred while enumerating through a collection by: RWA SBS 2011 - Server Error in '/Remote' Application. An error (87) an error occurred while enumerating through a collection more data is available occurred while enumerating the groups. The group's SID could not be resolved. Windows Small Business Server > Small Business Server
An Error Occurred While Enumerating Through A Collection Access Is Denied
Question 0 Sign in to vote Hello Have picked up the following error when logging onto RWA. Is only applicable to non admins. Logging onto OWA shows no problems. Server Error in '/Remote' Application. An error (87) occurred while enumerating the
An Error Occurred While Enumerating Through A Collection Collection Was Modified
groups. The group's SID could not be resolved. 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.DirectoryServices.AccountManagement.PrincipalOperationException: An error (87) occurred while enumerating the groups. The group's SID could not be resolved. 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: [PrincipalOperationException: An error (87) occurred while enumerating the groups. The group's SID could not be resolved.] System.DirectoryServices.AccountManagement.SidList.TranslateSids(String target, IntPtr[] pSids) +1318 System.DirectoryServices.AccountManagement.SidList..ctor(List`1 sidListByteFormat, String target, NetCred credentials) +265 System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.TranslateForeignMembers() +568 System.DirectoryServices.AccountManageme
Visual Studio Visual Studio IDE Visual Studio Team Services Visual Studio Code Xamarin Visual Studio Dev Essentials Subscriptions Office Office Dev Center Office 365 for IT pros Word/Excel/PowerPoint Microsoft Graph Outlook an internal error occurred while enumerating backup sets OneDrive/Sharepoint Skype Services Store Cortana Bing Application Insights Documentation Microsoft Developer Network TechNet
An Internal Error Occurred While Enumerating Backup Sets Server 2008
Platforms Microsoft Azure Visual Studio Visual Studio Team Services Windows Office All Developer Centers IT TechCenters Windows IT Center Office mbam 2.5 installation step by step 365 for IT Pros All IT TechCenters Downloads Microsoft Download Center Microsoft Azure Visual Studio SDKs Windows Code samples PowerShell scripts Resources Blogs Microsoft Azure Visual Studio Visual Studio Team Services Developer https://social.technet.microsoft.com/Forums/en-US/89318760-465a-4339-8cbf-3e1579b24d44/rwa-sbs-2011-server-error-in-remote-application-an-error-87-occurred-while-enumerating-the?forum=smallbusinessserver tools Server & management Windows Forums Developers TechNet Microsoft Virtual Academy Channel 9 Subscriptions Sign in Search Microsoft Search Windows IT Center Windows IT Center Explore Windows 10 Windows 10 Mobile Windows Server Surface Surface Hub MDOP Previous versions Docs Windows 10 and Windows 10 Mobile What's new Plan Deploy Keep secure Manage and update Windows Server Windows 10 for education Surface Surface Hub https://technet.microsoft.com/en-us/itpro/mdop/mbam-v25/server-event-logs MDOP Downloads Windows 10 Enterprise Evaluation Microsoft Deployment Toolkit (MDT) Windows Assessment and Deployment Kit (ADK) Microsoft Assessment and Planning (MAP) Toolkit Remote Server Administration Tools (RSAT) Scripts Support Explore Windows 10 Windows 10 Mobile Windows Server Surface Surface Hub MDOP Previous versions Docs Windows 10 and Windows 10 Mobile What's new Plan Deploy Keep secure Manage and update Windows Server Windows 10 for education Surface Surface Hub MDOP Downloads Windows 10 Enterprise Evaluation Microsoft Deployment Toolkit (MDT) Windows Assessment and Deployment Kit (ADK) Microsoft Assessment and Planning (MAP) Toolkit Remote Server Administration Tools (RSAT) Scripts Support Table of contents Shared to Cancel Cancel Table of contents + Microsoft BitLocker Administration and Monitoring 2.5 Getting Started with MBAM 2.5 About MBAM 2.5 Release Notes for MBAM 2.5 About MBAM 2.5 SP1 Release Notes for MBAM 2.5 SP1 Evaluating MBAM 2.5 in a Test Environment High-Level Architecture for MBAM 2.5 High-Level Architecture of MBAM 2.5 with Stand-alone Topology High-Level Architecture of MBAM 2.5 with Configuration Manager Integration Topology Illustrated Features of an MBAM 2.5 Deployment Accessibility for MBAM 2.5 Planning for MBAM 2.5 Preparing your Environment for MBAM 2.5 MBAM 2.5 Deployment Prerequisites
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/3405646/error-with-userprincipal-getauthorizationgroups-method and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags https://support.solarwinds.com/Success_Center/Network_Performance_Monitor_(NPM)/Network_Atlas_error%3A_An_unexpected_error_occurred_-_call_support Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only error occurred takes a minute: Sign up Error with UserPrincipal.GetAuthorizationGroups() method up vote 9 down vote favorite 3 I am having an issue using the GetAuthorizationGroups method of the UserPrincipal class in a web application. Using the following code, I am receiving "While trying to retrieve the authorization groups, an error (5) occurred" PrincipalContext context = new PrincipalContext(ContextType.Domain, null, "DC=MyCompany,DC=COM", "username", "password"); error occurred while UserPrincipal p = UserPrincipal.FindByIdentity(context, IdentityType.SamAccountName, "joe.blogs"); var groups = p.GetAuthorizationGroups(); I believe this code works to an extent. When I view the context object, I can see the server and username/password have been resolved correctly in the object When I view the p object, I can see AD details have been populated like phone no etc. Here is the stack trace from the error. [PrincipalOperationException: While trying to retrieve the authorization groups, an error (5) occurred.] System.DirectoryServices.AccountManagement.AuthZSet..ctor(Byte[] userSid, NetCred credentials, ContextOptions contextOptions, String flatUserAuthority, StoreCtx userStoreCtx, Object userCtxBase) +317279 System.DirectoryServices.AccountManagement.ADStoreCtx.GetGroupsMemberOfAZ(Principal p) +441 System.DirectoryServices.AccountManagement.UserPrincipal.GetAuthorizationGroupsHelper() +78 System.DirectoryServices.AccountManagement.UserPrincipal.GetAuthorizationGroups() +11 By removing the username and password details from the PrincipalContext constructor and changing the applicationpool (in iis7) to run as the same user (username@mycompany.com) - the following code works. PrincipalContext context = new PrincipalContext(ContextType.Domain, null, "DC=MyCompany,DC=COM"); UserPrincipal p = UserPrincipal.FindByIdentity(context, IdentityType.SamAccountName, "joe.blogs"); var groups = p.GetAuthorizationGroups(); I need to get the code in the first example to work - I do not want run the application pool as a domain user just to get this code working. c# active-directory directoryservices share|improve this question
use of cookies. For further details on cookies, please see our cookies policy. Hide this message ProductsCustomer ServiceCustomer ServiceNetwork ManagementEnterprise Operations Console (EOC)Failover Engine (FoE)IP Address Manager (IPAM)Netflow Traffic Analyzer (NTA)Network Configuration Manager (NCM)Network Performance Monitor (NPM)Network Topology Mapper (NTM)User Device Tracker (UDT)VoIP & Network Quality Manager (VNQM)Applications & SystemsDatabase Performance Analyzer (DPA)Server & Application Monitor (SAM)Storage Manager (STM)Storage Resource Monitor (SRM)Virtualization Manager (VMAN)Web Performance Monitor (WPM)Security & ComplianceFirewall Security Manager (FSM)Log & Event Manager (LEM)Patch ManagerToolsAlert CentralDameWare Remote Support & Mini Remote ControlEngineer's ToolSet (ETS)ipMonitorKiwi CatToolsKiwi Syslog ServerLicense ManagerMobile AdminServ-U Managed File Transfer & Serv-U FTP ServerWeb Help Desk (WHD) thwack communityCustomer PortalSubmit a ticketCall usFREE Customer TrainingLearn how to customize views, reports & alerts using custom properties (location, owner, vendor, customer name, etc.). Sign up here for class on 9/21. Success CenterAssetsSearchSuccess CenterNetwork Performance Monitor (NPM)Alert CentralCustomer ServiceDameWare Remote Support & Mini Remote ControlDatabase Performance Analyzer (DPA)Engineer's ToolSet (ETS)Enterprise Operations Console (EOC)Failover Engine (FoE)Firewall Security Manager (FSM)Free Tools Knowledge BaseipMonitorIP Address Manager (IPAM)Kiwi CatToolsKiwi Syslog ServerLANsurveyorLicense ManagerLog & Event Manager (LEM)Mobile AdminNetflow Traffic Analyzer (NTA)Network Configuration Manager (NCM)Network ManagementNetwork Performance Monitor (NPM)Network Performance MonitorNetwork Topology Mapper (NTM)Patch ManagerServ-U Managed File Transfer & Serv-U FTP ServerServer & Application Monitor (SAM)SolarWinds Cookie PolicyStorage Manager (STM)Storage Resource Monitor (SRM)Third-Party Software ListUser Device Tracker (UDT)Virtualization Manager (VMAN)VoIP & Network Quality Manager (VNQM)Web Help Desk (WHD)Web Performance Monitor (WPM)SolarWinds Customer Support InformationNetwork Atlas error: An unexpected error occurred - call support"0 discovered links mapped" in ConnectNow on Orion Network Atlas NPM"Data is not available" appears in a graph or chart"Node XX is not in the Nodes table" message when logging in to Orion but not when directly opening NPM Summary"The settings property 'Account' type was not found" error occurs when adding an AD account to Orion Web(500) Internal Server Error(500) Internal