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

Posted on 2009-04-20
Last Modified: 2013-11-07
Hi experts, Im getting an error like " Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."while executing an sp which take 45 seconds ..
In connection string i've specified timeout as 10000

even though im facing the same problm ..Plz help !!!!
Question by:VikramIsaac
    LVL 9

    Accepted Solution

    Try changing : CommandTimeout property of your SqlCommand object
    The Connect Timeout attribute of a connection string determines how long a SqlConnection Object runs before it stops attempting to connect to a server.


    Author Closing Comment

    I just increased the command timeout property to 500 , It works fine  ...thanks ..

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    Introduction HyperText Transfer Protocol ( or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now