Page not found 404 on Default.aspx

Why do you receive a 404 when trying to visit Default.aspx on your SharePoint Site ( among other multiple reasons) ?

Answer ( among other potential answers ) :)

The site might reside at the root of a Wildcard inclusion managed path.

EX:

Webapplication             https://SharePoint

Managed Path at          /ManPath/

The Default page at     https://SharePoint/ManPath/Default.aspx

When you try to access the site, you receive a 404 (Page not found)

 

Why

By design

Solution

Remove the managed path through UI or powershell

 

$wa = Get-SPWebApplication -identity https://SharePoint

$wa.Prefixes

$wa.Prefixes.Delete("ManPath")

$wa.Update()

 

How do you end-up in this ?

Well, by creating a managed path at the same URL as your newly created TeamSite

Comments

  • Anonymous
    January 01, 2003
    :)

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    thx for solution :)

  • Anonymous
    November 01, 2013
    You are a life saver!! Thanks a lot

  • Anonymous
    April 01, 2014
    For me was a corrupt Default.aspx page.

    Open Sharepoint Designer, go to a site thats working and browse all files, copy the content of the Default.aspx page.
    Then open broken site, browse all files, delete Default.aspx page, recreate it with copied html. Voila!