I'm getting this error:
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
I know that most of the time this problem is fixed by adding the commandtimeout property of a sqlcommand.
The problem is that I'm getting this error trying to do this:
Dim con as new SqlConnection("connstring")
con.open() ' bang!, i'm getting the error here.
The strange thing is that i'm getting the error when trying to open the connection, and the problem is intermitent, i mean I'm not getting this error always.
Any thoughts on how to solve this?, or what can be causing the error?