Increasing MaxControls in Web.config for SharePoint Site

<SafeMode MaxControls="200" CallStack="false"
DirectFileDependencies="10"
We have reached Max User Controls of 200 on our SharePoint Masterpage and need to increase this in the web.config to account for the new controls we are adding. Just wondering if anyone has any experience in increasing this
number and at what point did you start seeing affect in the performance.
Thanks 

Hi,
According to your post, my understanding is that you wanted to increase the maxcontrols in the web.config.
It is not recommended to modify the web.config to increase the maxcontrols number.
If you had changed the the number, it may occur some issues, such as the site would be unavaiable, no one could access the web application, you had to do a IIS reset to make the site run again.
It is recommended to split up your page into multiple smaller pages if you have more than 200 user controls.
If there is only few pages contain over 200 webcontrols, for one page, you can create a new page and move of a portion of components to the new one.
In this situation ,each page has less than 200 controls, if they are webpart pages, you just need to add a OOB webpart Page View web part
in one page to display the new page.
That’s how to separate control-overload page and display them with iframe(or iframe webpart) in one page.
More reference:
http://prasanjitmandal.blogspot.com/2013/05/fix-max-controls-issue-in-sharepoint.html
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • Unable to display this Web Part in SharePoint Site 2010

    Hi Folks,
    I am getting the below error while try to display the Content Query Web part which contain the data from Document Library in SharePoint 2010 by
    anonymous user.
    "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."
    While the Web part working fine and showing the correct result when accessing the
    authenticated user.
    Any help will be appricated.
    Thanks
    Ashwini

    Hi Ashwini,
    Thanks for your post.
    Change the value for the 'AllowPersonalization' tag in the web.config from 'False' to 'True'.
    - Open the blog pages in SharePoint Designer 2010
    - Click on Edit Page and select Code View
    - On the Ribbon, click Edit > Advanced Mode
    - Search for AllowPersonalization
    - Change the value to from AllowPersonalization=”False” to AllowPersonalization=”True” and save the settings.
    - Refresh the site, blogs sites should open without any web part error.
    Hope it helps.

  • Create PDF From Web Page - Authenticated SharePoint Sites generate "Authorization Failure" error

    We have several authenticated sharepoint sites on our intranet, and we are trying to create a PDF of a site (x levels down) using the Acrobat create PDF from web page feature.  When you try to create a PDF from a non-sharepoint, authenticated website, a login prompt appears asking for login credentials.  However, when you try to use the same feature on an authenticated sharepoint site, you do not get prompted for credentials and instead get an Authorization Failure error.  the popup says "Error: Nothing Done".  We have successfully PDF'd anonymous sharepoint sites on the WWW.  Has anyone successfully PDF'd an authenticated SharePoint site? 
    Thanks in advance,
    -Richard.

    I am having the same issue AND none of my pages or files require a UserID or Password. My issue appears to be something with the domain because a and b work just fine and produce a PDF file while item c does not work and produces the error msg.
    http://www.dot.wi.gov/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.dot.state.wi.us/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.wisconsindot.gov/projects/neregion/151/index.htm produces an error msg. ‘Nothing done’.Error info. - Authorization Failure    http://www.wisconsindot.gov/projects/neregion/151/index.htm
    [email protected]

  • Metrics for SharePoint site

    Hello Friends,
    I need the following information about my SharePoint site collection
    1. Info about the list of users accessing the site
    2. Info about users accessing which part of the site ex.: list, library, page or item
    3. How many times a list/library/page is accessed like a hit count
    I'm sure that these are possible via audit log reports and search schemas. It would be helpful if someone can point me towards right direction

    Hi Chandrashekhar,
    1. To get Info about the list of users accessing the site
         -  Download and install SharePoint User Manager
         -  https://5pm.codeplex.com/
    2. To get
    Info about users accessing which part of the site ex.: list, library, page or item
          - Enable auditing in your site collection
          - Configure audit settings for a site collection
    3. To get How many times a list/library/page is accessed like a hit count
           - http://yourSiteURL/_layouts/usage.aspx
           - This will give you Web Analytics Summary Report including total hits on site.
           - For a detailed hit counter report on site, open site settings > Under Site Actions category click            Site Web Analytics Reports.
    Please remember to click 'Mark
    as Answer' if the reply answers your query or 'Upvote' if it helps you.

  • Set alias URL for SharePoint site

    Hi,
    I want to set the SP site alias. my server name appearing http://dmfpqabudappcq2 and i want to change it to http://MySharePoint.
    I check the central admin - AAM - Edit alias url. I have updated there.
    Now, i am setting the new alias host in DNS. for this i have open the DNS - expands server name - Forward Lookup zone. When i go for right click then i can not see to add new alias and server IP there.
    Can anyone please tell what i am missing here to complete the setting for SharePoint alias. 
    Any help is much appreciated.
    Thanks, 
    Rakesh

    I've never trusted changing a Web App's URL. I always advise adding a new AAM for http://intranet etc. alongside your already existing server name.
    I would return the inital entry to as it was, then add a new AAM for your site.
    Now if i understand you correctly you haven't added an A host record for the AAM address to DNS yet? This is described here:
    http://technet.microsoft.com/en-us/library/cc779029%28v=ws.10%29.aspx
    Once you have an A host record you should be able to 'ping' that address from a client computer. You should also be able to browse the site from a client computer (assuming there's a site collection created for that web application).
    You will not however be able to browse it from your SharePoint server, this is because of the loop back check:
    http://www.harbar.net/archive/2009/07/02/disableloopbackcheck-amp-sharepoint-what-every-admin-and-developer-should-know.aspx

  • Create a site utilization report for SharePoint Site with these conditions

    HI,
    How do we create a site utilization report for a SharePoint 2007 site. I want to include the following conditions in the report
    a) The list of users who are accessing the site
    b) The list of users who have not accessed the site ( Can we do some filtration based on some conditions )
    c) When was the last date the user has accessed the site

    Hi Kalpana,
    Sorry for delay in reply. I don't think this can be possible from front end without involving SQL dbo users table. If you found any other alternate please share here.
    You can get site collection / sub site user details via
    SP user manager tool and for last access date - time you can use SharePoint object model. - ref : http://blogs.msdn.com/b/varun_malhotra/archive/2010/05/12/moss-2007-get-last-accessed-date-for-a-site.aspx
    Let us know if this helps
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • SQL Server Web Edition for SharePoint 2013

    Dear Expert,
    I'm not sure SQL Server Web Edition is ok for SharePoint Server 2013 or not. If I do in On-Premise or Azure.
    Please suggestion.

    There is no specific document that specifies that Web edition is supported.  However, if you look at the requirements list for SharePoint 2013 you will notice that it specifies that it must be either SQL server 2008 r2  with SP1 or SQL 2012.
     It also specifies the 64 bit version.  But it doesn't specify a specific edition.  That and the fact that it will run on SQL Express suggests that it will run on any edition of SQL as long as its 64 bit and a late enough release.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • MVC Web API in SharePoint site

    We're planning on moving most of our web presence on our SharePoint 2013 server in cloud. Our current setup uses a MVC Web API for data retrieval from DB. We do not want to host the API under a separate domain and thus need to move the API under SharePoint
    domain as well. There is no relaxation in this requirement.
    Is there a way to publish my API to SharePoint? Or is there a SharePoint specific API project template in Visual Studio? If not what are my options?

    Hi,
    According to your description, you might want to host the Web API in your SharePoint Online environment.
    If it is SharePoint Online, as we can’t access the backend server, your requirement might not be achievable at this moment.
    Your requirement is retrieving data from a database, as a workaround, you can use “the Business Connectivity Services (BCS) hybrid scenario to access on-premises data
    through SharePoint Online”:
    http://technet.microsoft.com/en-us/library/dn197239(v=office.15).aspx
    With the retrieved data from the database, you can create an External list, then access the data of this External list using Client Object Model.
    Or we can use an Azure SQL Server to sync with your database, then implement a Provider Hosted app to deal with the data from Azure SQL Server. The demo below would
    provide more details about this solution:
    http://blogs.msdn.com/b/alimaz/archive/2014/07/31/connect-sharepoint-online-to-an-on-premises-sql-server-from-an-azure-provider-hosted-app-using-hybrid-connections.aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • Disable HTTP Methods for SharePoint site

    Hi,
    Our firewall is reporting that someone is trying to use HTTP OPTIONS Method to exploit our SharePoint server.
    I want to know which HTTP methods are required by SharePoint 2010 so that i can disable other HTTP methods to increase security.
    I am trying to follow recommendations from Open Web Application Security Project. 
    https://www.owasp.org/index.php/Test_HTTP_Methods_(OTG-CONFIG-006)
    Regards, Muhammad Usman Azmat

    Verbs such as OPTIONS will require authentication to be of any use. If you disable OPTIONS, you'll likely run into various issues using SharePoint, and here is an older example (that will likely apply even today):
    http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/10/03/sharepoint-cisco-css-switch-issue.aspx
    At any rate, changing IIS settings at the Web Application IIS site level, with the exception of IIS Site Bindings where appropriate, is highly discouraged.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Web Analytics for SharePoint 2010 Issue

    Hi Guys
    I've provisioned Web Analytics in our SharePoint 2010 farm.  But I am not getting any figures in the reports.  Just all zeros.  The Web Analytics Service & Proxy are running, the staging & reporting databases appear to be populated
    & there are .USAGE files being generated.  I have restarted services & rebooted all servers in the farm.
    Message is:
    There is no data available for this report. Here are some possible reasons: (1) Web Analytics has not been enabled long enough to generate data; (2) There is insufficient data to generate this report; (3) Data logging required for this report might not be
    enabled; (4) Data aggregation might not be enabled at the level required for this report.  
    I have looked at:
    http://social.technet.microsoft.com/Forums/en-US/5fdd162a-72f2-4146-a3a7-925b86bc085e/sharepoint-2010-web-analytics-not-working?forum=sharepointadminprevious
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2012/03/16/troubleshooting-sharepoint-2010-web-analytics.aspx
    Any ideas would be appreciated.

    Hi Darren,
    After you have created the Web Analytics Service Application you will have to start two services for populating the data. Go to Central Administration –> System Settings -> Manage service on server. Start the following two services:
    1. Web Analytics Data Processing Service
    2. Web Analytics Web Service
    Choose which events you want to log
    Once the services are started go to Central Administration –> Monitoring –> Configure Web Analytics and Health Data Collection and set the appropriate logging, you’ll want to make sure you’re logging following:
    1. Page Requests
    2. Search Query Usage and so on
    Associate the Service Application with the Web App
    1. You also want to make sure that your Service Application is associated with your Web Application, so go to Central Admin –> Manage Web applications
    2. Highlight the web application you want and click “Service Connections” in the ribbon bar.
    3. Make sure the Web Analytics Service Application is associated with the web app
    It is recommended when using a multiple server farm to start these service on multiple servers.
    After you have performed these steps you can use the Web Analytics reporting. It can take one day before you can view any results. This because the data has to be populated.
    Note: i am assuming that you have already created "State Service" service application which will generate charts.
    Best Regards, Karim Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Using Lion Server as a web server for Wordpress sites?

    Is anyone doing this? I have a few low traffic Wordpress sites I'd like to move to a Lion server I already have at MacMiniColo to try and reduce my costs.
    Obviously I'll have to install MySQL and MySQL Workbench for the databases, which I'm fairly comfortable with, however I'm not sure what the best route for FTP access to the WP directories is. I've looked at Rumpus but it's just a little too pricy for my needs.
    Does anyone have any advice?

    John, I guess you did install MySQL and got Wordpress running? I use the default location for web sites on Lion server. So my site is in /Library/Server/Web/Data/Sites/wordpress/. Since the directory is owned by _www I use root to retrieve and put files under this directory. My own user account would not have sufficient rights. It is not safe to use root with ssh with a password, so you will have to make sure you can only login as root with an ssh key. Therefore edit /etc/sshd_config and make sure that a line with 'PermitRootLogin without-password' is present. sshd or your server should be restarted then.
    On you local mac you can use the terminal to generate a key. Use 'ssh-keygen'. Here (and on various other web pages) you can find how to do this:
    http://coolestguyplanettech.com/secure-ssh-keys-connection-with-remote-passwords -osx-10-6-linux/
    On the server you will have to put the authorized_keys file in /var/root/.ssh/
    Now you can use cyberduck and let it authenticate with the key you have generated (id_rsa if you use the web page I pointed to). Then you can go to the wordpress directory and upload or edit files.

  • Changes in web.config on all web sites

    Hello. 
    I have a strange problem.
    last month we made some changes in the web.config file for some of our web sites do to a problem.
    the problem was when user try to open a office file ( word,excel,ppt ) in a read write mode in internet explorer 11 or in office 2013.
    and the fix was: specifying custom HTTP response headers like:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
       <system.webServer>
          <httpProtocol>
             <customHeaders>
                <clear />
                <add name="X-UA-Compatible"
    value="IE=EmulateIE7" />
             </customHeaders>
          </httpProtocol>
       </system.webServer>
    </configuration>
    after applying this lines in the web.config the problem was solved.
    today a customer complained about the same problem that we fix in the changes we have made.
    after check the web.config on those sites we have notice that the changes was
    disappear ( like magic ).
    I have checked all of our websites in the same farm and i notice that all of the web.config files was modified in the same date and time, its happend on
    28/11/2013 :00:00 midnight.
    I have tried to view the sharepoint log files from this date, but i do not have them (
    Number of days to store log files 14 ).
    what could be the reason for this automatic changes in the web.config?

    Could their have been updates pending that were just waiting for a restart of the web server? Can you check to see if your server did a reboot at that time?
    or
    In Central Admin, are there any timer jobs that execute maybe monthly at midnight?
    Alex

  • How to provide internet access for a site collection in SharePoint Foundation 2010

    Hi all,
    I am working on SharePoint Foundation 2010. I have to make a site collection available on internet.
    Only one site collection is to be brought on internet rest of the site collections should not be accessible from outside.
    How do I achieve this. Any help is greatly appreciated.
    Thanks in advance.

    Hello,
    As per my knowledge, you have to create new Web Application for your site to publishing it to internet. Since internet settings can be done at web application so create new one and then backup your existing site and restore in new web app.
    You can refer below thread for licensing:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b63b3643-d0c7-45d2-8372-364fda348ed0/sharepoint-foundation-licensing-on-internetfacing-server?forum=sharepointgeneralprevious
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Can't open sharepoint site with sharepoint designer 2010

    Hi there,
    We've installed SP Foundation + SP Server 2010 and set up some sites.
    when we tried to open it with SP Designer 2010, it fails and gave us some errors.
    opening SPD through site actions :
    unable to open website. possible causes:
    1. the web server may not have sharepoint server installed
    2. the web server may be temporarily out of service
    3. if you are connecting through a proxy server, the proxy settings may be incorrect
    4. an error may have occured in the web server
    opening sharepoint site through SPD:
    the folder 'http://mysp.domain.com/site/default.aspx' isn't accessible. the folder may be located in an unavailable location, protected with a password, or the filename contains a / or \.
    the thing is ... we have no problem with sharepoint designer 2007.
    any idea?

    Hi p.andrew,
    If you want to open the site use SPD, you should enable the Client Integration for the web application at first.
    Here are the steps:
    1.      
    Go to this location : “Central administration” > “Security” > “Specify authentication provider”;
    2.      
    Select the Web Application which you want to edit use SPD (SharePoint Designer 2010), and click the “Default” below the ‘Zone’;
    3.      
    Select the “Yes” radio button
     in the Client Integration section, and click the ‘Save’ Button;
    4.      
    Close and re-Open the IE;
    5.      
    Try to Open the site using SPD.
    More information about this:
    http://snahta.blogspot.com/2009/01/folder-may-be-located-in-unavailable.html
    http://skurocks.wordpress.com/2009/06/26/enable-client-integration-user-permissions-for-web-application-%E2%80%93-caution/

  • MBAM 2.0 SP1 Self help website error after changing name of website on IIS and web config

    guys 
    i need your help here , i have fully operational 3 tier enviroment with config manager ,when i created this enviroment i only used the fully qualified domain name of the web server and now i need to change the name in order to comply with company website
    names.
    now i have went to ISS and changed the name on the bindings and changed also the web config file and this resolved the helpdesk website as it can now talk to backend and retrieve the key .
    my only issue now is the self service website , i changed the web config for it as we and when i try to retrieve the key it says an unknown error has occured please contact IT , am not sure where else to check , please help 

    If I would be in your place, i would rather have created an alias for the existing FQDN with that of the newer one into the on-premises DNS Server.
    Create a Fully Qualified Domain Name (FQDN) in DNS that users and group policy settings will use to connect to the MBAM server. For example:
    http://bitlocker.contoso.com.
    Open DNS manager.
    Expand DCServer_Name>>Forward lookup Zone>>Domain_Name.
    Right Click on domain name and choose New Alias (CName).
    Provide the alias name(bitlocker.contoso.com) and the FQDN for the target host.
    Is the web site for User Support service is accessible?
    Gaurav Ranjan

Maybe you are looking for