lunedì, marzo 07, 2011

SharePoint Designer: Limit of 200 Controls?

Using SharePoint Designer, I ran across this error: “This page allows a limit of 200 controls, and that limit has been exceeded.” The weird thing is I am not exactly sure how SharePoint calculates the number of controls…I certainly don’t have that many DVWPs. In any case, Mossable.com had a fix. I didn’t end up using it, but it seems handy to file away for future reference.

“Go to IIS Manager, right click on the SharePoint Web application you are having the issue on and select Open. This will take you to the root folder on the filesystem. Then right-click on the web.config file and search for “MaxControls”. Change the default number from 200 to say 500. Make sure to reset IIS (go to dos prompt and type IISReset).”