Print Page | Close Window

Time out problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6193
Printed Date: 29 March 2026 at 9:21am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Time out problem
Posted By: Sabarish_s
Subject: Time out problem
Date Posted: 06 October 2003 at 4:47am

I am using a SqldataAdapter to fill in a dataset, which is used to  populate a Datagrid, as the queries are complex it is

taking 5-10 minutes to execute and i am getting an exception "Time out Expired".Is therse any way to increase the Time out

while using SqlDatAdapter and a dataset




Replies:
Posted By: Bunce
Date Posted: 06 October 2003 at 8:22pm

you can set the timeout in your connection string, and also on the command object in your data-adapter.

I think you can also set a page.(script)timeout setting or something similar too although you might have to research that one.

However, 5-10 minutes is a long time, unless you're talking MEGA complex!  Perhaps you can look into optimising that first..

Cheers,
A



-------------
There have been many, many posts made throughout the world...
This was one of them.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net