473,792 Members | 3,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Timeout problems

We are experiencing timeout problems with 2 of the reports on our website at
present.
Basically what is happening is , we have a request to the SQL Server
database to run a stored procedure to return the data. Some of the requests
are quite complecated & we expect them to take some time so we have increased
our database & web timeouts to 600 secs in the web.config
<httpRuntime executionTimeou t="600" />

We have run the stored procedures via Enterprise Manager on our test
platform & tuned them, one returns in 3.5 to 4 minutes the other sub 1
second, but when we run the reports via the web pages on the live system they
timeout .

I don't think it's the database timing out, although we can't test that 100%
as we don't have acess to it, but feel it's some issue with the web server.

Any advise on what may be causing the problem would be gratefully received.

Thanks,
John
Apr 3 '07 #1
1 1433
I am assuming that the time out is a scripting timeout on your browser. As
a test, try this:

1. Have the server receive the request from the user, begin processing it
on another thread, return control back to the client (a progress display of
sorts.)

2. Have the client check on the status of the sql process every few
seconds, say every 15.

3. If the process is complete, display the results.

"John Clennett" <John Cl******@discus sions.microsoft .comwrote in message
news:9A******** *************** ***********@mic rosoft.com...
We are experiencing timeout problems with 2 of the reports on our website
at
present.
Basically what is happening is , we have a request to the SQL Server
database to run a stored procedure to return the data. Some of the
requests
are quite complecated & we expect them to take some time so we have
increased
our database & web timeouts to 600 secs in the web.config
<httpRuntime executionTimeou t="600" />

We have run the stored procedures via Enterprise Manager on our test
platform & tuned them, one returns in 3.5 to 4 minutes the other sub 1
second, but when we run the reports via the web pages on the live system
they
timeout .

I don't think it's the database timing out, although we can't test that
100%
as we don't have acess to it, but feel it's some issue with the web
server.

Any advise on what may be causing the problem would be gratefully
received.

Thanks,
John

Apr 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2808
by: Craig Storey | last post by:
I have a form where users logged in using sessions can edit articles in a WYSIWYG editor. Some of them take their time and don't like to save their work very often and occassionally the sessions expire and their work goes poof. (I've suggested editing off-line and simply copy+paste but they prefer the editor.) After a lot of searching I've found the main culprit is session.gc_maxlifetime and I can set it longet like... ...
2
4591
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET Here's the scenario: 1. .NET Windows Client on a remote machine makes a web service call to update tables on a Web Server running SQL Server 2000. 2. The Update is updating about 1000 - 3000 records doing simple update statements like "Update...
2
2365
by: Siegfried Heintze | last post by:
I made the following change to my web.config file (see fragment below) but does not seem to affect the timeout on my web page. I have a huge session state but since I'm the only one using it, I'd like to set the timeout to infiinity. How can I do this? Thanks, Siegfried <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
2
2903
by: R3al1ty | last post by:
ASP.NET, Windows Forms, Web Services WebService Proxy Timeout = 100secs WebService Asmx = Unlimited? IIS ASP ScriptTimeout = 90secs IIS ASP.NET Execution Timeout = 110secs SQL CommandTimeout = 30secs I've been running tests to see where these number hit, based on my analysis:
3
2734
by: Mufasa | last post by:
Folks, I'm having problems with my session timeout. People using my website leave it just sitting there while they do other things. They have logged in ( using Forms Authentication ) and will be doing other things will a page of mine is up on the screen. But the session times out so that when I try and use a session variable, it crashes saying Object reference not set to an instance of an object. So I put <sessionState timeout="4800" />
10
6183
by: Zytan | last post by:
I have a TcpClient. I set the read/write timeouts at 1 minute (in milliseconds). I get a NetworkStream from it and confirm the timeouts still exist. I do a NetworkStream.Write() and then a NetworkStream.Read(). Sometimes it sits and waits -- on the Write() or the Read() -- for 15 minutes before I get fed up and close the app..... I am not connecting to a TcpListener. I am connecting to a Socket with ProtocolType.Tcp, which is...
2
4532
by: Zytan | last post by:
I just had the problem occur again, with NetworkStream.Write() doing its thing with a timeout... and it just sits and waits and waits and waits... it never times outs. So, I shut the server down just to see if THAT will make it at least end the function call and continue (since it's a synchronous call, so the program is delayed until it returns), and even THAT doesn't make the call end. It just sits and waits... Even IF I have a bug...
1
2419
by: Andrew Cooper | last post by:
I've got a report that is using an ObjectDataSource to populate its data. The problem is that the report takes longer than 30 seconds to generate so it times out. If I were using an SQLDataSource object I know how to set the Command.Timeout to account for this but I can't find the Timeout property on the ObjectDataSource to do this. How can I set the Timeout property on an ObjectDataSource? Thanks, Andrew
0
2295
by: Andrew Cooper | last post by:
I posted this in the aspnet newsgroup but thought I might have more luck with an answer here. I'd really appreciate any help I can get. Thanks. I've got a report that is using an ObjectDataSource to populate its data. The problem is that the report takes longer than 30 seconds to generate so it times out. If I were using an SQLDataSource object I know how to set the Command.Timeout to account for this but I can't find the Timeout...
0
9670
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.