ERROR_SXS_XML_E_EXPECTINGTAGEND - 14038 (0x36D6)

Manifest Parse Error : The character '>' was expected.

Updated: Feb 21, 2026

Technical Meaning

The error code ERROR_SXS_XML_E_EXPECTINGTAGEND (14038, 0x36D6) is a manifest parse error that occurs when the XML content being processed by the Windows Side-by-Side Assembly (SXS) system does not conform to expected syntax. Specifically, it indicates an unexpected end of tag in the XML document.

Error Details

This error typically arises during the parsing and validation of XML manifests used for assembly metadata or configuration files. The SXS subsystem relies on correctly formatted XML to ensure that assemblies are loaded and executed properly within the application domain isolation model provided by Windows.

Usage Context

The ERROR_SXS_XML_E_EXPECTINGTAGEND error can be encountered in various scenarios where XML manifests are involved, such as during assembly loading, deployment, or configuration. It is particularly relevant for applications that rely on SLP (Side-by-Side Loader) to manage their dependencies.

Developer Interpretation

When this error occurs, it signifies a problem with the XML content being parsed by the SXS system. The developer should focus on ensuring that all XML documents adhere to the expected structure and syntax rules. Common issues include missing closing tags or improperly formatted XML elements.

Related Errors

  • ERROR_SXS_XML_E_UNEXPECTEDTOKEN (14039, 0x36D7): Occurs when an unexpected token is encountered in the XML content.
  • ERROR_SXS_XML_E_MISSINGTAG (1403A, 0x36DA): Indicates a missing tag in the XML document.

FAQ

Q: What does the error code 14038 mean?

A: The error code 14038 corresponds to the manifest parse error indicating an unexpected end of tag in XML content. This typically occurs during SXS assembly loading or deployment.

Q: How can I resolve this issue?

A: Ensure that all XML documents used by your application are correctly formatted and adhere to the expected syntax rules. Validate the XML content using appropriate tools before deploying it.

Summary

The ERROR_SXS_XML_E_EXPECTINGTAGEND error (14038, 0x36D6) is a specific manifest parse error that occurs when the SXS system encounters an unexpected end of tag in XML content. Developers should focus on ensuring proper XML syntax and structure to avoid this issue.