server

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

Error: “Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.” Keyword: timeout, expired, c#, asp.net, dbcommand, server, execute Scenario: Error when executing your DbCommand more than 30 seconds. Solution: Extend your CommandTimeout DbCommand dbCommand = new DbCommand(); dbCommand.CommandTimeout = 120;