How do I whitelist document extension in sharepoint 2019 on premise

jason tan 20 Reputation points
2023-09-06T01:30:26.71+00:00

Hi All,

Hi All,

I setup a VMs SharePoint 2019 on premise environment. can someone assist on how do I resolve the issue below?

  1. how do I white list document in SharePoint 2019? meaning i only want .doc,.txt to allow to upload to SharePoint. I know there's a feature is block file type but that was not I'm looking for( Blacklist)
  2. when I enable the search function I noticed there is a crawl log error d i have around 50k of this search error. what is the best way to resolve these issue? error( the object was not found ( Search ID = 34B9D116-34B9D116-CBC1-4AD9-A433-7EA8639EA869)

Thank you

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
1,965 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,030 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,243 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,626 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ling Zhou_MSFT 6,890 Reputation points Microsoft Vendor
    2023-09-06T09:13:44.99+00:00

    Hi @jason chen wenqing qing,

    Thank you for posting in this community.

    Question 1: white list document in SharePoint 2019.

    Unfortunately, there is no place to set up a file type whitelist in SharePoint 2019. We can only specify those files that cannot be uploaded to SharePoint. Maybe you can add all the common file suffixes in windows to the Blocked File Types and remove doc and txt to meet your needs. If there are other types of files that are subsequently prohibited from being uploaded, you can add them to the Blocked File Types.

    Question 2: crawl log error

    Since we can't reproduce your situation, we need to narrow down the problem and try some things.

    1.The error “The object was not found” may occur when the crawler tries to crawl items that have been moved, deleted, or renamed on the server. To solve this problem, you can create crawler rules to exclude these paths to the deleted content.

    1. Please try to reset the indexes and then do a full crawl again.

    3.If the problem persists, please provide a more detailed error message. This will help us to solve the problem better. Please be careful to code your private information.

    If there is any other assistance I can provide, please feel free to let me know.


    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.

    0 comments No comments

  2. jason tan 20 Reputation points
    2023-09-07T07:44:23.4066667+00:00

    Thank you for the comment.

    I will try and get back to you next week.

    need to exclude the crawl document, mean I can’t search the document?