Here is the interesting issue i came across while doing some migrations.
Post migration when i try to delete site collections from SP 2007 envionment, I deleted a site collection which is huge in size the operation went for such a long time and finally resulted failure to delete the site collection.
After that when i see the site collection from CA i see the site collection listed in CA but none of the properties for the site collection were listed there like Title, URL, Description, Database name.
All the above properties were empty.
An error like this prevents you from upgrading SharePoint aswell, because you won't be able to access the site collection either
Root cause : The site collection deleted from content database but some references still there in database.
Solution :
1. Execute database repair command :
Execute the following two commands one after one.
STSADM.EXE -o databaserepair -url "url of the application" -databasename "Name of the DB" >"C:\Result.txt"
STSADM.EXE -o databaserepair -url "url of the application" -databasename "Name of the DB" -deletecorruption
First command should result as <OrphanedObjects Count="0" />
2. Delete and add Content DB :
To resolve the error, detach and attach the content database of the afflicted site collection.
stsadm -o deletecontentdb -databasename "DB name" -url "site collection url"
stsadm -o addcontentdb -databasename "DB name" -url "site collection url"
NOTE : Executing above script will not delete anything in the content database except the issue causing things or partially deleted site collections.
After this you can go and check in CA and found the site collections deleted completely.
Thank you !!!
Post migration when i try to delete site collections from SP 2007 envionment, I deleted a site collection which is huge in size the operation went for such a long time and finally resulted failure to delete the site collection.
After that when i see the site collection from CA i see the site collection listed in CA but none of the properties for the site collection were listed there like Title, URL, Description, Database name.
All the above properties were empty.
An error like this prevents you from upgrading SharePoint aswell, because you won't be able to access the site collection either
Root cause : The site collection deleted from content database but some references still there in database.
Solution :
1. Execute database repair command :
Execute the following two commands one after one.
STSADM.EXE -o databaserepair -url "url of the application" -databasename "Name of the DB" >"C:\Result.txt"
STSADM.EXE -o databaserepair -url "url of the application" -databasename "Name of the DB" -deletecorruption
First command should result as <OrphanedObjects Count="0" />
2. Delete and add Content DB :
To resolve the error, detach and attach the content database of the afflicted site collection.
stsadm -o deletecontentdb -databasename "DB name" -url "site collection url"
stsadm -o addcontentdb -databasename "DB name" -url "site collection url"
NOTE : Executing above script will not delete anything in the content database except the issue causing things or partially deleted site collections.
After this you can go and check in CA and found the site collections deleted completely.
Thank you !!!
SharePoint utilizes a windows Service sharepoint development
for logging. some of the time, such as amid sending, you will discover the log document is growing couple of hundreds megabytes in brief time. So following administration may play a bit part in execution. On the off chance that you needn't bother with the log petition for a timeframe, you can handicap the windows benefit. Amid advancement I typically impair the administration and when I have to see the log document, I empower the administration.Visit Here-http://aufait.in/sharepoint or call us-+91 80 46557800
ReplyDeleteHey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
AWS Training in Chennai | Best AWS Training in Chennai | AWS Training Course in Chennai
Data Science Training in Chennai | Best Data Science Training in Chennai | Data Science Course in Chennai
No.1 Python Training in Chennai | Best Python Training in Chennai | Python Course in Chennai
RPA Training in Chennai | Best RPA Training in Chennai
Web Designing Training in Chennai | Best Web Designing Training in Chennai
It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
ReplyDeleteData science Course Training in Chennai |Best Data Science Training Institute in Chennai
RPA Course Training in Chennai |Best RPA Training Institute in Chennai
AWS Course Training in Chennai |Best AWS Training Institute in Chennai
Devops Course Training in Chennai |Best Devops Training Institute in Chennai
Selenium Course Training in Chennai |Best Selenium Training Institute in Chennai
Java Course Training in Chennai | Best Java Training Institute in Chennai
And indeed, I’m just always astounded concerning the remarkable things served by you. Some four facts on this page are undeniably the most effective I’ve had.
ReplyDeleteJava Training in Chennai |Best Java Training course in Chennai
C C++ Training in Chennai |Best C C++ Training course in Chennai
Data science Course Training in Chennai |Best Data Science Training course in Chennai
RPA Course Training in Chennai |Best RPA Training course in Chennai
AWS Course Training in Chennai |Best AWS Training course in Chennai
Devops Course Training in Chennai |Best Devops Training course in Chennai
Selenium Course Training in Chennai |Best Selenium Training course in Chennai
Java Course Training in Chennai | Best Java Training course in Chennai
Web Designing Training in Chennai | Best Web Designing Training course in Chennai
MATLAB TRAINING IN CHENNAI | Best MATLAB TRAINING course IN CHENNAI
ReplyDeleteThis is one of the best blog and I got more different ideas about this topic. Really happy to see your wonderful post and keep posting
Oracle Training in Chennai
Oracle Training institute in chennai
Pega Training in Chennai
Tableau Training in Chennai
Oracle DBA Training in Chennai
Primavera Training in Chennai
Unix Training in Chennai
Power BI Training in Chennai
Oracle Training in Chennai
Oracle Training institute in chennai
I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating us.
ReplyDeleteBlue Prism Training in Chennai
Blue Prism Course in Chennai
Angularjs Training in Chennai
AWS Training in Chennai
Big Data Analytics Courses in Chennai
CCNA Course in Chennai
SEO Training in Chennai
Blue Prism Training in Tambaram
It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
ReplyDeleteData science Course Training in Chennai |Best Data Science Training Institute in Chennai
RPA Course Training in Chennai |Best RPA Training Institute in Chennai
AWS Course Training in Chennai |Best AWS Training Institute in Chennai
Devops Course Training in Chennai |Best Devops Training Institute in Chennai
Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way. T hank you so much.
ReplyDeleteIELTS Coaching in Coimbatore
IELTS Training Coimbatore
IELTS Training in Coimbatore
German coaching classes in Coimbatore
Best Spoken English institute in Coimbatore
embedded systems training in coimbatore
best java training in coimbatore
Cloud Computing Courses in Coimbatore
Its very nice post and useful to understand. Thanks for sharing your knowledge
ReplyDeleteSharepoint Training in Electronic City
I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.
ReplyDeleteBest PHP Training Institute in Chennai|PHP Course in chennai
Best .Net Training Institute in Chennai
Dotnet Training in Chennai
Dotnet Training in Chennai
Dotnet Training in Chennai
Very useful post. I found so many interesting stuff in your blog especially its discussion. Really it's great article. oracle training in chennai
ReplyDelete
ReplyDeleteThis post is so interactive and informative.keep update more information...
Tally Course in Chennai
Tally Classes in Chennai
Online Tally Course