25 January 2011

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

הפעם משהו קטן שסביר להניח שנתקלתם ואם לא תתקלו במהלך העבודה בSharePoint, במיוחד שניסיתם להוסיף Control בMasterPage.
השגיאה הנחמדה הבאה:
This page allows a limit of ... controls, and that limit has been exceeded


אני לא יודע למה מיקרוסופט מגבילים את מספר הcontrol'ים לערך נמוך
בכל מקרה, אני מגדיר את ההגדרה בWeb.Config ל500 control'ים (MaxControls="500")– זה מספיק ויותר.

כל מה שצריך לעשות, זה להכנס לשרת/ים ולתת בהגדרה MaxControls ערך גבוה  בWeb.Config.

<SharePoint>
    <SafeMode MaxControls="500" CallStack="true" DirectFileDependencies="10" otalFileDependencies="50" AllowPageLevelTrace="false">
     
<
PageParserPaths>
     
</
PageParserPaths>
   
</
SafeMode>...

נשתמע,
רועי

No comments:

Post a Comment