• <input id="0q6eq"></input>
  • <input id="0q6eq"><source id="0q6eq"></source></input>
  • <input id="0q6eq"></input><input id="0q6eq"></input>
    <dl id="0q6eq"></dl>
  • <dl id="0q6eq"><address id="0q6eq"><u id="0q6eq"></u></address></dl><input id="0q6eq"><noscript id="0q6eq"></noscript></input>
    <dl id="0q6eq"></dl>
  • <menuitem id="0q6eq"><ruby id="0q6eq"></ruby></menuitem>
    <menuitem id="0q6eq"></menuitem>
    <sup id="0q6eq"><noscript id="0q6eq"><cite id="0q6eq"></cite></noscript></sup>
    <input id="0q6eq"></input>

    A connection was successfully established with the server

    but then an error occurred during the login process



    數據庫學(xué)習 【2023-08-07 15:54】


    Microsoft Visual Studio 2022

    Asp.net core mvc 

    DataBase first


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


    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數據庫修復專(zhuān)家
    • 關(guān)注微博
      聯(lián)系QQ
    • 二維碼
    • 掃一掃加關(guān)注

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

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

    豫ICP備19030104號-2

    国产欧美久久久精品影院,91在线|欧美:,欧美日韩亚洲第一页,欧美日韩一区二区成人午夜电影
  • <input id="0q6eq"></input>
  • <input id="0q6eq"><source id="0q6eq"></source></input>
  • <input id="0q6eq"></input><input id="0q6eq"></input>
    <dl id="0q6eq"></dl>
  • <dl id="0q6eq"><address id="0q6eq"><u id="0q6eq"></u></address></dl><input id="0q6eq"><noscript id="0q6eq"></noscript></input>
    <dl id="0q6eq"></dl>
  • <menuitem id="0q6eq"><ruby id="0q6eq"></ruby></menuitem>
    <menuitem id="0q6eq"></menuitem>
    <sup id="0q6eq"><noscript id="0q6eq"><cite id="0q6eq"></cite></noscript></sup>
    <input id="0q6eq"></input>