BUG: SQLOLE_STARTSRV_TYPE Datatypes Fail When Using StartMode

Last reviewed: April 9, 1997
Article ID: Q159846
The information in this article applies to:
  • Microsoft SQL Server, version 6.5
BUG #: 16257 (sqlbug_65 sql 6.5)

SYMPTOMS

When you issue the Start Method, all SQLOLE_STARTSRV_TYPE datatype parameters except for SQLOLEStart_Defaults and SQLOLEStart_StartAndConnect will fail their desired behavior.

WORKAROUND

To work around this problem, do one of the following:

  • For SQLOLE_NoServiceControl, spawn a new Sqlservr.exe process, using the -c command line parameter.
  • For SQLOLE_NTErrorLogging, spawn a new Sqlservr.exe process, avoiding the -n command line parameter.
  • For SQLOLE_SingleUser, spawn a new Sqlservr.exe process, using the -m command line parameter.

STATUS

Microsoft has confirmed this to be a problem in Microsoft 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

Steps to Reproduce the Problem:

  1. Create a VB Project with a single command button on a form.

  2. Insert the following code:

       Private Sub Command1_Click()
           Dim SQLServer As New SQLServer
    
           SQLServer.Start "VOOM", "sa", "", , , , SQLOLEStart_SingleUser
    
       End Sub
    
       This will start SQL Server, but not in single user mode.
    
    

  3. Open ISQL/w and create as many connections as you want.


Additional query words: DMO distributed management objects
Keywords : kbbug6.50 kbusage SSrvDMO SSrvISQL
Version : 6.5
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.