| Previous | Next |
| ERROR_SXS_XML_E_RESERVEDNAMESPACE | ERROR_SXS_XML_E_INVALIDSWITCH |
ERROR_SXS_XML_E_INVALIDENCODING
ERROR_SXS_XML_E_INVALIDENCODING — The manifest declares an XML character encoding that Windows does not support.
The Side-by-Side XML parser could not use the encoding named by the manifest. The declaration, byte order mark, and actual bytes must agree.
Use a supported encoding such as UTF-8, save the file consistently, and regenerate the manifest rather than editing bytes manually after signing.
What to check
- Inspect the XML declaration and the file encoding in the build output.
- Check for a mismatched or duplicated byte order mark.
- Use sxstrace to confirm the exact manifest file being parsed.
Microsoft: About Side-by-Side assemblies
Looking for a different code? Search another status or error code.