日期:2014-05-18  浏览次数:20515 次

救命啊,我是个新手,一个ASP.NET的数据连接问题
$exception{"用户 'bangbang2008' 登录失败。原因: 未与信任 SQL Server 连接相关联。"}System.Exception {System.Data.SqlClient.SqlException}

------解决方案--------------------
数据库连接语句可能有问题....
(server=.;uid=sa;pwd=sa;database=pubs;Integrated Security=true)
在你的数据库连接语句上加上红色部门...
试试....
------解决方案--------------------
Integrated Security=true
同意