我正在創建一個網站,但在數據庫中我使用Windows身份驗證。使用Windows身份驗證的連接字符串
我知道,你用這個SQL認證
<connectionStrings>
<add name="NorthwindContex"
connectionString="data source=localhost;
initial catalog=northwind;persist security info=True;
user id=sa;[email protected]"
providerName="System.Data.SqlClient" />
</connectionStrings>
如何修改這個Windows身份認證的工作?
我知道你可以將特定的AD用戶設置爲應用程序池(web應用程序)。你可以做同樣的Windows應用程序? – user384080
'Persist Security Info'可能不需要:http://stackoverflow.com/a/2010059/1869660 – Sphinxxx
@ heads5150:有沒有可能我的項目中沒有連接字符串?我錯過了什麼。我已經搜遍了我的整個解決方案,找到上面的連接字符串。我找不到任何。我創建的那個在網絡發佈和網絡配置中被評論了..我使用vs express 2013與本地數據庫。 – Vini