This page allows a limit of 200 controls, and that limit has been exceeded.

This issue occurs when the number of controls present in page(including master page control) exceed default limit set for the web application.By default it set to 200.

In my case i had application page with many controls and when i tried to view page it throws an error “This page allows a limit of 200 controls, and that limit has been exceeded”

download

To resolve this issue steps are as follows

1. open the web.config file of the web application(located in inetpub)

2.Take the back of web.config file and open the file in notepad or any text editor

3. find the tag

<SafeMode MaxControls=”200″ CallStack=”false” DirectFileDependencies=”10″ TotalFileDependencies=”250″ AllowPageLevelTrace=”false”>

and Change the max controls attributes to higher than 200, I set to 1500,increase until it resolved the issue. 

Hope this help

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s