What's Standard Practice To Make Sure One Slow Running Page Doesn't Affect Other Pages

Aug 31, 2010

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?

View 1 Replies


Similar Messages:

Configuration :: Finding Best Practice For Making Sure That Slow Pages Don't Affect Other Pages?

Aug 31, 2010

Page B - loads slowly and needs to do some CPU-intensive operations on the web server.

I noticed that when someone is loading Page B, then Page A also loads slowly. This is even worse if multiple users are loading Page B at the same time. Page A won't finish loading until Page B is done.

Is there a best practice for making sure that Page A can still load quickly? Maybe a config setting or IIS setting that I need to change from its default? With 2 users loading Page B at the same time, the web server CPU usage only gets to 30% so I suspect it might be something I can tweak with the settings.

View 1 Replies

Why CKEditor Slow Down Pages / How To Make It Fast

Feb 17, 2010

I have used CKEditor in my ASP.NET pages. But after than, that pages are very slow. Is it possible that it is caused by CKEditor?

View 1 Replies

Web Forms :: Master Page Changes Affect Other Pages

May 27, 2010

I have had this problem for a long time now and have just dealt with it but i am at the point finally that i need a solution or i need to look at other options besides visual studio for web development. it is way too time consuming now to have to worry about changing one thing and then having to search all other pages to be sure they are still fine. So this is what i have: visual studio 2008 pro sp1 asp.net web application targeting .net framework 3.5

a master page with several tables. i have broken out into several tables because it seemed to help the issue. the tables are all stacked on top of each other, no special positioning. the tables seem to be fine for the most part but if i make changes to the table which contains the content placeholder, i will find other pages have formatting incorrect, such as backcolor of text in different areas changed, bulleted lists are overlapping. when navigating to some pages, one of the tables i have at the top that is not related to the table with the content placeholdder, will not show the background picture, and it will show either different font size of the menu that is in the table with the content placeholder, or bold font on other buttons text, such as link button, on the master page.

so they seem to affect each other. changes on the master page affect the other pages and when displaying the other pages, whether in a browser in the IDE, parts of the master page will be affected. this is only on certain pages and they are never consistent. they will stay consistent once changed, but each time i make a change to the master page, the pages which are affected are not consistent. However, it used to be a issue that was always consistent with certain pages i kept in their own folder. i had taken the time once to go through them and make fixes and after that i didn't really have any more issues. but now they are being affected again as well as others.

i had started using link buttons instead of hyperlinks because it seemed to not affect the other pages when formatting them. for instance i would highlight the backcolor of a link with yellow, and other pages text in random places would show with the same yellow backcolor. it does not seem to matter what any of the affected text is in whether in p or div, it doesn't seem to follow a pattern other than sometimes it does seem to favor text that is bold. i think in some ways it has to do with new content pages i add to the site. those seem to be the ones that are usually affected for sure. but there are always others and i never know for sure which ones they will be.

View 3 Replies

Slow Of First Page - Running On Windows / IIS

Mar 16, 2011

I'm more into the LAMP stack, but I've been asked to work on a site that is running Windows and IIS 2008. I'm a beginner with IIS, so please be patient with me on this, and please ask me to provide more information if that is needed to determine. I read the answer here (Slow first page load on asp.net site), but it seems like if I go to the site with one browser it takes long to load the first page, then fast on all other pages, then if I open up another browser, it's the same thing, so it's not something that is saved on the server, but per session? Is there a way to have the application running at all times? Right now it is taking 12 to 15 seconds for the first page to load. I have access to the WebControlCenter and FTP.

View 3 Replies

Encapsulate The Master Page / Tried To Build The Pages Into A Standard .dll To No Avail?

Feb 2, 2011

we've started writing a standard toolkit for our asp.net applications including one standard master page, stylesheet, errorpage, noaccesspage etc. that will be used by all our applications. Is there a way we can add these pages to each individual application from one central location - so if any of these standard pages change, we only have to change them once and not numerous times in our individual projects?? I tried to build these pages into a standard .dll to no avail.

View 1 Replies

Running IIS7 In Classic Mode Does Affect MVC Output Caching

Feb 25, 2010

I have a need to run an application in classic mode for backwards compatibility with a specific application, and am trying to understand what kind of impact that will have on the performance of an MVC application that is running on the site. If we put a few static file maps (for .js, .css, .png, etc) above the ASP.NET wildcard map to reduce the amount of processing by the ASP.NET handler, will we be approaching the integrated mode in terms of performance?

The thing i'm primarily concerned with is any effect this might have on output caching. I understand that integrated mode might (?) allow for the output cache to handle non ASP.NET content, but that isn't really a concern. We're more interested in ensuring that the MVC application has full use of the output cache. Empirically i've found that the two configurations operate on par when things go well, but if the page references resources that are not available, the integrated mode tends to fail much more quickly than the classic mode (e.g. 500 ms vs 10 seconds), reducing 'hang time' on the page load.

