| Предыдущий | Следующий |
| ERROR_DBG_COMMAND_EXCEPTION | ERROR_THREAD_WAS_SUSPENDED |
ERROR_OBJECT_NAME_EXISTS
Что означает ERROR_OBJECT_NAME_EXISTS
ERROR_OBJECT_NAME_EXISTS — предпринята попытка создать объект с уже существующим именем.
Что проверить
Проверьте существующий объект и его параметры до попытки создать или зарегистрировать новый.
- Установите, является ли повторная операция допустимой и идемпотентной по контракту API.
- Если существующий объект отличается от ожидаемого, изменяйте или удаляйте именно его, а не создавайте параллельный дубликат.
Исходная формулировка
this result {Object Exists} An attempt was made to create an object and the object name already existed.
A named kernel or system object already exists when code attempts to create it. In practical terms, this status belongs to named object creation: CreateEvent, CreateMutex, CreateFileMapping, registry, or related APIs encounter an existing name.
For many Win32 create APIs this is an informational result, not a failed handle. Always inspect the documented return contract before closing or discarding the returned object.
When this result appears, first determine whether the operation actually failed, completed with an informational condition, or transferred work to another component.
An incident begins when another process created the object first.
Технические ссылки
Нужно найти другой код? Найти другой код состояния или ошибки.