SharePoint 2013 migration issues File not found and 404 not found issue
Check out Best Alternative to InfoPath -> Try Now
This SharePoint 2013 tutorial explains how to solve SharePoint File not found and 404 not found issues in SharePoint 2013 migration project.
The issues related to File not found and 404 not found issues in SharePoint 2013 sites which were migrated from moss 2007 to SharePoint 2013. Recently we found these issues in a few sites and subsites and all those are migrated from moss 2007 to SharePoint 2013.
All of the issues are came in default.aspx pages and few with other pages that are using Page layouts.
So below are the few things you can debug:
SharePoint migration: Page without page layouts
If it is pages like default.aspx page then looks if the page is checked out to someone. If yes try to check-in the page or overwrite check-in or discard check out. But in certain cases, you might not be able to do anything. But you can run a PowerShell command to do that like below:
Add-PSSnapin Microsoft.SharePoint.PowerShell $spWeb = Get-SPWeb("https://Site URL/") $spFile = $spWeb.GetFile("https://Site URL/default.aspx") $spFile.UndoCheckOut() $spFile.Update() $spWeb.Dispose()
The above command will undo checkout the page.
Usually what happens is if a particular page is checked out by someone and you move the site from one server to another server, maybe a migration issue or tool issue sometimes that shows as file not found the issue.
The other thing you can try is, open SharePoint 2013 designer, take a backup of your default.aspx page. Then delete the default.aspx page. And then rename the backup default.aspx page to the default.aspx page. This might solve the issue as well.
SharePoint Migration: Page with page layouts
Sometimes you can also find the same file not found an issue while opening a page that was having page layout attached to it. Till now I have faced two issues in this, first things are if really the page layout exists or not.
To check whether page layout is correct or not, go to the page document library which will display all the page and in the page layout column, it will show the page layout attached to the particular page. Click on the page layout and if it goes to File not found an error then you need to put the page layout.
To upload the page layout to go to the Site settings page. Then click on “Master pages and page layouts” which is under “Web Designer Galleries”. There upload your page layout to the Master pages and page layouts gallery.
Apart from this, you can check the below thing especially if you have migrated from moss 2007 to SharePoint 2013 using the Database upgrade approach.
Just check the URL for the page layout for the particular page. Go to the Page properties and see the page layout path there. The path should be correct.
Recently we saw the issue on one page where the page path it was taking was Test site rather than our production.
You may like following SharePoint migration tutorials:
- SharePoint 2010 to SharePoint Online Migration Steps using Metalogix tool
- SharePoint 2010 to SharePoint 2013/2016/2019 Migration Steps (Database attach method)
- Lotus Notes to SharePoint Migration
- Free SharePoint Migration Tool from Microsoft
- [Video Tutorial] Free SharePoint Migration Tool from Microsoft
- Lotus Notes to SharePoint Migration Blog
- SharePoint 2013 Document library checkboxes missing after migration from Moss 2007 to SharePoint 2013
- SharePoint 2010 to 2013 migration Custom New Folder in Ribbon Disabled
- Office 365 SharePoint Easy Migration
- Approaches for migration from SharePoint 2007 to SharePoint 2013
- Migration from SharePoint 2007 to SharePoint 2013 challenges tips to know
I hope this will be helpful to solve File not found and 404 not found an issue which comes while migrating sites from MOSS 2007 to SharePoint 2013.
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.