I have a stored procedure in SQL server which will run for a while. When I call the stored procedure from the application ES returning "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding"
Dim SqlCommand As New SqlCommand
Try
SqlCommand.CommandText = "MyProcedure"
SqlCommand.CommandType = CommandType.StoredProcedure
Me.ExecuteNonQuery(SqlCommand)Catch ex As ExceptionApplicationEventLog.WriteException(ex, False)
End Try
What can I do?