Configuration :: First Page Load Incredibly Slow?

Sep 3, 2010

The first time that my page loads (this is after it has been deployed), it is terribly slow.

My guess is that it is still compiling dynamically, and not precompiling.When I publish through VS2008 I have "Allow this precompiled site to be updatable" unchecked and "Use fixed naming and single page assemblies" checked.Could I be missing something in my web.config file?

I can post the URL of the site if you would like to view it, but it takes 10+ seconds to load upon first visiting, and then less than 1 second to navigate the site.

View 3 Replies


Similar Messages:

Configuration :: Slow Initial Page Load Speed And Compile Settings

Dec 8, 2010

Over the last week I've been investigating an issue for one of our clients whereby the initial page load following a deployment of their website takes around 1 minute, resulting in unacceptable downtime for end users. This was happening not only for code deplyments (bin dll's and .config files) but also if there were large numbers of .aspx pages updated. For code deployments it's not an issue, but for aspx updates it is; in this particular scenario, we are making use of a 3rd party content management system (RedDot from OpenText) in which every page of the site is published out as a distinct .aspx page. This means that for this website there's somewhere in the region of 2,400 separate .aspx pages. I realise this isn't an ideal situation but we're working within the constraints of the CMS, and we managed to correlate the instances where the site was unresponsive with App pool restarts, which also corresponded to publications of of .aspx pages.

I found an article by Tess Ferandez [URL] which describes all the reasons why the app pool may restart, and it does seem that if more than 15 .aspx pages are changed then the app pool will recycle and the pages will be re-compiled. Another msdn article [URL] then gave me a few pointers on how to start addressing this problem, and for the moment I've set a flag on the compilation options to prevent batch compilation:

<compilation batch="false">

This means that the initial page load now takes around 6 seconds instead of 1 minute, which is a great improvement. However, I also used the "Compilations Total" performance counter to investigate the number of pages that have been compiled by ASP.NET for my site and was quite surprised that the total number of pages that get compiled peaks at 44, which is odd given that there are 2,400 aspx pages in the site. If the batch flag is set to false, the counter slowly increments by 1 page at a time as you click around on the site; if batch mode is true, the initial compilation takes the number straight to 44 over the course of ~60 seconds. What I'm really struggling to understand is why all 2,400 pages aren't compiled. Does anyone have any inside info on what might be going on as all the documentation I've read seems to indicate that all of the pages should be compiled and this counter should be much higher.

View 1 Replies

Configuration :: Initial Web Application Load Is So Slow?

Apr 11, 2010

I have a simple web application that loads very slow the very first time after i deploy it. I am using ASP.NET 3.5 SP1 / VS 2008 / Linq / Web forms to load the default.aspx home page. It is a very light page with nothing too fancy.Now to debug this load issue, I logged all the events in the global file and got the following log text:

2010-04-10 11:58:38,083 - Application_Start
2010-04-10 11:58:38,111 - Application_BeginRequest
2010-04-10 11:58:38,117 - Application_AuthenticateRequest
2010-04-10 11:58:52,321 - Session_Start
2010-04-10 11:58:52,454 - Page_Load
2010-04-10 11:58:53,951 - End Page_load
2010-04-10 11:58:53,981 - Application_EndRequest

Now my question is, between the Application_AuthenticateRequest and Session_Start functions, there is generally around 10 - 15 seconds - which i believe seems to be the problem.The thing, I am unsure why this is slow between these two functions.I am not using any forms authentication.Also, I am not doing anything fancy in the global file besides setting a session variable.

View 9 Replies

Configuration :: Slow Load Time After Updating Class In App_Code?

Dec 20, 2010

We have an asp.net website running on IIS 6 Windows 2003. When ever we upload a class file to the App_Code folder our whole site goes down temporarily until, what I assume, compilation is complete. Has anyone else experienced this? Any other file we upload it does not do this only our class files.

View 1 Replies

Slow Initial Page Load

Jan 22, 2010

I'm writing a simple web site using codebehind for each page, however using the "codefile" directive, not "codebehind" as such, because I'm not precompiling. I'm just using a text editor to edit the aspx and codebehind files. Problem is, every time I make a change to the code or the aspx file, and refresh the page in the browser, it takes a 2 or 3 seconds to come up the first time, like it's doing an on-demand initial compile. I assume that's what it's doing, as after the initial load, the page refreshes without any delay at all.

This behaviour is quite frustrating when making small changes to the html or code. I'm coming from classic ASP, where you could edit-refresh-edit-refresh etc. all day without your "stride" being broken by waiting for a "compile", you know? So I'd love to know if there's a setting which prevents this initial delay. When I want to deploy, I can do a compile or something, but while making lots of small edits, I just need the page to run without that initial delay.

