Errors updating Onenote documents stored in Sharepoint Subscription edition - "Unsaved changes unable to save section"

clarky000 60 Reputation points
2023-07-19T06:02:57.3666667+00:00

Just recently we are seeing an error when trying to save changes to existing onenote documents saved in our Sharepoint subscription edition (on-prem) environment.

In the browser if we add a section to any document, we see the error "Unsaved changes unable to save section". This is occuring to all documents hosted in our sharepoint environment since patching on the weekend. Editing other office documents using OOS is working fine. Only Onenote documents are an issue.

If we open the document in Onenote and make a change we get the following error when trying to sync the onenote back to sharepoint:

We can't sync the notebook because you're offline or because the network location is unavailable. (Error code: 0x80070002)

The sharepoint site is online and functioning fine. It resolves from the machine using the web browser. It just seems to have issues making changes to the onenote.

In the sharepoint server log I am seeing errors like:

File exception: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

System information

Sharepoint subscription edition - July 2023 CU

Office Online server - July 2023 CU

Onenote 2016

Microsoft Edge Version 114.0.1823.82 (Official build) (64-bit)

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | Office Online Server
{count} votes

1 answer

Sort by: Most helpful
  1. clarky000 60 Reputation points
    2023-09-25T04:36:54.8766667+00:00

    Yes I did get a solution from Microsoft in the end. They advised it was a bug. Solution was to run the following powershell command on a farm server:

    Execute the following command in the SharePoint Management Shell on any of your SharePoint server:
      $farm = Get-SPFarm
      $farm.ServerDebugFlags.Add(53112)
      $farm.update()
    
    

    Followed by an IIS reset on the web front end servers

    1 person found this answer helpful.

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.