0xc0000034 — Object name not found while opening a path The name in the file record cannot be resolved.
Why it happens
- A path with a trailing space
- A name longer than the volume’s limit
- A symlink whose target was deleted
Steps that usually fix it
- Remove trailing spaces from the file name
- Shorten the path
- Re-create the symlink target
Note
Avoid trailing spaces in design file names.
Last looked over 2026-10-05 by R. Okonkwo.
Before changing anything
The code above is what an application reports; it is not a diagnosis of what went wrong. Two checks are worth doing before permissions are touched: whether the file is on a volume the application can actually reach, and whether the file was moved or renamed since it was last opened. Both report as this code more often than a permission problem does.
Pages in this section describe the code as applications report it. Where a fix is listed here, it is one the library has seen work on a real file; where nothing has been confirmed, the page says so instead of guessing at a cause.