Tuesday, April 20, 2010

How to work around "This page allows a limit of 200 controls, and that limit has been exceeded" error in Sharepoint?

The way to work around is to change 1 of the configuration in web.config file for sharepoint. Change MaxControls to desire number in the configuration below.

<SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
<PageParserPaths />
</SafeMode>