Home > Net >  The.net standard 2.0 connection used to database failed
The.net standard 2.0 connection used to database failed

Time:03-19

Program: Microsoft. The Data. SqlClient. TdsParser type initializers cause abnormal

Winform program, the program and database deployment in your computer can be connected with vs2019 used database, deploy on another computer without vs even not on, at the above mistake,

CodePudding user response:

SqlConnection Open error, when using Microsoft. The Data. SqlClient, Version=1.0.19269.1

CodePudding user response:

Your database is installed in the local? If it is locally, check the connection string, and, of course, you should ensure that the database can be accessed in the LAN...

CodePudding user response:

You have a look at Microsoft. The Data. SqlClient. TdsParser,
Need to rely on the.net framework version
  •  Tags:  
  • C#
  • Related