Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 12th, 2005, 05:38 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default Sql Connection Timeout

Hi Friends

Can anyone tell me how to implement Sql Connection Timeout in web.config file. Thanks

__________________
Regards
Mike
 
Old May 13th, 2005, 05:52 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

what do you mean my Implementing "Sql Connection Timeout". Do you want to set the timeout for the SessionState stored in SQL Server??

Regards
Ganesh
 
Old May 13th, 2005, 09:05 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

I am using SQL Server with my website, but in some cases while searching for member profiles on my website, it gives a message that server timeout or expiration something like that. So I want to increase this time out so that even if sql takes time to retrieve a query, it doesn't show time out.

Thanks

 
Old May 13th, 2005, 01:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

The page is tired of waiting for the SQL server-- this can be changed-- but better to work on your database and figure out why it's operating so slowly.


Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.
 
Old May 15th, 2005, 11:39 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

I have checked my database but couldn't find any fault, can u please let me know how to use the commandTimeOut property
Thanks

 
Old May 16th, 2005, 05:41 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Your going to regret changing the timeout-- your will hose up your server with ASP.NET queues building... I am telling you, your missing an index in your database. Have you tested the Query through the analyzer? Is it doing table scans where you should have an index? Have you run the Index Wizard?

As for SQLConnectionTimeout- that isn't a property of anything.... As I said already- your problem is, most likely, IIS being tired of waiting for the page to process so it aborts it.

The connection timeout itself is part of the SQL Connection String that your using-- However, you need to extend the ASP.NET page timeout also.

Google can help you with the exact syntax.

Hal Levy
I am here to help you, not do it for you.
That is, unless you hire me. I am looking for work.





Similar Threads
Thread Thread Starter Forum Replies Last Post
dataadapter/command/dataset sql timeout rajn ASP.NET 1.0 and 1.1 Professional 0 April 1st, 2008 02:58 PM
SQL Server timeout expired msbsam SQL Server 2000 3 October 17th, 2007 10:47 AM
Timeout when connection to SQL Server in WiFi LAN smp4774 SQL Server 2000 1 June 29th, 2007 07:15 AM
Connection pooling and Timeout Raghavendra_Mudugal SQL Server 2000 2 May 24th, 2006 01:42 AM
connection timeout apek PHP How-To 1 February 2nd, 2004 04:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.