.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Slow loading page

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

In the Sharepoint 2010 server, with MS Server 2008 enterprise edition environment.

I have a firm server setup. High spec hardware so no problem with the hardware.

Sharepoint is used for intranet purpose only. Accessing Sharepoint site is very fast.

Problem I am facing is when multiple users are accessing the sharepoint page, it is very slow to load. When the traffic is very little, accessing page is very fast. What is the cause of this kind of slow loading page and how can I proceed where the slow response is coming from?

Any suggestion would be very helpful. Thank you.

View Complete Post

More Related Resource Links

edit form page loading is slow with more fields in foundation 2010


Hi friends,

I have recently noticed that ,my list edit form page load time is more compare to old version .

I have migrated my sharepoint site from wss3.0 to foundation 2010. I have a large list with 15,000 items and 43 fields.

My new item form is loading very quickly but edit form taking more than a minute. I tried with helath reports and firebug and yslow tools.

I didn't success with any reason. I request you to send me why it happening to the edit form page only

Out of 42 field 12 fields are lookup and I have field edit permissions enabled for different users.

Let me know what can I do to improve page load time for my list edit form.





Slow loading page


I have a page with tabpanel (4 tabs), each panel uses ListView with a Data Pager to display data from a SQL Server database that is currently on my workstation. I am using a SQL DataSource.  The page worked fine when there were just a few dozen records in the database. I have added about 5000 records to the database. It now takes about 40 seconds (wall clock time) for the page to load.

When I run the SQL Select statement in SQL Server Management Studio it takes about 7 seconds. I turned on Trace and found out that the PreRender event is taking approximately 10 to 12 seconds.

How do I go about improving the performance? How do I know what is happening in PreRender to cause it to take so long?


On page loading or executing all CSS flags are ignored and website is plain without formatting


 My problem is whenever i execute my app the first page that loads is the login page pointed to by my web.config file forms authentication, this page is meant to show CSS formatting for the info i am displaying but it is not. Any help with this problem would be great. A cut and paste of my problem is shown below as you can see there is no CSS.

jsfdnjldfngjfg here it is

Account Login
User Id:
Forgot Password?

I have inserted all the link as in:




Slow page load during a list query one time during the day


We have a monitoring tool set to check to see if the home pages for our 3 web apps load in under 60 seconds every 10 minutes.  All 3 web apps load in under 3 seconds on every 10 minute check except for one exception.  One check every day one of the web app's home page takes longer than 60 seconds to load.  This happens at 11:45PM when there is very little user usage on the environment.  The characteristics of this page are as follows: The only thing on the page is a list view web part which was added by the browser.  The page has not been customized with SPD or code at all.  The list that it pulls is a simple links list that has 281 items on it.  The view pulls all 281 items and displays them in sets of 100.  I cannot find any associated event in the server events and/or SharePoint ULS logs nor are there any daily sharepoint timer jobs running at that time.  Our full index happens at midnight with incremental happening hourly.  Our enviroment is 2 WFEs, 1 App/indexer and we have a separate SQL cluster backend.  

Could someone lead me possibly in the direction I should take next in my troubleshooting?   

What is the standard practice to make sure one slow-running page doesn't affect other pages?

Page A loads very fast; Page B loads very slowly and does some CPU-intensive things on the web server.I noticed that if someone is loading Page B, then Page A also loads slowly - for ALL users. What is the standard practice for making sure this doesn't happen?  If multiple users are loading Page B at the same time then Page A is ridiculously slow.Is there an IIS setting, web.config setting, or hardware configuration I could use to make sure that the fast-loading pages aren't bogged down by other pages that need more time to load? 

Extremely Slow Page Loads

