SQL Server Error Code – 6841 for xml could not serialize the data for

In this blog post, you’ll learn more about the SQL Server Error Code 6841 and the error message description that is shown

SQL Server Error Code

6841

SQL Server Error Description for the Code :6841

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.

Leave Your Comment