List View returns error: "Sorry, something went wrong File Not Found" contains lookup column and additional column

UnderwoodMarlene-1858 115 Reputation points
2025-04-02T16:49:25.0533333+00:00

I have a view (Report View) on a list that is returning an error "Sorry, something went wrong File Not Found". When I remove the lookup column's additional column (Company:Description) OR if I group the list by the lookup column (Company) the error goes away. What is causing this? It used to work.

SharePoint Server 2016 on-premise

There are 1,360 rows.

5 lookup columns and 1 person people-picker column.

The lookup tables contain 52 rows or less (52, 4, 20, 6, 26).

Error page also has:

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.

Web part page has:

Web Part Title Type Open on Page?
Web Part Title Type Open on Page?
Hazard XsltListViewWebPart Yes

ULS Log has: 04/02/2025 11:30:30.42 w3wp.exe (0x1B40) 0x1D2C SharePoint Foundation General ai1wu Medium System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace: at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint) at Microsoft.SharePoint.JSGrid.SPGridInitGenerator.<GetInitObject>b__6(SPFieldLookup field) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] at Microsoft.SharePoint.JSGrid.SPGridInitGenerator.GetInitObject(String qualifier) at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.EnsureJSonObject() at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.OnPreRender(EventArgs e) at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.OnPreRender(EventArgs e) ... ce9490a1-87f1-90bd-df19-c3a237c8478d

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2025-04-03T02:42:51.05+00:00

    Hi @UnderwoodMarlene-1858 ,

    Thank you for posting in this community.

    It seems this is not a common issue per my test. However, we can work together to narrow down and resolve the situation.

    The error "Sorry, something went wrong File Not Found" in your SharePoint list view could be related to the use of lookup columns, especially when they are combined with additional columns. This issue may arise when the lookup columns are not properly configured or if there are missing references in the lookup data.

    In your case, since the error disappears when you remove the additional column or group by the lookup column, it suggests that the additional column (Company:Description) might not be able to retrieve the necessary data from the lookup table, leading to the "File Not Found" error.

    The ULS log indicates System.IO.FileNotFoundException , which typically occurs when the system cannot find a specified file or resource. This can happen if the lookup column references an item that has been deleted or if there are issues with the data integrity in the lookup tables.

    To resolve this, you may want to check the following:

    1. Ensure that all items in the lookup tables are intact and accessible.
    2. Verify that the lookup column configuration is correct and that it points to existing data.
    3. Consider creating a new view without the problematic additional column to determine if a specific additional column is causing the problem or if all additional columns are at fault.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.