SQL Server error code
SQL Server error 6841
SQL Server raises error 6841 at severity 16, which marks a problem with the query or data that you can correct.
FOR XML could not serialize the data for node '%.*ls' because it contains a character (0x%04X) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image data type and use the BINARY BASE64 directive.
| Msg | 6841 |
|---|---|
| Severity | 16 |
| Group | 6000–6999 |