Hi,
My SharePoint Crawl Database went on Suspect mode suddenly & now i need to bring on Online mode.
For solving this issue, i Google on several sites & came across following steps,
Steps:
- EXEC sp_resetstatus 'DBName';
- ALTER DATABASE DBName SET EMERGENCY
- DBCC checkdb('DBName')
- ALTER DATABASE DBName SET SINGLE_USER WITH ROLLBACK IMMEDIATE
- DBCC CheckDB ('DBName', REPAIR_ALLOW_DATA_LOSS)
- ALTER DATABASE DBName SET MULTI_USER
- DBCC CheckDB ('DBName')
Now the problem is Step 1 & 2 completed successfully, but when i tried step 3 it is throwing me below error,
Msg 945, Level 14, State 2, Line 1
Database 'DBName' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.
I am using the service account which has full rights on the server & through which the SQL Server 2012 was configured.
Current status Database is in Emergency mode & I am stuck over there.
Please help.
Regards,
Purvish Shah