Thought I would reach out to the experts and see if anybody might be able to point me in a direction as I do not know where to turn next. Any and all help is greatly appreciated. All of a sudden page load times on the primary web app in my SP2007 farm are extremely slow. Making the site almost unusable. Network performance seems fine as does SQL -- no obvious errors in the logs. The problem happens intermittently. Environment: •  Win2k3 SP2 servers    •  1 WFE (VM)        •  SharePoint 2007 SP2 w/ JUN 2010 cumulative update installed.        •  Most recent WU patches applied about 10 days ago (suspected cause?)      •  1 SQL 2005 (metal)        •  The content database is 20.7 GB, so it fall withing BPs.         •  My DBA has said the DBs do not look overly fragnmented •  1 site collection •  4 web apps •  The VM environment is VMWare vSphere. Search indexing (full) is disabled; All app pools have been recycled; Warmup scripts have been run; and the server has been been rebooted. Have anyone run across anything like this before? Can you point me in a direction? Thanks in advance.

How to Show Loading Message while delay in Page Opening

Hy My web application is make time to open First page due to various data control on the page and values are coming to that control from database so i want to show the loading message of gif image during page loading delay. I have written this code in my master page but that image is not showing the application so please give solution on that problem<html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server">   <title>Load Wait Message Demo</title> </head> <script type="text/javascript" language="javascript">   if(document.getElementById) { // IE 5 and up, FF     var upLevel = true;   } else if(document.layers) { // Netscape 4     var ns4 = true;   }   else if(document.all) { //IE 4      var ie4 = true;   }   function showObject(obj) {   if(ns4) {      obj.visibility = "show";   }   else if (ie4 || upLevel) {      drawMessageBox(); obj.style.visibility = "visible";            } }        showObject('splashScreen');   function hideObject(obj) {   if(ns4) {     

IDE hangs when loading the Fluent XAML Control page

Hi All, This question is related to the MS Fluent WPF RibbonControl samples at http://fluent.codeplex.com. My OS is Vista. But the Fluent suite 1.3 is supposed to be stable. Nevertheless, the 3.5 NET sample apps will execute OK... but when I try to view the "window.xaml" code page in the VS2008 Pro IDE, the page loader hangs (the devenv.exe process consumes 50% of the CPU time) and never completes. Is the IDE configured properly? I'm new to Fluent and just installed the Samples. Also, I installed and uninstalled the MS Ribbon Control samples for WPF. If anyone can help... Please do! Thanks, King

Page load is Loading Twice in gridview on navigating to next page.

Hi All i have implemented master page in my application, in its child page i added GridView control, there i used PagerSettings and its attribute to set paging style. In this i have an optoin to set the mode and its images for navigating to different page. my problem is when i not set any image the page will work correctly if i use any image for its navigate button, then every event is fireing twice. if u have faced same problem, pls answer for this query.. My code is:     <asp:GridView ID="grid" runat="server" AutoGenerateColumns="false" AllowPaging="true"         PageSize="3" OnPageIndexChanging="grid_PageIndexChanging" EnableViewState="true" EnableCaching="true" >         <Columns>             <asp:TemplateField>                 <HeaderTemplate>                     <input type="checkbox" id="CheckALL" runat="server"  enableviewstate="true" />             &nbs

css files not loading when viewing page at http://localhost...

Hello, has anyone had the following problem: css files are in the head element, and the styles are clearly being picked up by the .aspx page when in Design or Split view. Yet when running on localhost, the stylesheet has no effect. And when publishing the website to IIS on a remote server, the css clearly does take effect. I've never seen anything like this... 

Progress Bar When page is loading


Dear Fren's

I have a new issue regarding the progressbar 

I have a page from which i am passing a parameter to CrystalReportviewer on the next page

and a converting a Crystal report in to PDF .

My problem is i want to show a progress bar while the page is loading (on which crystal Report Viewer is Placed) and writing a PDF file

I have already place a scriptmanager Updatepanel and updateprogresbar on that page but the still the page is showing blank while loading the page


please help   

How to stop Page loading after selecting a date in Calendar in aspx page



can anybody plz tell me how to stop re-loading of page after selecting a date from a  calendar control in a aspx page.

