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
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
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