Jason
unread,Feb 19, 2008, 6:11:21 AM2/19/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Quartz.NET
Hello Sir,
I am trying to update a exist dailyCalendar
_sched.AddCalendar(calendarName, triggerAdapter.QuartzCalendar, true,
true);
However, it always throw a sql Exception ( error message look like
other data reader is exist and should be closed firstly...)
stack:
於
System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand
command)
於
System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String
method, SqlCommand command)
於 System.Data.SqlClient.SqlCommand.ValidateCommand(String method,
Boolean async)
於 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method, DbAsyncResult result)
於 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method)
於 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior, String method)
於
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior
behavior)
於
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
於
Quartz.Impl.AdoJobStore.StdAdoDelegate.SelectTrigger(ConnectionAndTransactionHolder
conn, String triggerName, String groupName) 於 \Quartz\Impl\AdoJobStore
\StdAdoDelegate.cs: Line 1752
於
Quartz.Impl.AdoJobStore.StdAdoDelegate.SelectTriggersForCalendar(ConnectionAndTransactionHolder
conn, String calName) 於 \Quartz\Impl\AdoJobStore\StdAdoDelegate.cs:
Line 1684
於
Quartz.Impl.AdoJobStore.JobStoreSupport.StoreCalendar(ConnectionAndTransactionHolder
conn, SchedulingContext ctxt, String calName, ICalendar calendar,
Boolean replaceExisting, Boolean updateTriggers) 於 \Quartz\Impl
\AdoJobStore\JobStoreSupport.cs: Line 1843