PRB: ISQL Without -U Parameter Uses Network User NameLast reviewed: May 1, 1997Article ID: Q135697 |
The information in this article applies to:
SYMPTOMSThe command line utility ISQL.EXE uses the currently logged in network user name for the SQL Server login name if the -U parameter is omitted or is specified without a name after the parameter instead of passing null. This may cause the error 4002, 'Login Failed' when connecting to SQL Server in mixed security environments.
WORKAROUNDChange the SQL Server security to either Integrated or Standard modes, or use the -U parameter on ISQL to specify the correct SQL Server login name.
MORE INFORMATIONYou can verify this problem by enabling auditing of Failed Logins in the Set Security Options dialog of SQL Server Setup.
|
Additional query words: mixed
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |