Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals 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
  #1 (permalink)  
Old March 8th, 2011, 07:23 PM
Authorized User
Points: 343, Level: 6
Points: 343, Level: 6 Points: 343, Level: 6 Points: 343, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2009
Posts: 74
Thanks: 5
Thanked 0 Times in 0 Posts
Default Timeout expired problem, thanks

I have a problem with my application connecting to sql server
Here's the description.

At first login attempt, when its the first time I try to connect to sqlserver.
When I try to log into the app I am currently working on for the first time I get the following error:

"Timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding."

However when I try to login a second time , the login is successfull.
Please anyone knows how I can solve this problem. I have tried increasing timeout from sqlserver, but it didnt work. I have also tried to increase the command timeout in web config shown below but it still didnt work. i'd appreciate any solutions, thanks.

<membership defaultProvider="IAccountantSqlMembershipProvider" >
<!-- Add a customized SqlMembershipProvider -->
<add name="IAccountantSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="IAccountantDBConnectionStrin g" enablePasswordRetrieval="false" enablePasswordReset="true" commandTimeout="9600" requiresQuestionAndAnswer="false" applicationName="iAccountant" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="10" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="20" passwordStrengthRegularExpression=""/>

Similar Threads
Thread Thread Starter Forum Replies Last Post
Timeout expired ks2006 ASP.NET 2.0 Basics 12 September 8th, 2006 03:54 PM
TimeOut Expired Lalit_Pratihari SQL Server 2000 1 July 23rd, 2006 12:59 PM
Timeout expired glibo SQL Server 2000 6 July 21st, 2006 11:58 AM
Timeout Expired Error vinod_pawar1 SQL Server 2000 5 July 17th, 2004 09:37 PM
Timeout expired ssingh SQL Server 2000 4 April 19th, 2004 11:10 AM

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