Login failed for user 'loginName'. Reason: The password of the account has expired. 今天网站访问报错,查看日志 是上述提示信息,原来是sql 2005的强制密码策略的问题。创建登录的时候默认设置如下