【问题标题】:Unable to store quartz .net job无法存储石英 .net 作业
【发布时间】:2018-09-01 14:13:12
【问题描述】:
 +$exception    {Quartz.JobPersistenceException: Couldn't store job: Type  
'System.Collections.Specialized.NameValueCollection' in Assembly 
'System.Collections.Specialized, Version=4.1.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable. ---> 
System.Runtime.Serialization.SerializationException: Type 
'System.Collections.Specialized.NameValueCollection' in Assembly 
'System.Collections.Specialized, Version=4.1.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.

【问题讨论】:

标签: asp.net-core quartz.net


【解决方案1】:

这是由于 .NET Core 不兼容序列化造成的,请按照issue 中的说明切换到使用 JSON 序列化。 -@lahma。 希望这对其他人有帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-12-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-09-08
    • 2011-01-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多