1
我收到以下错误:关于常见日志记录的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作业存储更好的作品。我的代码与RAMJobStore完美配合。还有什么我必须做的,让ADO扫描触发器?
您正在运行Quartz.NET的哪个版本?该列稍后添加,支持库和版本2.2及更高版本。 –
是的,我正在使用2.2。当我把set useProperties =“true”时,我得到新的错误:{“无法为'njobGroup.njob'作业存储触发器'njobTriggerGroup.njobTrigger':无法强制类型为'Quartz.JobDataMap'的对象来键入'System。 Collections.Specialized.NameValueCollection”。“} – gooddadmike