我正在创建一个网站,但在数据库中我使用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