Skip to content

MARS TDS header contained errors #687

Closed
@meirib

Description

@ajcvickers

Following my previous post:
dotnet/aspnetcore#24831

This error occurs spontaneously on Azure MSSQL, and only a web app restart seems to help:

Microsoft.Data.SqlClient.SqlException (0x80131904): The incoming tabular data stream (TDS) protocol stream is incorrect. The MARS TDS header contained errors.

Unfortunately, I'm using a 3rd party nuget that reproduces this issue, thus I cannot provide a runnable code for investigation.

However, It appears that this 3rd party uses Microsoft.EntityFrameworkCore.SqlServer (V3.1.6), which uses:
Microsoft.Data.SqlClient (V1.1.3) as it's default dependency version.

image

According this issue:
#85

I cannot conclude whether this issue is resolved in Microsoft.Data.SqlClient (V2.0.0) or not.
If so, an upgrade should resolve this matter?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions