BUG: Missing Log Device Causes Access Violation at Startup

Last reviewed: April 29, 1997
Article ID: Q117514

The information in this article applies to:

  - Microsoft SQL Server version 4.21 for Windows NT
BUG# NT: 831 (4.21)

SYMPTOMS

During startup, SQL Server generates an access violation and a Dr. Watson error may be displayed. Examining the SQL Server error log will show an error opening a device that contains the active portion of the log.

For example:

   server   Activating disk 'TestLog'
   kernel   udopen: operating system error 2(The system
            cannot find the file specified.) during the
            creation/opening of physical device
            e:\sql\data\TestLog.dat
   kernel   udactivate: failed to open device
            e:\sql\data\TestLog.dat for vdn 2
   kernel   SQL Server i/o to the device will be disabled

The last entry in the error log will show SQL Server attempting to run recovery on the database with the missing log:

   server   Recovering database 'Test'
   kernel   udstartio: vdn 2 has not been set up

CAUSE

SQL Server is causing an access violation while trying to return an error message.

WORKAROUND

Verify that the log device exists and is named correctly. The file name and path that SQL Server is attempting to use is recorded in the error log.

STATUS

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


Additional query words: trap GP-Fault errorlog
Keywords : kbbug4.21 kbother SSrvErr_Log SSrvWinNT
Version : 4.21
Platform : WINDOWS
Issue type : kberrmsg


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 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.