View 1 Replies

V4.0 IIS 7.0 Integrated Slow / Certain Pages And It Seems To Compile Again Next Time Go That Page Its Very Fast?

Feb 24, 2011

We recently migrated to v4 of .net. We are running iis 7 in integrated mode. When the site first starts its slow. I get that - it compiles for the first time. The odd thing is then we will go to certain pages and it seems to compile again. The next time i go that page its very fast. Nothing exceptional with the second page - but once that is hit the rest of the site is fast.

View 1 Replies

Web Forms :: Running Aspx Page Along With Asp Pages?

Feb 17, 2010

I am trying to add aspx pages to my website which already has Asp Pages. I made a virtual directory and pointed to existing website where I have placed new Aspx files along with previous Asp files. Now when I try to execute the file. It runs good in first attempt, however, when I click a couple of times of "click me" button browser keeps on processing and does displays my message again.

Code in Default.aspx.vb
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Label1.Text = "Heello how are you?"
Code in Default.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<asp:Label ID="Label1" runat="server" Text=""></asp:Label> <br /><br />
<asp:Button ID="Button1" runat="server" Text="Click Me" />
</form>
</body>
</html>

I initially ran this code in Visual Studio 2008 and it executed well. Later on i transferred my files along with existing Asp Page? Version configured in IIS for ASp.Net is 2.0.50727 Visual Studio 2008 To clarify further, I would like to know, if I am proceeding in right direction to excute my Aspx pages along with Asp? Secondly, why does my browser keeps on processing if I click the button second or third time ? I am not getting exceptions or errors.. And have no idea of reading logs for the program..

View 4 Replies

Custom Server Controls :: Images Doesn't Display While Running Page

Jun 23, 2010

I am working on custom server control. I need to embed js,css and image files in control. I have added js and css file but I am facing a problem to embed images which is in css file. I have set background image in one class in css file but that image does not display when I run the page. So Is it possible to add webresourceurl for images which are placed in css file?

View 6 Replies

Multithreading - Page Running On IIS Make Use Of Multicore Processors?

Jul 8, 2010

I've got an ASP.net page that runs a script which takes anywhere between 1 second and 10 minutes to run dependant on the parameters passed in to it. My question is, if the server is multicore, will this script automatically make use of all the processors, or is it constricted to one.

View 3 Replies

SQL Server :: Query Is Running Very Slow

Mar 19, 2011

The below SQL query is running extremely slow. Im using this query on other tables and its processing about 5 rows per second. The below version is running 1 row every 10 seconds when @SQLNew is executed.

[Code]....

View 5 Replies

Performance - Application Running Slow?

Feb 22, 2011

There's a web app I've been assigned to, which is running very slow. It is a site that sells products so it is database driven, however even pages that do not query the database are loading very slow. The pages use master pages, and the code is in VB.NETI checked with fiddler and the time it takes to load basic (non database driven) pages are about 5.5 seconds on average.

What are some tools that can help me determine the cause of the slow speeds, and any recommendations as to how to speed it up, or potential issues that could cause it?UpdateSo I messed around with the code piece by piece as I wasn't getting anywhere with these tools. As soon as I remove master pages, and I include the same code that's on the master pages in the .aspx page itself, the speed improves drastically (approximately 5 times faster load times).What might cause the master pages to cause load times to slow down so much?

View 4 Replies

Database Connection Sporadically Running Very Slow?

May 25, 2010

My web app connects to my database server which is on my lan. It is usually very quick but once in a while the connection is extremely slow and has even causing errors by timing out. The server only has 1 gb of memory so I'm going to upgrade to at least 4 gb.

View 3 Replies

C# - Unloading An Application Can Affect Another Running Application?

Oct 12, 2010

Application domains allow applications to be unloaded separately. My question is how unloading an apllication can crash another application.

View 2 Replies

Security :: Automatically Assigning Roles / Standard Practice For Assigning Roles To Newly Signed-onmembers?

May 17, 2010

Newb question: what is the standard practice for assigning roles to newly signed-on members. Is it usually manual or is there a way of automatically assigning roles. Being completely new to this, I am confronted by the issue of my site having three different roles that new members could fall into, but am unsure about how to assign each a role. I can't imagine having to go through the process manually if I have thousands of members.

View 6 Replies

Pass Standard Information Between Masters / Pages In Code Behind?

Nov 14, 2010

I need my child pages to be able to set the values of certain properties of the Master page before loading. In other words, how my application builds the Master page for the client depends upon what properties are set by the child pages on the back-end. For example:

public partial class mstrPage : System.Web.UI.MasterPage
{
public int Rows { get; set; }
public int Cols { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
/* Build a .NET two-dimensional-array of divs
that is <Rows> tall and <Cols> wide. */
}
}

