system.data.sqlxml.dll Error in Windows 10 and 11: SQL Server CLR XML assembly

When an error names system.data.sqlxml.dll, check the application's log for the first exception. The DLL is associated with sql server clr xml assembly. Write down which operation fails, the app version, and any assembly version or path in the full message. An app can report an assembly it has located when a dependency or version check fails next.
Reproduce the failing operation with a safe test
In the supported app, run the application’s read-only XML query on a trusted nonproduction database with the same supported SQL version. Only use a documented query that reads a disposable test record or writes no data. Record whether the assembly error comes from the Windows client, the SQL Server host, or a deployed CLR component. If the error is on the server, pass it to its administrator without changing the CLR trust policy.
Repair the supported installation
For a client app that owns the failing dependency, use the vendor’s matching repair package after saving the app’s settings. If the log points to the SQL Server host, have its administrator check the supported SQL Server installation and update history. Preserve the current database and CLR security settings.
Use an installer that matches the application release and its dependencies. Keep the current DLL files in place for the supported repair to manage.
Verify the original feature
Open the same executable and repeat the sample operation. Confirm that the sample returns the known XML fields and no assembly load error recurs. If the original failure recurs, note the latest error, the observed sample result, and the runtime or package version for support.
See Microsoft’s exact SQL CLR assembly reference, Microsoft’s .NET Framework repair instructions, and the related CLR troubleshooting guide.