• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 469
  • Last Modified:

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

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 !!!!
0
VikramIsaac
Asked:
VikramIsaac
1 Solution
 
Sreedhar VengalaCommented:
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.

0
 
VikramIsaacAuthor Commented:
I just increased the command timeout property to 500 , It works fine  ...thanks ..
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now