Hi i get an error when using a big database >1.7G :+1 please could you help me Michael?
Get-ADDBAccount -All -DBPath "ntds.dit" -BootKey $key
Get-ADDBAccount : An item with the same key has already been added.
At line:1 char:1
The Stacktrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at DSInternals.DataStore.DirectorySchema.LoadAttributeProperties(Cursor dataTableCursor) in d:\a\1\s\Src\DSInternals.DataStore\DirectorySchema.cs:line 255
at DSInternals.DataStore.DirectorySchema..ctor(IsamDatabase database) in d:\a\1\s\Src\DSInternals.DataStore\DirectorySchema.cs:line 39
at DSInternals.DataStore.DirectoryContext..ctor(String dbFilePath, Boolean readOnly, String logDirectoryPath) in d:\a\1\s\Src\DSInternals.DataStore\DirectoryContext.cs:line 100
at DSInternals.PowerShell.Commands.ADDBCommandBase.BeginProcessing()
Hi i get an error when using a big database >1.7G :+1 please could you help me Michael? Get-ADDBAccount -All -DBPath "ntds.dit" -BootKey $key Get-ADDBAccount : An item with the same key has already been added. At line:1 char:1
The Stacktrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at DSInternals.DataStore.DirectorySchema.LoadAttributeProperties(Cursor dataTableCursor) in d:\a\1\s\Src\DSInternals.DataStore\DirectorySchema.cs:line 255 at DSInternals.DataStore.DirectorySchema..ctor(IsamDatabase database) in d:\a\1\s\Src\DSInternals.DataStore\DirectorySchema.cs:line 39 at DSInternals.DataStore.DirectoryContext..ctor(String dbFilePath, Boolean readOnly, String logDirectoryPath) in d:\a\1\s\Src\DSInternals.DataStore\DirectoryContext.cs:line 100 at DSInternals.PowerShell.Commands.ADDBCommandBase.BeginProcessing()