1
我不断收到错误IIS连接到SQL Server 2014的Windows Server 2012
“无法打开‘mydb’数据库登录所请求的。登录失败。用户登录失败 “NT AUTHORITY \ NETWORK SERVICE””
这是我的连接字符串
SqlConnection _connection = new SqlConnection("Data Source='MYSERVER\\SE';Initial Catalog=mydb;Integrated Security=True;MultipleActiveResultSets=True; Trusted_Connection=Yes");
相同的Web表格可在本地连接到SQL Server在Windows 8.1中。
这是为什么?
没有添加网络服务登录到数据库,就像我在Windows 8中。谢谢 – ssn