I want to show the selected date in a Textbox control but i don't want to re-load the page.




Page load very slow


I've developed a web page Client.aspx that is used for  editing a client. This application has been deployed and I made sure that debug='false'.
Upon selecting a client from the dropdownlist, his/her information is retrieved for editing. This retrieving process is very slow( about 9 seconds).
Except this DropDownList, all the other controls on this page are within the Update Panel. There are 2-3 other Update Panels within the main Update Panel.

When a client is selected from the DropDownList, the Client_ID (DataValueField) is used to retrive the information
This method returns a dataset.
In the calling method I'm assigning these values to the respective fields.

Some JavaScript is used for validating Phone#.

I also have a RadioButtonList on this page. When one of the ListItem is selected I need to disable a TextBox. Even this process is taking much time than expected.

Any suggestions on speeding up my application would be greatly appreciated.

page shrinking while loading


which javascript code makes pege to shrink while loading?

Loading a Remote Page problem


I have an instance where I need to show a classic ASP page within an ASP.Net page. I didn't want to use an iframe for several reasons, but those aren't the issue here. I searched and searched and finally found some code that would let me do it, available here: http://www.mikesdotnetting.com/Article/49/How-to-read-a-remote-web-page-with-ASP.NET-2.0. I implemented the C# code and found that for the purpose of loading a plain HTML page it works just grand. But, when I try to load a Classic ASP page that way, I get a 500 Server error. The page that I am trying to load works just fine if I load it directly into a browser, or into an iframe, but not using this method.

I'd really like to know what is causing the error so that I can fix it. If I could get the whole error response that the page sends out it would be helpful. I'm just not well-versed in how these classes work deep inside. Should I be setting a user agent or some of the other header values? If so, what should they be set to and how? Any insight would be very appreciated. For completeness, my code follows.

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;

Modifying the SqlDataSource SelectCommand prior to loading a page


I have a SqlDataSource setup in the markup on my page. After some new requirements, I am trying to find a way to modify the SelectCommand before the data is filled for the first time. The SelectCommand below will now be used by default since we'll always have the first param. I am faced with a need to modify the SelectCommand though, adding a second session parameter along with it. I tried to override the OnInit method but it didn't seem to help...it still used the default query. Is there a best way to accomplish this? Here is the section of markup I am referring to:

    <asp:ScriptManager ID="ScriptManagerCustomerMaintenance" runat="server" EnablePageMethods="true"></asp:ScriptManager>
    <asp:SqlDataSource ID="SqlDataSourceHD" runat="server"
        ConnectionString="<%$ ConnectionStrings:HDOracleConnectionString %>"
        ProviderName="<%$ ConnectionStrings:HDOracleConnectionString.ProviderName %>"
        SelectCommand="SELECT * FROM Customer WHERE (HOME_PHONE=:HOME_PHONE)"
        UpdateCommand="UPDATE Customer SET CustomerEID=:Cu

Exception loading page with Ajax enabled WebPart/UserControl ?



The AjaxControl Toolkit has been configured onto our SharePoint 2007 Server, however when we bring up a page with a WebPart+UserControl, we get the following exception:


[4300] Exception Loading CPI RPI WebPart: System.Web.HttpCompileException: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a112516a\152cc84\App_Web_cpirpicalc.ascx.57bd6353.duu1hbuu.0.cs(138): error CS0433: The type 'AjaxControlToolkit.ToolkitScriptManager' exists in both 'c:\Windows\assembly\GAC_MSIL\AjaxControlToolkit\3.5.40412.0__28f01b0e84b6d53e\AjaxControlToolkit.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a112516a\152cc84\assembly\dl3\4bec602a\25bcac65_13efca01\AjaxControlToolkit.DLL' 


The userControl+Ajax Portion of the WebPart works correctly when brought up under ASP.NET but not SharePoint.  

Is there anyway to force this to go to the correct version?




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend