Sunday, March 25, 2007

MOSS 2007

AS mentioned in previous posts, I have been trying to load a user control using a smartpart but this error was showing up:
"This page allows a limit of 200 controls, and that limit has been exceeded"
Still trying to find a resolution to this error.

Update: Though found a fix for it soon, but could not update it. Pedro Pablo left a comment about it: Thanks to Mark for showing for putting me in the right direction about this one.

In the Web.config change the MaxControls of safemode appropriately appropriately:

safemode allowpageleveltrace="false" totalfiledependencies="50" directfiledependencies="10" callstack="false" maxcontrols="500"

1 comment:

PedroPablo said...

Hi you can change the amount of controls in web.config:

<SafeMode MaxControls="500" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">

cheers

Post a Comment