Windows error 0x80072030, -2147016656

Detailed Error Information

DS_NO_SUCH_OBJECT[1]

MessageThere is no such object on the server.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code8240 (0x2030)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00002030.

Questions

11votes
2answers

Add member to AD group from a trusted domain

I have two domains, in a trusted relationship, that I'm trying to manage from a C# web application. To do that, I have to impersonate two different technical users, but that works good, so I will not emphasize that part of the code. To build proper and easy to manage [...] read more
c#
active-directory
active-directory-group
5votes
3answers

UserPrincipal.FindByIdentity Insists "There is no such object on the server."

I am currently aiming to implement a read-only role provider for an ASP.NET application based on domain security groups using the utilities in the System.DirectoryServices.AccountManagement assembly. I have the following piece of code which works fine on my development domain, but fails in the deployment environment: Using myContext As New [...] read more
.net
vb.net
.net-3.5
active-directory
account-management
1vote
2answers

SSIS package fails and then runs successfully 15 minutes later

I have an SSIS package that is scheduled to run every weekday morning at 8:15. It copies data to and from Active Directory and SQL. About two weeks ago, it started failing, with no changes having been made to the server (beyond MS updates). The funny thing is that if [...] read more
sql
ssis
active-directory
1vote
1answer

AD LDS error "There is no such object on the server"

I am using blow code to create account/user in AD LDS from my local machine (virtual desktop) client. In my local below code works fine But after deploying code to some other server which is different from where AD LDS is installed it throws error "There is no such object [...] read more
c#
asp.net-mvc
adlds
1vote
0answers

Exception : There is no such object on the server at System

I try to obtain a certificate with LDAP, but i have an exception > System.Runtime.InteropServices.COMException(0x80072030): There is no such > object on the server at System My code : Dim ldapUrl = "LDAP://annuaire.sesam-vitale.fr/cn=amo_pj.test@test.rss.fr,ou=AC-FACTURATION,ou=AC-SESAM-VITALE-2034,o=sesam-vitale,c=fr?userCertificate;binary" Dim de As DirectoryEntry = New DirectoryEntry(ldapUrl) de.AuthenticationType = AuthenticationTypes.None Dim dsearch As DirectorySearcher = New DirectorySearcher(de) [...] read more
vb.net
ldap
directoryentry
comexception
1vote
1answer

DirectoryServicesCOMException (0x80072030) when trying to access active directory

I'm trying to access AD data via ldap with the connection like: LDAP://dc1.corp:port/OU=Users,DC=domain,DC=com Then using the directorySearcher.FindOne().GetDirectoryEntry(); This 100% works on my machine, but when I do this on the server it throws DirectoryServicesCOMException (0x80072030) There is no such object on the server. I found the similar question on so, [...] read more
c#
active-directory
ldap
1vote
1answer

Replication issues with Active Directory and multiple DCs

We are having issues using active directory and moving/renaming OUs. This only occurs when we replicate between two domain controllers. The exception we get is: > System.ServiceModel.FaultException: There is no such object on the server. > (Exception from HRESULT: 0x80072030) We get variations of this error message when we try [...] read more
c#
active-directory
ldap
replication
0votes
1answer

Problem with function calling function in PowerShell

I have two functions: 1. CreateComputer-Group 2. CreateCoomputer-Role Once first function executes then GroupCreated in first function is used in second function to create computer role. How can I make sure first function execution is completed and then only second function to execute. Here is the code: $global:usergroup = "TACACS [...] read more
powershell
active-directory
centrify
0votes
1answer

How to programmatically access this Active Directory as LocalService?

Trying to access the local ActiveDirectory from my Windows Service. I was going to try using the LocalService to access it, it works when I run it inside Visual Studio as Administrator, but failed when I run it as an actual Service. Do I need to provide the SecurityIdentifier to [...] read more
c#
active-directory
ldap
windows-services

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0