In this example, the child page needs to set the values of <Rows> and <Cols> before Page_Load() is invoked for the Master. This is fairly simple to accomplish with inheritance in OOP, but ASP.NET web pages do not "inherit" their master pages in the code-behind. In the given example, what would the code-behind look like for the ASP.NET child page that sets these properties?

View 1 Replies

Web Forms :: What Folder Is The Best Place To Put The Standard Aspx Pages

Sep 8, 2010

I always create a folder "App_Pages" and use it ot put my aspx pages but I see with VS 2010 that it has several default folders created when adding a page. Which one is most applicable. Is it App_LocalResource? I assume that "App_Code" is where custom classes go.

View 3 Replies

C# - Automapper Running Extremely Slow On Mapping 1400 Records?

Nov 9, 2010

I am using AUtomapper which I am very impressed with however, I have a complex object with many nested collections. I'm using Telerik OpenAccess and it returns the 1400 records fast but when I pass it to Automapper and it slows to a ridiculous crawl. Here is my code for reference:

List<DAL.Event> query = httpContext.Events.Where(e => e.Inactive != true && e.Event_Locations != null).ToList();
Mapper.CreateMap<DAL.Event, EventDTO>();
Mapper.CreateMap<DAL.Event_Association, EventAssociationDTO>(); [code]....

View 2 Replies

SQL Server :: Slow Running Query Based On Multiple Tables Using Joins

Nov 15, 2010

One of my peer wrote a query based on multiple tables using joins. One of the table is in a different database The query was taking much time

1. Create an SP
2. Create a temp table and copy all records from the external db
3. Avoid using Left Join as much as possible and use Inner Join
4. Create and use indexes
5. Remove tables/columns that are not necessary

In this scenario, I would like to suggest to use Covering Index, but how can it be created for multiple tables and a temp table?

View 3 Replies

VS 2013 - Internet Explorer To Run Slow And Return Error Message Asking To Stop Running This Script

Nov 27, 2014

I'm new in using C# in ASP.net My code is causing Internet Explorer to run slow and return error message asking to stop running this script.

When I use the "Select *...", it return about 700 rows of records and it cause the error.

When I use another SQL "Select NOC0854....", filtering some records, it return about 300 rows of records and no error message appear.

How I can improve my code so that I can retrieve all records from my table? I think 700 rows of records doesn't seem a lot, maybe my code is not correct?

Code:
//cmd.CommandText = "Select * from PTH3759";
cmd.CommandText = "SELECT NOC0854 from PTH3759 WHERE HID0019 >= TO_DATE('11/01/2014','MM/DD/YYYY') AND HID0019 <= TO_DATE('11/28/2014','MM/DD/YYYY')";
cmd.CommandType = CommandType.Text;
OracleDataReader dr = cmd.ExecuteReader();
if (dr.HasRows) {
GridView1.DataSource = cmd.ExecuteReader();
GridView1.DataBind();
}

View 2 Replies

IIS 6/7 Threading - Long Running Aspx Page Keeps Other Aspx Pages From Loading

Oct 11, 2010

I wrote a test page that does a bunch of busy work in a method called at page load. This process as I have it now takes around 12 seconds.

If I try to load another page while the first long running page is loading, this second page doing nothing except writing out a world, it doesn't load until the first long running page is finished.

Why is this the case? I would think IIS would be able to handle multiple concurrent connections, it seems crazy that one long running page would stop every other page in the application from loading. I must be missing something or not understand how IIS works.

I would think multiple independent requests would be spawned on different threads. Is this only the case if the requests are from different sessions entirely? Are all requests from a single session bound to a single thread?

View 1 Replies

Configuration :: Dev Server Doesn't Turns On Pages Automatically When Debug Or View Pages Of Site In Browser

Sep 13, 2010

When i'm trying to debug or view pages of my site in browser asp.net dev server doesn't turns on pages automatically and when im trying to go by url it throws me an error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Не удается найти указанный файл
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.DoLaunch()
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.OnLinkClickedHyperlinkLinkLabel(Object sender, LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)............................

View 7 Replies

Chart Control Too Slow Or Doesn't Render

Jan 20, 2010

I have a web page rendering two pie charts using the ASP.NET 3.5 chart controls. On my dev server (IIS 5.1) the charts load well. On the QA server, the charts load pretty slowly and sometimes one or both of them doesn't even load. I am loading the charts using the codebehind tag. Is there anything else that could be done to make these charts run faster? Note: I was previously using dotNETCHARTING and never had any issues with it. Nothing else has changed except for the charting engine.

View 1 Replies

Log Slow Loading Pages / How To Optimize Speed

Jan 11, 2011

Do you know of a library/httpmodule for logging slow loading pages (perhaps for a specific treshold) in an ASP.NET environment?

Google did not yield any results.

It would not be too hard to implement on my own, but why re-invent the weel.

View 4 Replies







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