By default, web.config of SharePoint (should be there: C:\Inetpub\wwwroot\wss\VirtualDirectories\80) defines the maximum number of controls as 200. Should you define more on a page you’ll probably get an error similar to this:
Solution
In order to fix it, edit this web.config. Find configurationSharePoint\SafeMode tag and change the MaxControls attribute to a bigger number. Once you do this, reload the page. It should help.




I’m dealing with this same error message, but I am unable to edit the web.config, because this is a hosted site. Is there a list of controls that can be deleted? right now I hate to do it, but I am now deleting controls that I know I will not be using. Just not sure what will happen if there is an upgrade.
Unfortunately, I know nothing about such list.
hi Jarosław Dobrzański,
i change in web.config maximum=500 .
it working fine.
thank you very much.
u saved me.
million of thanks.
I was at a major stumbling block, but thanks to you Jarosław Dobrzański, my problem has been solved!
Thank you very very much!
Ashok (ash)
Hi Jarosław, many thanks.
You really saved me too.
I changed MaxControls to 500 and everything seems to be going ok.