| Previous | Next |
| DWRITE_E_FILENOTFOUND | DWRITE_E_FONTCOLLECTIONOBSOLETE |
DWRITE_E_FILEACCESS
DWRITE_E_FILEACCESS means that DirectWrite located a font file but could not open it because of access denial, a sharing conflict, or a similar storage-level failure. It is distinct from a missing file: the location may be correct while the current process is not allowed to read the data reliably.
What to verify
- The identity of the process, its access token, and the permissions on the font file and every parent location involved.
- Whether an installer, updater, antivirus product, or another process temporarily holds the file with incompatible sharing rules.
- Whether the application reads from a network, redirected, removable, or sandboxed location whose availability differs from an interactive desktop session.
Do not treat it as a parsing error
Changing the font parser or re-encoding the file does not solve an access problem. Establish a readable and stable source first, then recreate the font file or collection object; keep the underlying Win32 access error in logs when the loader exposes it.
Microsoft: DirectWrite error codes · Microsoft: custom font collections
Looking for a different code? Search another status or error code.