In one of the production environments running Windows Server 2003 R2, this file size went upto 300KB. When the team migrated the app to run on Windows Server 2008 R2 and IIS 7.5, they received an error “cannot read configuration file because it exceeds the maximum file size”.
The issue was resolved by changing a registry key.
Make sure to restart the process once the key is updated.
Will you give this article a +1 ? Thanks in advance