Что означает код ошибки Windows 1921 (ERROR_CANT_RESOLVE_FILENAME)?

 
Предыдущий Следующий
ERROR_CANT_ACCESS_FILE RPC_S_ENTRY_TYPE_MISMATCH

ERROR_CANT_RESOLVE_FILENAME

Что означает ERROR_CANT_RESOLVE_FILENAME

ERROR_CANT_RESOLVE_FILENAME — система не может разрешить указанное имя файла.

Что проверить

Запишите полный путь в том виде, в котором он передан Windows, и отдельно определите итоговый путь после точек подключения, символических ссылок и точек повторной обработки.

  • Проверьте существование каждого компонента пути, точки подключения и доступность целевого тома или сетевого ресурса.
  • Если используется относительный путь, зафиксируйте текущий каталог процесса; для символической ссылки или точки повторной обработки проверьте целевой объект и разрешённый тип перехода.

Исходная формулировка

  • Windows could not resolve the supplied file name to a usable file-system target.
  • Capture the original path, whether it is relative, current directory, process and user session, expanded environment values, drive mapping, normalized full path, reparse tags encountered, network provider, and the API performing resolution.
  • Name resolution can involve relative-path context, drive mappings, UNC providers, symbolic links, mount points, reparse points, short names, shell search behavior, and normalization rules.
  • Avoid using shell search functions when the contract requires a precise file path. If the name comes from a shortcut, manifest, registry value, or protocol, inspect the authoritative source before normalizing it. Reproduce while monitoring rename and namespace-provider events when the failure is intermittent.
  • Convert relative input to an absolute path under controlled rules and verify each path component. Inspect drive mappings in the service’s own session, not the administrator’s desktop. Resolve reparse points and UNC components step by step and check that the intended provider is available.

Технические ссылки


Нужно найти другой код? Найти другой код состояния или ошибки.