473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Extend the time allowed for loading a page?

52
Hi,

It seems that when my website tries to load an extremely large request (in my case, a extremely large report generation), it would load for a while, then ask for authentication detaills a couple of time (which should only be needed when first entering the site), and then the server would just die and had to be restarted.

Most of the time is taken on quering databases with OdbcConnections.

Is there certain settings that I can change to allow longer allowance time, or other way to fix this?

Any help is appreciated :)



Billy


ps. just out of curiosity; does anyone know when a website is compiled, where are the "compiled stuffs" actually stored?
Jan 12 '09 #1
3 1571
Frinavale
9,735 Expert Mod 8TB
You can extend the execution time in the web.config file.
Set the httpRunttime executionTimeout to be larger
For example
Expand|Select|Wrap|Line Numbers
  1.     <system.web>
  2.         <httpRuntime executionTimeout="900" />
  3.      </system.web>
  4.  
Jan 12 '09 #2
Frinavale
9,735 Expert Mod 8TB
@200dogz
It depends on if you have precompiled your website.
If you have not precompiled your ASP.NET pages they are interpreted (not compiled) at runtime.

If it is precompiled, a DLL with the same name as your assembly will be created and placed into your bin folder. This DLL is then used to serve your web pages.

I think that even if you extend the execution time out value, you're still going to be experiencing problems. It sounds like you worker process is being recycled because it's growing too large. You should look into whether or not this is happening.
Jan 12 '09 #3
200dogz
52
@Frinavale
Hmmm yep you're right.

Changing the execution time does not solve the problem. It still asks for the username and password around every 10 seconds when loading it.

Also, I've recently moved my site to a new server. It was running very fast at first, but after a while it became really slow as if it's compiling the whole website for every page it loads. The debug option's turned off, and it isn't the performance with the hosting server because other websites run fine on it.

I guess I'm not providing enough information :( ....does anyone know any common cause that makes an ASP.NET website really slow and disconnects often?
Jan 13 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
10
by: Jerzy Karczmarczuk | last post by:
Gurus, before I am tempted to signal this as a bug, perhaps you might convince me that it should be so. If I type l=range(4) l.extend() l gives , what else... On the other hand, try
5
by: Manish Jain | last post by:
Environment: Windows 2000 Server (SP4), ASP.Net/C# (Framework 1.1) Hardware: PIII @ 700 MHz, 512 MB RAM ----------------------------------------------------------------------------...
1
by: Fabricio Tofoli | last post by:
Hello all, I have a simple ASP.NET project that displays the contents of a MySql database table in the web page. All pages are extremelly slow, and not only the first time you access them, it's...
6
by: Grace | last post by:
Hello, I write a Web Application: its UI has a DataGrid controller. The web application gets huge data from SQL Server, then shows the result after processing these data. It needs much time to...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
3
by: jacobstr | last post by:
I've noticed Object.extend used in a few different ways and I'm having trouble distinguishing why certain usages apply to a given situation. On line 804 Ajax.Base is defined as follows: ...
1
by: kelvinweb | last post by:
Hi All, How to calculate web page loading time on client and send back result to server side ? Urgent ! Thanks alot !
0
by: AndySummers | last post by:
Hi We have just re-written a majour asp.net project to use a user control embedded in a web page. The main dll references 3 other custom controls and so to deploy the project I copy the 4 dll's to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.