如果用SQL 验证方式登陆会提示以下错误信息
Server Error in '/Web' Application.
--------------------------------------------------------------------------------
Login failed for user 'mspetshop'. The user is not associated with a trusted SQL Server connection.
解决方法为:
运行 SQL Server Management Studio,在服务器名上右键,选择属性->安全,在服务器认证部分现在SQL Server和Windows验证模式,然后重启SQL Server服务。