Active Directory Unspecified Error
Contents |
Help Follow Us Facebook Twitter Google + LinkedIn Newsletter Instagram YouTube DirectoryNetwork InfrastructureWAN, Routing and Switching LAN, Switching and Routing Network Management Remote Access Optical Networking Getting 24444 active directory operation has failed because of an unspecified error in the acs Started with LANs IPv6 Integration and Transition EEM Scripting Other cisco acs active directory integration Subjects SecurityVPN Security Management Firewalling Intrusion Prevention Systems/IDS AAA, Identity and NAC Physical Security MARS Email cisco acs joined but disconnected Security Web Security Other Subjects Service ProvidersMetro MPLS Voice Over IP XR OS and Platforms Video Other Subjects Collaboration, Voice and VideoIP Telephony Video Over IP
11051 Radius Packet Contains Invalid State Attribute
Jabber Clients Unified Communications Applications TelePresence Digital Media System Contact Center Conferencing UC Migrations Other Subjects Wireless - MobilitySecurity and Network Management Wireless IP Voice and Video Getting Started with Wireless WLCCA Other Subjects ServicesCisco ServiceGrid Connected Analytics Smart Call Home Smart Net Total Care Operations Exchange Mobile ApplicationsCisco Proximity Cisco Technical Support Online Tools and ResourcesCisco Bug Discussions Technical Documentation Ideas Cisco CLI Analyzer Support Community Help Data CenterApplication Centric Infrastructure Application Networking Intelligent Automation Server Networking Storage Networking Unified Computing Wide Area Application Services (WAAS) Other Subjects Small BusinessNetwork Storage Routers Security Surveillance Switches Voice and Conferencing Wireless Solutions and ArchitecturesBorderless Networks Collaboration Cisco User GroupsSeattle Cisco User Group (SEACUG) Silicon Valley Cisco User Group (SVCUG) Southern California Cisco User Group (SCCUG) Cisco Certifications Cisco.com Idea Center Cisco Cafe Expert CornerTop Contributors Leaderboards Cisco Live! Events Events Community CornerAwards & Recognition Behind the Scenes Feedback Forum Cisco Certifications Cisco Press Café Cisco On Demand Support & Downloads Community Resources Security Alerts Security Alerts News News Video Cisco Support YouTube Cisco YouTube Blogs Technical Documentation Cisco Products Products Services Services Solutions Solutions Global Support Numbers Cisco Support Community Directory Network Infrastructure WAN, Routing and Switching LAN, Switching and Routing Network Management Remote Access Optical Networking Getting Started w
One games Xbox 360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security https://supportforums.cisco.com/discussion/12248526/active-directory-operation-has-failed-because-unspecified-error-acs-after Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft https://support.microsoft.com/en-us/kb/232282 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
here for a quick overview of the site Help Center Detailed answers to any questions you http://stackoverflow.com/questions/7892655/active-directory-findone-method might have Meta Discuss the workings 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 Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of active directory 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up active directory findone() method up vote 2 down vote favorite im trying to inquire Ad by using this line`s DirectoryEntry de = null; SearchResult results = null; de = new DirectoryEntry(); //geting the result FROM ad active directory unspecified de.Path = dr.manager; de.AuthenticationType = AuthenticationTypes.Secure; DirectorySearcher search = new DirectorySearcher(de); search.Filter = string.Format("(objectClass={0})",'*'); search.PropertiesToLoad.Add("IsraelID"); results = search.FindOne(); de = results.GetDirectoryEntry(); but im getting an exception in the findone() System.Runtime.InteropServices.COMException (0x80004005): Unspecified error at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) at System.DirectoryServices.DirectorySearcher.FindOne() c# active-directory share|improve this question edited Jan 31 '12 at 15:46 skolima 16.4k1882121 asked Oct 25 '11 at 16:37 MIkCode 7381923 add a comment| 4 Answers 4 active oldest votes up vote 2 down vote accepted string LDAP = "LDAP://DC=MYDOMAIN,DC=COM"; using (DirectoryEntry dirEntry = new DirectoryEntry(LDAP, null, null, AuthenticationTypes.Secure)) using (DirectorySearcher dirSearch = new DirectorySearcher( dirEntry, string.Concat("(objectClass=*)"), new string[] { "IsraelID" })) { SearchResult result = dirSearch.FindOne(); if (result != null) return result.Properties["IsraelID"][0].ToString(); else return null; } Note: The string.Concat() around the "(objectClass=*)" statement is there because It's common to add additional statements or variables there. Make sure you have a proper LDAP string, and I would suggest using statements to make sure you dispose