Select the product you need help with
PRB: Unable to Connect to SQL Server Through ODBC When Password Contains a Semi-colonArticle ID: 301076 - View products that this article applies to. This article was previously published under Q301076 SYMPTOMS
When you use SQL Server Authentication, a computer running SQL Server allows login passwords to be defined with semi-colons. When you attempt to connect to a SQL Server server through ODBC or OLEDB by using a SQL Server login whose password contains a semi-colon, an error message similar to the following occurs:
Unable to connect to server <servername>: Server: Msg 18456, Level 16, State 1 [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '<username>'. CAUSE
ODBC interprets the semi-colon as the end of the password, not part of the password itself.
RESOLUTION
Change the password and remove the semi-colon.
STATUS
This behavior is by design.
PropertiesArticle ID: 301076 - Last Review: October 30, 2003 - Revision: 3.2
|


Back to the top








