How do I whitelist document extension in sharepoint 2019 on premise

jason tan 55 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.
2,344 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,700 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,982 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,942 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Ling Zhou_MSFT 17,070 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 55 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?


  3. jason tan 55 Reputation points
    2023-10-06T02:11:16.9733333+00:00

    Hi @Ling Zhou_MSFT

    Any updates? i tried to run a full crawl but issue still there

    0 comments No comments

  4. Ling Zhou_MSFT 17,070 Reputation points Microsoft Vendor
    2023-10-06T05:21:50.2666667+00:00

    Hi @jason tan,

    Apologize for the late reply.

    These issues in your image are documented in the official SharePoint documentation. You can check these documents to fix it.

    1.InfoPath Forms Services forms cannot be filled out in a Web browser because no State Service connection is configured.

    Cause: No service connection for the State Service is configured for the Web application that is in the Health Analyzer alert.

    You can follow this article to solve this problem.

    2.Verify each User Profile Service Application has an associated Managed Metadata Service Connection. & Verify each User Profile Service Application has a My Site Host configured.

    Cause: The administrator who created the User Profile Service application did not also create a My Site host.

    You can follow this article to solve this problem.

    3.One of the cache hosts in the cluster is down

    Cause: The AppFabric Caching service is stopped.

    You can follow this article to solve this problem.

    4.The Net.Pipe Listener Adapter isn't available.

    Cause: If the Net.Pipe Listener Adapter service is not installed or started then the SharePoint Health Analyzer rule triggers an alert.

    You can follow this article to solve this problem.


    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

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.