错误信息:用户 '(null)' 登录失败。原因: 未与信任 SQL Server 连接相关联。
连接字符串:
string strCon = "server=202.XXX.XXX.XXX;User ID=Test; Password=test; initial catalog=tempdb;"
+"database=tempdb;trusted_connection=yes;connect timeout=30";