473,472 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

'Suspect' DB won't open - OS error 32- Help!

Help! One of my main databases has been marked as suspect - the
initial problem is that my disk had no space. So I moved some files,
made some space, stopped & restarted the service, and now I get this
error in the errorlogs. There can't be anything else using the
database - I restarted the machine to kill everything that might be
touching it, including the client application.

2005-03-30 14:35:21.96 kernel udopen: Operating system error 32(The
process cannot access the file because it is being used by another
process.) during the creation/opening of physical device
c:\mssql7\data\<database>.mdf.

2005-03-30 14:35:22.01 kernel FCB::Open failed: Could not open device
c:\mssql7\data\<database>.mdf for virtual device number (VDN) 1.

2005-03-30 14:35:22.03 spid6 Device activation error. The physical
file name 'c:\mssql7\data\<database>.mdf' may be incorrect.

Jul 23 '05 #1
1 5301
(co*********@yahoo.com) writes:
Help! One of my main databases has been marked as suspect - the
initial problem is that my disk had no space. So I moved some files,
made some space, stopped & restarted the service, and now I get this
error in the errorlogs. There can't be anything else using the
database - I restarted the machine to kill everything that might be
touching it, including the client application.

2005-03-30 14:35:21.96 kernel udopen: Operating system error 32(The
process cannot access the file because it is being used by another
process.) during the creation/opening of physical device
c:\mssql7\data\<database>.mdf.

2005-03-30 14:35:22.01 kernel FCB::Open failed: Could not open device
c:\mssql7\data\<database>.mdf for virtual device number (VDN) 1.

2005-03-30 14:35:22.03 spid6 Device activation error. The physical
file name 'c:\mssql7\data\<database>.mdf' may be incorrect.


http://www.karaszi.com/SQLServer/inf...suspect_db.asp might give
some ideas.

However, you may find that it's best to restore a clean backup. If you
don't have any clean backup, and that data is dear to you, I would
recommend open a case with Microsoft.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Saiyou Anh | last post by:
I have two questions: (1) How can we diagnose the reason of database suspect? The error log doesn't tell me much. (2) After restart the server, the suspect is gone, but how can I ensure everthing...
4
by: Corepaul | last post by:
I am working in Windows 2000 and Access 2000 and am a rookie in Access. Coding merrily along, I stop periodically to test that everything works. After adding a small amount of code to several...
4
by: David Killian Woods | last post by:
I just installed VC++.NET and haven't had much luck. It just won't compile anything that isn't stored on a local hard drive. Local projects are fine (well, other than my stupid mistakes) and...
1
by: Alpha | last post by:
I have a Window based application that shows up still running in the task manager when I close it. It reaches the "this.close" statement and then it stops at the "}" at the section of the...
0
by: jeff | last post by:
Im having a problems with IIS on my XPpro(notebook) and win2k(desktop) machines. I installed Visual Studio .NET 2003 both, and am trying to create a C# asp.net application. The webserver (iis)...
3
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from...
4
by: Susan Rice | last post by:
I'm new to using CString. Why won't the following compile? I'm using Microsoft Visual C++ 6.0 Line 37 which it complains about is the function: 37 CString ConvertFile(char *szFileName) I...
16
by: alexia.bee | last post by:
Hi all, In some weird reason, excel instance won;t die if i remove the comment from 4 lines of setting values into struct. here is a snipcode public...
0
by: jrshack | last post by:
I'm using PHP to collect html form inputs and populates form fields in a PDF document. After it populates the PDF with the inputs from the front-end html form It prompts you to "open or save the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.