All URLs Returning 404 Not Found on SharePoint Server 2019 Site Collection website

Arunachalam J 105 Reputation points
2024-11-11T13:45:11.9566667+00:00

Hi everyone,

I'm facing an issue with SharePoint Server where pages, lists, libraries, and site pages load correctly with read control, when accessed anonymously. However, when logged in as a user with full control, these same pages return a 404 Not Found error.but Previously those pages where working properly

Some example pages that encounter this issue include:

  • /sites/Apps/AppCatalog/Forms/AllItems.aspx
  • /_layouts/15/viewlsts.aspx?view=14
  • /Lists/HealthProjects/AllItems.aspx

Any insights or solutions to resolve this issue would be greatly appreciated.

Thank you in advance for your help!

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,289 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,898 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,968 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 36,406 Reputation points Microsoft Vendor
    2024-11-15T06:05:49.36+00:00

    Hi @Arunachalam J

    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.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others." and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [All URLs Returning 404 Not Found on SharePoint Server 2019 Site Collection website]

    Issue Symptom:

    Full control user are unable to find site pages and return 404 error while anonymously and reader could access the page properly.

    Solution:

    The web services had been stopped. Restart the services fixed 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!

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,406 Reputation points Microsoft Vendor
    2024-11-12T02:37:48.6366667+00:00

    Hi @Arunachalam J

    You could clear the local SharePoint config cache from all front end servers can resolve this issue

    Try Below Steps

    Stop the SharePoint Timer service on each of the servers within the SharePoint farm. Click Start -> go to Administrative Tools -> click Services -> Right-click SharePoint Timer Service -> click Stop.

    Navigate to the folder: %SystemDrive%\ProgramData\Microsoft\SharePoint\Config You will find multiple folders with similarly-formatted names containing files similar such as a326e515-0047-4328-832c-02927b84d98c.

    (these folders may be hidden. To enable view hidden folders, in File Explorer, click View and check the box for Hidden Items)

    1. Open the relevant folder and delete all files EXCEPT the Cache.ini file. (DO NOT DELETE THIS FILE)
    2. The folder should now only have the Cache.ini file.
    3. Modify the Cache.ini file by right-clicking and selecting Open With > Notepad
    4. Delete the contents of the Cache.ini file (example: 268861346) and replace it with 1.
    5. Save and exit the Cache.ini file ( steps 4 - 8 should be executed for each of these folders.)
    6. Once steps 4 - 8 are done for each GUID folder on a server, start the SharePoint Timer Service again. 10 Start the SharePoint Timer service on each of the servers within the SharePoint farm. Click Start -> go to Administrative Tools -> click Services -> Right-click SharePoint Timer Service -> click Start.
    7. Perform IIS reset and try access you site collection and you not see 404 error.By clearing the local SharePoint config cache from all front end servers can resolve this issue Try Below Steps
      1. Stop the SharePoint Timer service on each of the servers within the SharePoint farm. Click Start -> go to Administrative Tools -> click Services -> Right-click SharePoint Timer Service -> click Stop.
      2. Navigate to the folder: %SystemDrive%\ProgramData\Microsoft\SharePoint\Config You will find multiple folders with similarly-formatted names containing files similar such as a326e515-0047-4328-832c-02927b84d98c.
      (these folders may be hidden. To enable view hidden folders, in File Explorer, click View and check the box for Hidden Items)
      1. Open the relevant folder and delete all files EXCEPT the Cache.ini file. (DO NOT DELETE THIS FILE)
      2. The folder should now only have the Cache.ini file.
      3. Modify the Cache.ini file by right-clicking and selecting Open With > Notepad
      4. Delete the contents of the Cache.ini file (example: 268861346) and replace it with 1.
      5. Save and exit the Cache.ini file ( steps 4 - 8 should be executed for each of these folders.)
      6. Once steps 4 - 8 are done for each GUID folder on a server, start the SharePoint Timer Service again. 10 Start the SharePoint Timer service on each of the servers within the SharePoint farm. Click Start -> go to Administrative Tools -> click Services -> Right-click SharePoint Timer Service -> click Start.
      7. Perform IIS reset and try access you site collection and you not see 404 error.

    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.