Resolved: Trending Issue: HTTP Error 500.19 – “Cannot read configuration file because it exceeds the maximum file size”

After installation of recent updates for SharePoint (SP2016, SP2019, SPSE) users may receive an HTTP 500 error with the following additional details:
“Cannot read configuration file because it exceeds the maximum file size”

April 2024 CU includes a fix which removes the existing duplicate configuration elements from the web.config and prevents future duplicates from being added.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.