Could not obtain information about Windows NT group/user '%ls', error code %#lx.

Error Message:
Msg 15404, Level 16, State 11, Line 1
Could not obtain information about Windows NT group/user ‘%ls’, error code %#lx.

Severity level:
16.

Description:
This error message appears when you try to use SETUSER with a Windows login.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Errors of the Severity Level 11 are generated by the user and can be fixed by the SQL Server user. The statement cannot be executed this way. You can use SETUSER only with SQL Server logins.

Versions:
All versions of SQL Server.

Example(s):
SETUSER ‘MyDomainabc’
GO
SETUSER

Remarks:
In the above example we try to use SETUSER with a Windows domain user ‘MyDomainabc’. This raises the error.

]]>

Leave a comment

Your email address will not be published.