连接 SQL Server 的登录名为 NULL

作者:vkvi 来源:ITPOW(原创) 日期:2008-5-15

使用 Windows 身份验证,可是登录名总是为 NULL,原来少写了 Integrated Security=SSPI。完整为:

Data Source=(local);Initial Catalog=db;Persist Security Info=True;Integrated Security=SSPI;

相关阅读

相关文章