BUG: Service Pack Installation Fails If QUOTED_IDENTIFIER Option On

ID: Q191333


The information in this article applies to:


SYMPTOMS

If you apply a service pack on SQL Server 6.5 where QUOTED_IDENTIFIER is turned on system-wide in the server configuration setting "user options", the service pack installation scripts will fail and you will see the following message:

Setup initialization could not be successfully completed.
ISQL.EXE could not be executed. Please check the relevant .OUT file

The Sqlole65.out file in the MSSQL\Install directory will show the following message:
Msg 103, Level 15, State 2, Server SERVERNAME, Procedure sp_MStablekeys
The identifier that starts with 'Asser' is too long. Maximum length is 30.

Msg 170, Level 15, State 1, Server SERVERNAME, Procedure sp_MStablekeys
Line 122: Incorrect syntax near 'Assert failed: @indid is null in
sp_MStablekeys (pk/uq)'.

The server will be running, but you will not be able to establish a connection to it in SQL Enterprise Manager. If you attempt to connect to the server, you will get the following message:
A connection could not be established to SERVERNAME. This server has not
installed version 6.5 or later of the Microsoft SQL-DMO (SQLOLE) stored
procedures for its SQL Server version. The connection is denied.


CAUSE

Service pack installation scripts expect that the QUOTED_IDENTIFER option is not turned on globally.


WORKAROUND

To work around this problem, try either of the following:


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

For information on how to create a stored procedure that can be run to get a more meaningful display of the @@options value, see the following article in the Microsoft Knowledge Base:

Q156498 : INF: How to Determine the Current Settings for @@options

Additional query words: down upgrade failed backout enabled


Keywords          : SSrvInst kbbug6.50 
Version           : WINNT:6.5
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: April 14, 1999