身体丰满雪白的寡妇,亚洲精品无码人妻无码,日韩高清无码1区,欧美黄色A级影片,韩国免费a级作爱片无码,国产欧美无码亚洲毛片,在线综合亚洲欧美网站


A connection was successfully established with the server

but then an error occurred during the login process



數(shù)據(jù)庫(kù)學(xué)習(xí) 【2023-08-07 15:54】


Microsoft Visual Studio 2022

Asp.net core mvc 

DataBase first


用Scaffold-DbContext生成model時(shí)出錯(cuò):


Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.

06JNT(TZ13P96LHU9DV(XTN.png

改字符串連接:

加(Encrypt=True;TrustServerCertificate=True;)即可:


Scaffold-DbContext  "Data Source=DBServer;Initial Catalog=DB1;User ID=sa;Password=1234;Encrypt=True;TrustServerCertificate=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models 



友情鏈接:
SQL數(shù)據(jù)庫(kù)修復(fù)專家

——信陽(yáng)市速全網(wǎng)絡(luò)科技有限公司——

版權(quán)所有:信陽(yáng)市速全網(wǎng)絡(luò)科技有限公司

豫ICP備19030104號(hào)-2