Target framework 6.0 not able to open sqlconnection

Ravi Gollapudi 1 Reputation point
2022-05-18T14:48:43.053+00:00

I have a project target to 6.0 and when opening sqlconnection I am getting

Arithmetic operation resulted in a overflow
At system.data.sqlclient.tdsparserstateobject.writebytes

When I change to 5.0 targetframework it's working fine.
Plz advice

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,708 questions
{count} votes