Hello all.
Getting a previously unbeknownst server error regarding NHibernate and semaphores. Seems errors have been accumulating and causing the semaphore timout period to expire occasionally. The code which performs the execition and the resulting stack trace are provided. Anybody have any ideas?
Thanks!
******code****************
LtExpression statusLessThanShipped = new LtBLOCKED EXPRESSION;
IList<Run> runs = RunProvider.CustomQuery(new Order[] {Order.Asc("RunNumber") } , new ICriterion[] {statusLessThanShipped});
which in turn calls
public static new IList <Run> CustomQuery(Order[] order, ICriterion[] criteria)
{
return BaseProvider<Run>.CustomQuery(order, criteria);
}
********************************************
results in this stack trace*********************
Server Error in '/' Application.
Adding the given count to the semaphore would cause it to exceed its maximum count.
Description: An unhandled exception occurred during the execution of the current web request. Please review
View Complete Post