Download Steps_to_Repair_Suspend_DB

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Issuse : Unable to use the printer and open the check in the pos .
Getting error message as shown below.
When checked the data base its shows in below example:
Database in MS SQL that is tagged as (suspect) and you are unable to connect to the database.
Possible Causes
 The database could have become corrupted.
 There is not enough space available for the SQL Server to recover the database
during startup.
 The database cannot be opened due to inaccessible files or insufficient memory or
disk space.
 The database files are being held by operating system, third party backup
software etc.
 There was an unexpected SQL Server Shutdown, power failure or a hardware
failure.
Solution
Step 1. Open Microsoft SQL Server Management Studio and connect to your database
Step 2. Click the New Query button
Step 3. Paste the following SQL script into your New Query page replacing [YourDatabase]
with the name of your database
EXEC sp_resetstatus [YourDatabase];
ALTER DATABASE [YourDatabase] SET EMERGENCY
DBCC checkdb([YourDatabase])
ALTER DATABASE [YourDatabase] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ([YourDatabase], REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE [YourDatabase] SET MULTI_USER
Step 4. Click Execute
Step 5.
Close the Microsoft SQL Server Management Studio
Step 6.
Restart the application “ BEVO”
Related documents