Unusual Document Upload error when replacing existing documents in SharePoint 2019 on-prem

John Kanost 25 Reputation points
2024-05-02T13:52:35.29+00:00

This is happening on an on-prem SharePoint Server 2019 website that we host for a client. Users cannot upload an existing document with the intent to replace with a new version, using any method.

We can still open documents from the site, make edits, and save them, and we can still upload new documents to libraries on the site with no problem. This only occurs when uploading a document with the same name as an existing one.

Screenshot 2024-05-02 084105

This icon appears, and it is the only indication we're seeing that an error has occurred. Once this occurs, the entire document library toolbar becomes locked and the only way to take any further action is to refresh the page or navigate away and back to it. It almost seems as if the normal prompt (i.e. replace or create a copy) when uploading a doc that already exists is failing for some reason.

I've been searching online to see if anyone else has had this issue, but with no luck. It's becoming more and more difficult to find support articles related to on-prem SharePoint.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,248 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Haoyan Xue_MSFT 20,901 Reputation points Microsoft Vendor
    2024-05-03T02:20:35.02+00:00

    Hi @John Kanost ,

    Thank you for posting in this community.

    I tested this in my Sharepoint 2019 environment. As expected, ask if you need to replace the one that already exists.Click Replace, it will overwrite the original file with the new one.

    User's image

    It seems this is not a common issue per my test. However, we can work together to narrow down and resolve the situation. So, Please kindly provide more information below to let us work further.

    1.Make sure your SharePoint Server is up-to-date with the latest patches and updates.

    2.Sometimes browser compatibility can cause issues. Try using a different browser or ensure that your current browser is not in compatibility mode.

    3.Try to Upload Using File Explorer:

    • Open the SharePoint library in File Explorer (Windows Explorer).
    • Navigate to the folder where you want to upload the new version of the document.
    • Drag and drop the updated document from your local drive into the SharePoint library.
    • SharePoint should handle the versioning and replacement automatically.

    Hope the information can help you.


    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.


  2. John Kanost 25 Reputation points
    2024-05-03T11:41:46.2733333+00:00

    I checked the server and it is up to date as of this morning.

    Using a different browser did provide more information on the error; I was able to see this message in Chrome:

    User's image

    So I checked the log files on the server, and it looks like it is an authentication problem:

    05/03/2024 07:27:30.60 w3wp.exe (0x162C) 0x1738 SharePoint Foundation Claims Authentication af32k Medium Claims Windows Sign-In: Sending 401 for request '[SITEURL]/_api/web/GetFolderByServerRelativePath(DecodedUrl=@a1)/Files/AddStubUsingPath(DecodedUrl=@a2)/StartUploadFile(uploadId=@a3)?@a1='/Shared Documents'&@a2='Test.pdf'&@a3=guid'cf63845e-f122-48fb-8efe-ee4f4eee87d5'' because the user is not authenticated and resource requires authentication. 260625a1-e5f1-f0a0-defb-f47ac149f102 05/03/2024 07:27:30.60 w3wp.exe (0x162C) 0x1738 SharePoint Foundation General b6p2 Medium Sending HTTP response 401 - text/plain:401 UNAUTHORIZED. 260625a1-e5f1-f0a0-defb-f47ac149f102 05/03/2024 07:27:30.60 w3wp.exe (0x162C) 0x1738 SharePoint Foundation Asp Runtime avwia Medium SPRequestModule.PostLogRequestHandler Begin 260625a1-e5f1-f0a0-defb-f47ac149f102

    Not sure why though since I am accessing the site as the site collection administrator.


  3. Haoyan Xue_MSFT 20,901 Reputation points Microsoft Vendor
    2024-05-14T01:34:07.09+00:00

    Hi @John Kanost ,

    I'm glad to hear you solve the problem, if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.

    I would make a brief summary of this thread:

    Issue Symptom:

    Unusual Document Upload error when replacing existing documents in SharePoint 2019 on-prem.Once this occurs, the entire document library toolbar becomes locked and the only way to take any further action is to refresh the page or navigate away and back to it. It almost seems as if the normal prompt (i.e. replace or create a copy) when uploading a doc that already exists is failing for some reason.

    Current status:

    have to install KB 5002580 together with kb5002538. Download and install kb5002538 solved the issue.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!


  4. Chengyi Wu 0 Reputation points
    2024-05-22T05:05:40.4566667+00:00

    Please try installing the patch with the latest MUI patch.User's image

    0 comments No comments