Hi,

We are getting connection timeout error as below when exectuing Stored
Procedure or Criteria Query
Error Message:-

Inner Exception : System.Data.SqlClient.SqlException: Timeout expired.  The
timeout period elapsed prior to completion of the operation or the server
is not responding.

Error Message-2
exceptionNHibernate.Exceptions.GenericADOException: Failed to execute multi
criteria

both issues happening randomly.

We are using Command Timeout prorperty in Web.config and set to 60 secs.

now my question, is nHibernate using Command Timeout property to set to
connection timeout or do we need to specify in coneection string and using
ADO.Net Connection timeout during Session opens or is there way to set
globally in configraiton.

Please let me know suggestions/best practices will help for us.

Thanks,
Ayyappa Kolli

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to