PRB: DB Marked Suspect; Operating System Error 5 (Access Denied)ID: Q193453
|
After you log in to SQL Server, the database is marked suspect. The error
log contains:
96/11/11 18:38:19.57 spid1 Activating disk '%*.s'
96/11/11 18:38:19.57 kernel udopen: operating system error 5(Access is
denied.) during the creation/opening of physical device
<Pysical_Device_Path>
96/11/11 18:38:19.57 kernel udactivate (primary): failed to open
device <Pysical_Device_Path> for vdn %*.d
96/11/11 18:38:23.35 kernel udread: Operating system error 6(The
handle is invalid.) on device '<Physical_Device_Path>' (virtpage %*.d).
96/11/11 18:38:23.37 spid15 Error : 840, Severity: 17, State: 2
96/11/11 18:38:23.37 spid15 Device '%*.s' (with physical name
'<Physical_Device_Path>', and virtual device number %*.d) is not
available. Please contact System Administrator for assistance.
96/11/11 18:38:23.37 spid15 Buffer %*.d from database '%*.s' has page
number %*.d in the page header and page number %*.d in the buffer header
96/11/11 18:38:23.39 spid15 Unable to proceed with the recovery of
dbid <%*.d> because of previous errors. Continuing with the next
database.
96/11/11 19:03:18.98 spid12 Database '%*.s' cannot be opened - it has
been marked SUSPECT by recovery. The SA can drop the database with DBCC.
96/11/11 19:03:18.98 spid12 Unable to proceed with the recovery of
dbid <%*.d> because of previous errors. Continuing with the next
database.
The account under which the MSSQLServer service is running does not have sufficient privileges on the device file.
To work around this problem, perform the following steps:
use master
go
sp_resetstatus <db_name>
For additional information, please see the following article in the
Microsoft Knowledge Base:
Q180500 PRB: Missing Device Causes Database to Be Marked Suspect
Additional query words: prodsql dev db
Keywords :
Version : winnt:6.5
Platform : winnt
Issue type : kbprb
Last Reviewed: July 26, 1999