View 6 Replies

Web Forms :: Page Load Very Slow?

Sep 21, 2010

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 informationSELECT * FROM CLIENTS WHERE Client_ID=1576
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.

View 4 Replies

Performance - Slow First Page Load On Site?

Jan 20, 2010

Every now and then (always after a long period of idle-time, e.g. overnight) when I access a site built using asp.net - it takes around 15 seconds to load the page (15 seconds before I see any progress whatsoever, then the page comes up fast).Further pages on that site, or refreshes, are quick as usual - they are also fast on other machines, only the first one seems to take the 'hit'.

Page tracing never through anything up (whole cycle was a fraction of a second) So my question is where else should I be looking? Perhaps IIS? Or could it still be my asp.net app and I'm just looking in the wrong place (the trace) for clues?As I don't have much control over the IIS server, anything I can check through asp.net would be more helpful, before I go ask that particular admin.

View 7 Replies

MVC :: Asynchronous Ajax Partial Loading - The Page Load Slow

Feb 20, 2011

I have a MVC view using the following VM.

[Code]....

Currently the page load slow. I am thinking of using JQuery load and render List<A> and List<B> separately and asynchronously. Can I still use MVVM pattern? Or I had to create to controller methods returning List<A> and List<B> separately?]

View 2 Replies

Can Large External JavaScript Files Slow Down The Page Load Time

Aug 4, 2010

When we include Javascript files in our aspx files. either we write all the Javascript code in the Head section of aspx or we link to an external Javascript file.

So when the clinet makes a call to that page. Does that mean that all the Javascript will be loaded on the client side?

If that is the case then does not that mean that it will slow down the loading of page as all the Javascript has to be loaded on the client machine?

View 3 Replies

Configuration :: 2.0 Site On IIS 6 - Loads Super Slow And Sometimes Throws "Page Not Found" On Post Back?

Jan 24, 2011

Looking for advice on how to troubleshoot an application (not something I wrote) that is on the old 2.0 Framework. It acts "crazy" sometimes when selecting an item from a drop down list. Sometimes the page will reload like it should on the post back with the new data, while othertimes, it just throws a Page Not Found error. What's the best way to troubleshoot and eliminate the various variables of IIS6, 2.0 Framework, SQL Server, the VirtualMachine, etc.

View 3 Replies

AJAX :: Using Pages Extremely Slow Load?

Feb 18, 2010

So i'm new to AJAX and just installed the AJAX toolkit.

When i have tried to used any of the object there my page are really slow, it like the server is forever to compile the site and when that is done the browser shows it in a flash.

You can see here :

[URL]

This is not a problem when using only ASP.NET.

When i debug in VS2008 i can see that is looking for some random files when compiling like C:AjaxBuildAjaxServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs and alot of other stuff, it goes through alot of setting there and i think that is the hold up, why it's so slow.

I have Sp1 installed, running Windows 7 64bit.

These pages are very small and standard. I basicly drag a toolkitscriptmanager, htmleditor, textbox and two buttons to the form. There isnt more.

This is the code for the first page :

[Code]....

The host has AJAX support and has installed SP1 for .NET.

View 8 Replies

AJAX :: ComboBox Load Slow On Postback?

Feb 23, 2011

I have a situation where I need to have close to 30 drop down lists on one form. The user also wants the autocomplete functionality. I decided to use the ASP.NET AJAX control. So that the page will load faster I hide them until they are needed. But, as more and more become visible the postback time is getting longer and longer.

I know this can be fixed, but I'm not sure how. Can anyone give me any advice, point me to some articles? Do you have a suggestion for another method of doing what I need? Maybe, I shouldn't even be using ComboBoxes for this?

View 2 Replies

Dropdown List Load Very Slow Using Ajax

Sep 20, 2010

my page contain a dropdownlist which binding many list of data with no categories. While refresh in one update panel is very slow.

View 4 Replies

Embedded Swf Files Is Slow To Load Although The Size Of The File Is 1.60 Mb?

Feb 1, 2010

I have a .swf file embedded in my asp.net webpage. It is slow to load although the size of the file is 1.60 mb. What might be the reason for the slowness? Is there a way I can speed it up in asp.net?

View 1 Replies

Web Forms :: Performance Slow / Being Load Most Speedy Then Pages Developed?

Jan 19, 2010

I often Observed that pages developed in simple asp is being load most speedy then pages developed in asp.net ,

View 5 Replies

