SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed SharePoint and all was working fine. Today when I go to the root website for my web application I am getting a 404. I get this on my other web application as well. Central admin is loading fine. I have checked the following:

  • SharePoint services are running
  • IIS web sites have started
  • IIS application pools have started
  • Database are up

What else could I check so I can try and work out why I am getting the 404?

Just to confirm this was all working before (This is a Windows 7 machine with SharePoint installed for development)

share|improve this question
A couple of initial steps: 1) Can you successfully ping the web address of your site? 2) Are Alternate Access Mappings configured for your site in Central Admin? – Howard Jan 10 '12 at 15:12
1) Ping is failing (on both locahost:80 and machine name:80) – John Jan 10 '12 at 15:16
2) Alternate mapping is set up as machinename:port (this was working before) – John Jan 10 '12 at 15:17
Ping test don't include port numbers. What happens if just do: ping <machinename> ? – Howard Jan 10 '12 at 15:22
Ping works without port – John Jan 10 '12 at 15:24

I had this happen to me recently and its was because I failed to actually create the site collection. I did happen to create the webapp so all the IIS settings/db was there. In central admin verify you do have a site collection.

share|improve this answer

1) Check the databases, actually go into SQL and open the AllUserData table, make sure you can open it (using the same identity as SP)

2) Check ULS logs?

3) Check event viewer?

4) Check hard drive space on all servers in farm, make sure you have at least a few gigs free.

share|improve this answer
1) All working fine – John Jan 10 '12 at 15:28
4) 400GB+ Free space – John Jan 10 '12 at 15:28
3) All looks good, get a complaint when i try to access via localhost about not setting up alternate mapping. When I put the machine name in no error – John Jan 10 '12 at 15:37
2) Again no errors that I can see... – John Jan 10 '12 at 15:40
machinename works but localhost doesnt? – David Lozzi Jan 10 '12 at 15:48

Related: SharePoint 2010 New Installation - Site Collection

Answer by Greg Hurlman:

Double-check the Site Collection List in Central Admin, make sure your site is listed there. If it is, if you haven't been able to make use of the site yet, delete & recreate the site collection. If the same result, and this is the only site collection on the web app, delete & recreate the web app as well.

Were there any errors on install? What install method did you use (Setup Wizard, Config Wizard, and Farm Configuration Wizard, Powershell scripted install)?

share|improve this answer

Resolution Steps (Worked for me):

Go to application pool of Central Administration.

Right click on it and go to Advanced Settings

In the Process Model section, increase the shutdown time limit to 200 for example.

It is a good idea to restart IIS now.

share|improve this answer

Please check if the 'Alternate Access Configuration' is correctly set. Sometimes, when the IP is listed as 'Default', this issue can occur. Change it to 'Extranet' and provide the IP instead of the URL if required.

share|improve this answer

In my case an db detach attach for the specific sitecollection helped me out of the cave :) But it was an sharepoint 2013 environment!

share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – wjervis Dec 29 '14 at 13:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.