Differences

This shows you the differences between two versions of the page.


Previous revision
ms_windows_ms_sql:dfs_namespace_could_not_contact_or_inaccessible [2019/02/11 09:13] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Проблема ======
 +Ошибки такие:
 +<code>dfsdiag /testdfsintegrity /dfsroot:...
 +Warning: The following DFS path is inaccessible and will not be tested again.
 +  
 +DFSDiag /TestDFSConfig /DFSRoot:...
 +Error: Element not found.
 +Error: Could not contact the following namespace root:...
 +  
 +DFSDiag /TestSites /DFSPath:...
 +Warning: Unable to access the DFS metadata for the following namespace:...
 +  
 +New-DfsnRootTarget -Path "..." -TargetPath "..."
 +New-DfsnRootTarget : Operation cannot be carried out because an object already exists.
  
 +Remove-DfsnRootTarget -Targetpath "..."
 +Remove-DfsnRootTarget : A general error occurred that is not covered by a more specific error code.
 +
 +DFS Namespace Cannot Be Queried
 +</code>
 +
 +====== Решение ======
 +Решение состоит в том, чтобы удалить глючный неймспейс из AD. Для этого:
 +  - Открываем оснастку **ADSI Edit** (**ADSIedit.msc** )
 +  - Подключаемся к **Default naming context**.
 +  - Находим в дереве раздел **DC=<domain DN>, CN=System, CN=Dfs-Configuration**
 +  - Внутри этого раздела находим объект, соотвествующий глючному неймспейсу, кликаем правой кнопкой по нему и удаляем со всем содержимым.
 +  - Дожидаемся репликации по AD или выполняем
 +<code>
 +repadmin /syncall
 +</code>
 +для ускорения процесса.
 +
 +
 +https://techjourney.net/dfs-namespace-cannot-be-queried-error-remove-delete-orphaned-namespace/ \\
 +https://support.microsoft.com/ru-ru/help/977511/