In this post we will discuss how we can resolve SharePoint 2013 error which comes while opening a SharePoint 2013 site. Recently while opening a SharePoint 2013 sub site from a site collection, I got the below error:
Server Error in ‘/’ Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
You can also read:
– How to create managed path for a web application using PowerShell?
– Move documents from one list to another list with metadata in SharePoint 2013 Online
– Enable Design Manager in SharePoint 2013 Team Site
The site URL was like below:
I have checked the Home.aspx page under the Pages directory, it was presented there and also it is published also. But still the error was coming.
Then we found out that the Home page was using a page layout and the page layout was checked out by another user. When I try to discard check out, it gave me an error which says the pagelayoutname.aspx page is not exists.
Then I copy the page layout from my old environment and I paste it in the new environment. Check out and publish the page layout in major version and then it started working.
Sometime also you will see if the master page you are using if it is not there, it will give the same error.
Hope this will be helpful.