File not found error while opening SharePoint 2013 Site

This SharePoint 2013 tutorial, we will disucss how to solve Sorry something went wrong. File not found error in SharePoint 2013.

Recently while opening a SharePoint 2013 site, we got an error which says: Sorry something went wrong. File not found.

And it looks like below:

Sorry something went wrong. File not found error in SharePoint 2013
Sorry something went wrong. File not found error in SharePoint 2013

File not found error in SharePoint 2013

When we check the ULS logs we found the below error apart from few other errors related to the particular site. Because of this, the site was not opening. But when I checked directly in the front end servers and in some web server it is opening but in some, the site was not opening.

11/17/2015 23:19:53.06* w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation Runtime tkau Unexpected … at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 39ba429d-4eda-a03f-5a1f-a4b9c43378be

11/17/2015 23:19:53.06 w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpException (0x80004005): Exception of type ‘System.Web.HttpException’ was thrown. —> System.IO.FileNotFoundException: The file /it/apps/_catalogs/masterpage/minimal_Ver6.master does not exist. at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound) at Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.CalculateFileDependencies(HttpContext context, SPRequestModuleData basicRequestData, ICollection& directDependencies, ICollection& childDependencies) at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureDependencies(HttpContext context, SPRequestModuleData requestData) at Microsoft.SharePoint.ApplicationRuntime.SPDat… 39ba429d-4eda-a03f-5a1f-a4b9c43378be

As in the second part of the master page, I saw the error which says, The file /it/apps/_catalogs/masterpage/minimal_Ver6.master does not exist.

And this was causing the issue.

Then I opened the Settings page in the browser

And change the master page url from the Look and Feel section to the default master page.

Then the SharePoint 2013 site opened without any error.

You may also like following SharePoint tutorials:

Hope this SharePoint tutorial helps to solve Sorry something went wrong. File not found error in SharePoint 2013.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.