Configuration :: Cannot Load Aspx Page On Windows 2003 Server

Mar 20, 2010

I have an application which is used by others on different server without problems. The app was programmed by a programmer who is not available now. It was developed on .net 2.0. The windows 2003 is a new server, asp.net is enabled. from iis, I can configure it to use asp.net 2.0....,

but, when I load the site, it always show the 404. even after I change the default.aspx to a blank page, it still shows 404. however, if I put a default.htm in the folder, and it can be loaded without problems.

what can cause this? how to fix it? if I installed a vs2005 express on the server, will it fix the problem?

it seems the asp.net 2.0 dll is not recognized on server. never had this problem before.

View 1 Replies

Configuration :: How To Load Aspx Page Every 30 Mints Without User Interaction

Jan 18, 2011

i had one .aspx page,which containts in pageload it excutes few stored procesdures for dumping data from Sql Server to mysql Db. So every 30 mints User manulaly running this page.

So i want to automate this page Every 30 mints it automatically should Excutes that page.with out User intaraction.24/7 process.

how to do this. no one want to touch the application.it should be automate..

View 4 Replies

Configuration :: C# Web Application Slow Once Published

Jan 12, 2011

My application runs quickly when debugging locally, but slows down to an almost unusable state once published. Oddly, the published version seems to be grabbing data very quickly from MSSQL - it's the part where I'm updating datatables and gridviews that is very slow. For example:

[Code]....

View 8 Replies

Configuration :: Local IIS 7, Slow Download?

Sep 25, 2010

I've made a small web site (MVC2, VS 2010) with some image gallery functionality. When testing locally the images download very very slowly, as if I had dial up internet connection. For example if I try
http://my_local_website/myimage.jpg it will be slow. However, if I try (via web browser) C:mywebsite_foldermyimage.jpg it will load instantly.Not sure if this is an issue of my local IIS7 or what, but I would like to fix it before going live.

View 5 Replies

Configuration :: Website Slow In Live Server?

May 22, 2010

I am using the asp.net 3.5. i have development a website using master page, user control, update panel, asp.net ajax such as loading box and message box etc. when i testing the site in my local, it show with the normal speed. but after i upload the website into the live server, the loading box and message box is slow loading.if there is a popup of messagebox, it is slower and when i click the ok button on the message box. it seem close in very slow and have a duplicate box come out. i have no idea on it. why it is so slow when uploaded to the server?

View 1 Replies

Configuration :: Web Application Runs Slow On Hosting Server?

Aug 16, 2010

I have developed a web application in asp.net with c# with out using master page. I have developed this application in iframe.

The problem is that my application run smoothly but suddenly it stops and do some processing and it run again smoothly.

it stops any where on page load, on button click, on checkbox changed. i can not tell where it stops

it stops only when page post. i can see the processbar on browser's statusbar it stop for long time 40 to 60 seconds and after that i fire same event now process complets within 2 to 5 seconds

Hosting server detail :

1. IIS 6.0

2. Window server 2003.

3. Sql server 2005.

View 4 Replies

Configuration :: Could Not Load File Or Assembly Or One Of Its Dependencies, An Attempt Was Made To Load A Program

May 10, 2010

My application is running fine locally when I deploy it it is giving me the above error saying

Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

View 6 Replies

Configuration :: Slow Performance With Offshore Hosting - Does Distance Between Servers And DBs Matter

Sep 7, 2010

I just had to moved a site of mine from a hosting service here in the states to an offshore host located in Malaysia. My database is still located on the east coast of north america and I am wondering if the distance between the database and the file system might be to blame for slow load times or if moving my database as well would be a waste of time.

View 2 Replies

Configuration :: Adapter.Update (table) Fast On Development Machine, But Very Slow On Server?

Oct 17, 2010

Using VisualWebDeveloper 2010 on the development machine. All nice and fast.Using VisualWebDeveloper 2008 on the server. Server runs on Windows Server 2008 and has IIS 7.

It looks like that when 'table', a datatabe filled up in C# code behind, is getting longer, then the server (whether running the website on IIS or on the local host of VIsualWebDeveloper2008) is really slowing down. Checked it in debug mode and traced it down to

Adapter.Update(table);

Are there any know issues? Could it be that there is incompatibility between different version of SQL server or something like that? The update works, it is just awefully slow, but only on the server.

View 2 Replies

Web Forms :: How To Load From Secondary (Derived) Master Page Controls In Page Load

Feb 25, 2010

I hv Declared two Master page one Is Base and Derived.. Base Page Load is working but when i hv written load controls in Derived Page Load Using C# it's not working..

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved