常见日志记录的Quartz.Net错误。

时间:2013-11-14 17:08:47

标签: quartz.net

我收到以下错误:

2013-11-14 11:57:33,994 [TestScheduler_QuartzSchedulerThread] ERROR Common.Loggi
ng.Factory.AbstractLogger.Error(:0) - An error occurred while scanning for the n
ext trigger to fire.
Quartz.JobPersistenceException: Couldn't acquire next trigger: Cannot insert the
    value NULL into column 'SCHED_TIME', table 'quartz.dbo.QRTZ_FIRED_TRIGGERS'; co
lumn does not allow nulls. INSERT fails.
The statement has been terminated. ---> System.Data.SqlClient.SqlException: Cann
ot insert the value NULL into column 'SCHED_TIME', table 'quartz.dbo.QRTZ_FIRED_
TRIGGERS'; column does not allow nulls. INSERT fails.
The statement has been terminated.

我正在使用HERE中的示例,我认为我需要了解作业如何更好地与ADO.Net Jobstore协同工作。我的代码与RAMJobStore完美配合。我还需要做些什么来让ADO扫描触发器吗?

1 个答案:

答案 0 :(得分:2)

当我仔细查看引用旧版Quartz.net的错误时,结果证明了这一点。