SOLVED

Sharepoint Online: This page allows a limit of 300 controls, and that limit has been exceeded,

%3CLINGO-SUB%20id%3D%22lingo-sub-1372502%22%20slang%3D%22en-US%22%3ESharepoint%20Online%3A%20This%20page%20allows%20a%20limit%20of%20300%20controls%2C%20and%20that%20limit%20has%20been%20exceeded%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372502%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20have%20a%20page%20(.aspx)%20in%20Team%20Site%20in%20Sharepoint%20Online%2C%20with%20number%20of%20hyperlink%20controls%20which%20was%20working%20fine.%20All%20of%20a%20sudden%2C%20it%20started%20giving%20the%20exception%20while%20trying%20to%20edit%20the%20page.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EThis%20page%20allows%20a%20limit%20of%20200%20controls%2C%20and%20that%20limit%20has%20been%20exceeded.%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EOn%20searching%20in%20Google%2C%20some%20links%20referred%20to%20update%20the%20following%20in%20web.config.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSAFEMODE%20maxcontrols%3D%22%E2%80%9D200%E2%80%B3%22%20callstack%3D%22%E2%80%9Dfalse%E2%80%9D%22%20directfiledependencies%3D%22%E2%80%9D10%E2%80%B3%22%20totalfiledependencies%3D%22%E2%80%9D250%E2%80%B3%22%20allowpageleveltrace%3D%22%E2%80%9Dfalse%E2%80%9D%22%3E%3C%2FSAFEMODE%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAs%20it%20is%20Sharepoint%20Online%2C%20i%20cannot%20modify%20the%20web.config.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20help%20will%20be%20appreciated.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EVenkat.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1372502%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1375291%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%3A%20This%20page%20allows%20a%20limit%20of%20300%20controls%2C%20and%20that%20limit%20has%20been%20exceeded%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1375291%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F37647%22%20target%3D%22_blank%22%3E%40Venkata%20Ratnam%20Vemula%3C%2FA%3E%26nbsp%3Bas%20per%20my%20knowledge%20you%20wont%20be%20able%20to%20do%20so%20unless%20you%20change%20the%20design%20pattern%20of%20your%20content%20load.%20Usually%20you%20can%20introduce%2C%20pagination%20and%20tabs%20to%20get%20rid%20of%20such%20situations.%20Please%20consider%20them%20to%20ensure%20feasibility%20in%20SP%20online.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1381369%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%3A%20This%20page%20allows%20a%20limit%20of%20300%20controls%2C%20and%20that%20limit%20has%20been%20exceeded%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1381369%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394813%22%20target%3D%22_blank%22%3E%40Vikram_Samal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%20Looks%20like%2C%20I%20cannot%20edit%20the%20page%2C%20which%20makes%20it%20unusable.%20Is%20there%20any%20other%20way%2Ci%20can%20edit%20this%20page%20and%20modify%20as%20you%20suggested.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1383950%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%3A%20This%20page%20allows%20a%20limit%20of%20300%20controls%2C%20and%20that%20limit%20has%20been%20exceeded%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1383950%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F39939%22%20target%3D%22_blank%22%3E%40Venkata%20Ratnam%20Vemula%3C%2FA%3E%26nbsp%3Bin%20the%20page%20what%20type%20of%20contents%20are%20there%20any%20custom%20components%20are%20there%3F%20can%20you%20try%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fmysite%2FPages%2FHome%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyorsharepointurl%2FPages%2FHome.aspx%3Fcontents%3D1%20%2Ct%3C%2FA%3E%3CSPAN%3Ehat's%20will%20allow%20you%20to%20see%20the%20web%20part%20maintenance%20page%20and%20then%20you%20can%20try%20and%20eliminate%20the%20problematic%26nbsp%3Bweb%20part.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1384720%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%3A%20This%20page%20allows%20a%20limit%20of%20300%20controls%2C%20and%20that%20limit%20has%20been%20exceeded%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1384720%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394813%22%20target%3D%22_blank%22%3E%40Vikram_Samal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20helped.%20Thanks%20Vikram.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1384726%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Online%3A%20This%20page%20allows%20a%20limit%20of%20300%20controls%2C%20and%20that%20limit%20has%20been%20exceeded%2C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1384726%22%20slang%3D%22en-US%22%3EHi%20Venkat%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20confirmation%20please%20mark%20the%20response%20appropriately%20if%20it%20helps%20with%20your%20solution.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3EVikram%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi,

We have a page (.aspx) in Team Site in Sharepoint Online, with number of hyperlink controls which was working fine. All of a sudden, it started giving the exception while trying to edit the page.

 

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

 

On searching in Google, some links referred to update the following in web.config. 

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

As it is Sharepoint Online, i cannot modify the web.config. 

 

Any help will be appreciated.

 

Thanks

Venkat.

5 Replies

@Venkata Ratnam Vemula as per my knowledge you wont be able to do so unless you change the design pattern of your content load. Usually you can introduce, pagination and tabs to get rid of such situations. Please consider them to ensure feasibility in SP online.

Highlighted

@Vikram_Samal 

Thanks for the reply. Looks like, I cannot edit the page, which makes it unusable. Is there any other way,i can edit this page and modify as you suggested.

Highlighted
Solution

@Venkata Ratnam Vemula in the page what type of contents are there any custom components are there? can you try https://yorsharepointurl/Pages/Home.aspx?contents=1 ,that's will allow you to see the web part maintenance page and then you can try and eliminate the problematic web part.

Highlighted
Highlighted
Hi Venkat

Thanks for confirmation please mark the response appropriately if it helps with your solution.

Thanks
Vikram