SharePoint top of site cannot be found
MOSS SharePoint 2007 SP 3 system
I have a couple of small test sharepoint farms. This particular farm I haven't had time to take a look at for a month or two. When I last checked it, things were fine. Yesterday, when I went to
http://machine/ I got an HTTP 404 - page not found.
However, when I go to the site collections under the top, they are found. The central admin application is also found.
I have tried opening the site up in sharepoint designer, and it cannot find the site either.
I go into IIS, and there is, under application pools, an entry for default web site.
However, under the web sites folder, there is nothing for default web site.
Is this a situation where running something - or recoverying something - can get the farm going again?
August 24th, 2012 7:11am
Are the Confirmation and Automatic Deletion Settings set to automatically delete site collections if unused? (Central Administration -> Application Management -> Confirm site use and deletion)
If they are, you may be able to retieve the site from the recycle bin with the Get-SPDeletedSite and Restore-SPDeletedSite cmdlets.
I would try this even if auto delete is not on in case someone has deleted the site collection (it happens...)
Jason Warren
Infrastructure Architect
Habanero Consulting Group
habaneroconsulting.com/blog
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2012 1:00pm
Thanks for the idea, but no, those are not set on the site collection. I don't remember ever noticing that on the Central Admin!
August 24th, 2012 1:30pm
Hi,
Is your site visible in "view all site collections" in Central Admin?-Kranthi
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2012 6:49am
No, when I view the site collection list, or try to change site collections in the other operations, the "/" site collection is not displayed.
August 27th, 2012 6:40am
Hi,
The site collection might have been deleted some how.
What do you mean by
"However, when I go to the site collections under the top, they are found."
in your post-Kranthi
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2012 7:00am
What I mean is that the site collection "/" is not displayed in the show site collection list, but the other site collections for the farm are shown, and are accessible.
So, is there anything special that needs to be done if I have to recreate the "/" site collection? It's SP 2007 SP 3, but I am pretty certain there isn't a recycle bin around that has the old
one sitting in it.
August 27th, 2012 12:03pm
When I run
stsadm -o enumsites -url http://mydevsp
I get a series of http://mydevsp/sites/... entries,
http://mydevsp/ssp/admin,
http://mysdevsp/personal/..., and http://mydevsp/MySite - but I don't get a
http://mydevsp entry. Looks like the top level of the site is gone.
The thing is, we do not run site collection backups on this machine. I could run a backup on the other development machine's "root" site colleciton and load it on the one that is missing the site collection.
That would give us a site collection of the appropriate "name" - but would that just make things worse?
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2012 1:42pm
Go to central admin and see the root site collection in the web application you created. click on "/" and see the URL. If you dont see it means its deleted . Go to the re cycle bin and check. restore it from there.
SPRavi
August 27th, 2012 2:17pm
I don't see the root site collection in the web applications that are there.
The recycle bin in central admin has nothing in it.
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2012 12:31pm
As I stated above, if the site collection is in the recycle bin, you will only be able to see it with the
Get-SPDeletedSite cmdlet. There is no way to see deleted site collections in the UI.
If the site still exists in the recycle bin (as per Get-SPDeletedSite), then you can restore it to the web application using the
Restore-SPDeletedSite cmdlet.
Jason Warren
Infrastructure Architect
Habanero Consulting Group
habaneroconsulting.com/blog
August 28th, 2012 12:42pm
Jason, I am so sorry - I mis-read your original post and thought that the cmdlet was somehow connected to the auto delete.
I've not tried using powershell on the sp 2007 server. Are you aware of any intros for a sharepoint 2007 admin to help me figure out what I need to be able to use powershell like that?
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 10:21am
Oh, I'm sorry. I somehow missed the very first sentence of your post (and the forum we're in). The cmdlets are not available in MOSS, only for SharePoint 2010. Sorry about that.
Jason Warren
Infrastructure Architect
Habanero Consulting Group
habaneroconsulting.com/blog
August 29th, 2012 10:29am
Weird - when I google for get-deletedsite, I seem to see a lot of indication that this is a cmdlet net to sharepoint 2010 sp1.
On My SP 2007 SP3 site, I did get powershell up, using instructions from
http://www.mssharepointtips.com/tip.asp?id=1098
but the PowerShell says
PS C:\Documents and Settings\sa_spsdev> Get-DeletedSite
The term 'Get-DeletedSite' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At line:1 char:15
+ Get-DeletedSite <<<<
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 10:37am
No problem. Looks like I am out of luck. When I try using PowerShell to do something simple like
C:\Documents and Settings\sa_spsdev> $spsite=[Microsoft.SharePoint.SPSite]("http://machine/")
I get back an error saying that the site could not be found.
I don't suppose there is any SP 2007 powershell cmdlets for rectifying this situation, are there?
August 29th, 2012 10:41am