Let's tech it
learn share innovate
Home
Enterprise software
Analytics
Ideas
Monday, November 5, 2012
SharePoint Configuration DB (Suspect) - How to recover
7:07 PM
SharePoint
1 comment
Run this Script
-- Use the Master database
Use Master
-- Verify that database has issues
EXEC sp_resetstatus 'SharePoint_Config'
-- Put the database in emergency mode
ALTER DATABASE SharePoint_Config SET EMERGENCY
DBCC checkdb('SharePoint_Config')
-- Set the database in single user mode
ALTER DATABASE SharePoint_Config SET SINGLE_USER WITH ROLLBACK IMMEDIATE
-- Repair the database with data loss
DBCC CheckDB ('SharePoint_Config', REPAIR_ALLOW_DATA_LOSS)
-- Set the database in multi-user mode
ALTER DATABASE SharePoint_Config SET MULTI_USER
-- Verify that database is reset
EXEC sp_resetstatus 'SharePoint_Config'
Read More
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Social Profiles
Popular
Tags
Blog Archives
About Me
Prasad Prabhu
IT consultant, sports data technologist, sports blogger, recreational footballer, keen observer and learner. I follow - sports, tech, innovation and people. In love with data analysis. Sport-trotter, my dream!
View my complete profile
Pages
Home
Home
Powered by
Blogger
.
Categories
SharePoint
(8)
SQL basics
(3)
Architecture
(2)
SQL
(2)
TipsNTricks
(2)
.Net
(1)
Analytics
(1)
CMS
(1)
Data analysis
(1)
Ideas
(1)
SQL Data types
(1)
Security basics
(1)
Technology adoption
(1)
Unified Communications
(1)
Web security
(1)
Workflow
(1)
XML Serialzation
(1)
Archives
►
2013
(5)
►
February
(1)
►
January
(4)
▼
2012
(2)
▼
November
(1)
SharePoint Configuration DB (Suspect) - How to rec...
►
May
(1)
►
2011
(9)
►
July
(2)
►
June
(6)
►
February
(1)
Labels
.Net
(1)
Analytics
(1)
Architecture
(2)
CMS
(1)
Data analysis
(1)
Ideas
(1)
Security basics
(1)
SharePoint
(8)
SQL
(2)
SQL basics
(3)
SQL Data types
(1)
Technology adoption
(1)
TipsNTricks
(2)
Unified Communications
(1)
Web security
(1)
Workflow
(1)
XML Serialzation
(1)
Blog Archive
►
2013
(5)
►
February
(1)
►
January
(4)
▼
2012
(2)
▼
November
(1)
SharePoint Configuration DB (Suspect) - How to rec...
►
May
(1)
►
2011
(9)
►
July
(2)
►
June
(6)
►
February
(1)
Blogroll
Blogger templates
-- Use the Master database
Use Master
-- Verify that database has issues
EXEC sp_resetstatus 'SharePoint_Config'
-- Put the database in emergency mode
ALTER DATABASE SharePoint_Config SET EMERGENCY
DBCC checkdb('SharePoint_Config')
-- Set the database in single user mode
ALTER DATABASE SharePoint_Config SET SINGLE_USER WITH ROLLBACK IMMEDIATE
-- Repair the database with data loss
DBCC CheckDB ('SharePoint_Config', REPAIR_ALLOW_DATA_LOSS)
-- Set the database in multi-user mode
ALTER DATABASE SharePoint_Config SET MULTI_USER
-- Verify that database is reset
EXEC sp_resetstatus 'SharePoint_Config'