Windows error 0x80071392, -2147019886

Detailed Error Information

OBJECT_ALREADY_EXISTS[1]

MessageThe object already exists.
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 Code5010 (0x1392)

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

Questions

0votes
1answer

How to update data in Active Directory using DirectoryEntry?

I want to update user expire date in Active Directory. If already have user then update expire date. I try to call CommitChanges with this code: if (result == null) { DirectoryEntry newUser = dirEntry.Children.Add("CN=" + fNm, "user"); newUser.Properties["sAMAccountName"].Value = uNm; newUser.Properties["givenName"].Value = fNm; newUser.Properties["sn"].Value = lNm; newUser.Properties["displayName"].Value = NID_Number; [...] read more
c#
active-directory
directoryentry
0votes
1answer

The object already exists

I am writing a Windows Phone 8.1 App (WINRT). Sometimes my mainpage crashes and debugger doesnot even handle it. I tried applying try-catch to every line but it was not helping. It happens sometimes and not always. While debugging it directly goes into App.g.i.cs: #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION UnhandledException += [...] read more
c#
xaml
windows-runtime
windows-phone
windows-phone-8.1

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