Windows error 0x8007089A, -2147022694

Detailed Error Information

BAD_USERNAME[1]

MessageThe specified username is invalid.
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 Code2202 (0x089a)

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

Questions

1vote
1answer

Creating local users

I am having a bad directory day. :) Could someone tell me what is wrong with this? groupName = "Monkey"; ... using (DirectoryEntry directoryEntryObject = new DirectoryEntry("WinNT://" + Environment.MachineName, "", "", AuthenticationTypes.Secure)) { using (DirectoryEntry group = directoryEntryObject.Children.Add("CN=" + groupName.Trim(), "group")) { group.Properties["sAMAccountName"].Value = groupName; group.CommitChanges(); } } What i [...] read more
c#
.net
adsi
0votes
0answers

Grand IIS7 metabase on Windows 7

I have this instruction to Grand IIS metabase aspnet_regiis.exe -i aspnet_regiis -ga ASPNET in Window Xp IIS6 can run then in Windows 7 for this error > C:\Windows\Microsoft.NET\Framework\v2.0.50727>%windir%\Microsoft.NET\Framework\v > 2.0.50727\aspnet_regiis -ga ASPNET Start granting ASPNET access to the IIS > metabase and other directories used by ASP.NET. An error has [...] read more
iis
-1votes
2answers

Windows 8: error when trying to create new user

When I try to create a new user the Settings app, at the end of the process I get an error that says: We're sorry, but something went wrong. This user wasn't added to this PC. Code: 0x8007089a I created a user a few days ago without any problem. I've [...] read more
windows-8
user-accounts

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