'連線錯誤訊息

[Login Failed.  Check for valid user ID, server name and password  Native Error code: 4002]

解決方式:

加上[Persist Security Info=True]

<addname="ConnectionString"connectionString="Provider=Sybase.ASEOLEDBProvider.2;Server Name=DB;User ID=AUTO;Password=666;Initial Catalog=TWN;Persist Security Info=True"providerName="System.Data.OleDb"/>

arrow
arrow
    全站熱搜

    M 發表在 痞客邦 留言(0) 人氣()