locked
SharePoint top of site cannot be found RRS feed

  • Question

  • 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?

    Friday, August 24, 2012 11:11 AM

All replies

  • 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




    Friday, August 24, 2012 5:00 PM
  • 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!

    Friday, August 24, 2012 5:30 PM
  • Hi,

    Is your site visible in "view all site collections" in Central Admin?


    -Kranthi

    Sunday, August 26, 2012 10:49 AM
  • No, when I view the site collection list, or try to change site collections in the other operations, the "/" site collection is not displayed.
    Monday, August 27, 2012 10:40 AM
  • 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

    Monday, August 27, 2012 11:00 AM
  •  

    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.

    Monday, August 27, 2012 4:03 PM
  • 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?

    Monday, August 27, 2012 5:42 PM
  • 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


    • Edited by SP2013Farmer Monday, August 27, 2012 6:20 PM added info
    Monday, August 27, 2012 6:17 PM
  • 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.

    Tuesday, August 28, 2012 4:31 PM
  • 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

    Tuesday, August 28, 2012 4:42 PM
  • 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?

    Wednesday, August 29, 2012 2:21 PM
  • 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


    Wednesday, August 29, 2012 2:29 PM
  • 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 <<<<

    Wednesday, August 29, 2012 2:37 PM
  • 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?

    Wednesday, August 29, 2012 2:41 PM