tuangou 发表于 2011-11-20 12:59:39

站点批量操作删除后出现的问题


ERROR LocoySpider.Job.LocoyNewJob [(null)] - Exception:
System.ArgumentException: 已添加了具有相同键的项。
   在 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   在 LocoySpider.Job.LocoyNewJob.OOlO00lO111ll11O11Oll1O1Ol0l0Ol0(Object sender, EventArgs e)

ERROR LocoySpider.Job.LocoyNewJob [(null)] - Exception:
System.ArgumentException: 已添加了具有相同键的项。
   在 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   在 LocoySpider.Job.LocoyNewJob.initDataToForm(Job ljj)
   在 LocoySpider.Job.LocoyNewJob..ctor(String jobid)

ERROR LocoySpider.Job.LocoyNewJob [(null)] - Exception:
System.ArgumentException: 已添加项。字典中的关键字:“内容”所添加的关键字:“内容”
   在 System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   在 System.Collections.Hashtable.Add(Object key, Object value)
   在 System.Collections.KeyedList.Add(Object key, Object value)
   在 LocoySpider.Job.LocoyNewJob.O010OOllO0O1()

ERROR LocoySpider.Dock_JobTree [(null)] - Exception:
System.ArgumentException: 已添加了具有相同键的项。
   在 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   在 LocoySpider.Job.LocoyNewJob.initDataToForm(Job ljj)
   在 LocoySpider.Site.LocoyNewSite..ctor(String siteid)
   在 LocoySpider.Dock_JobTree.cmSiteEditSite_Click(Object sender, EventArgs e)
   在 LocoySpider.Dock_JobTree.O0OOO0011Oll1l01O0(Object sender, EventArgs e)


在任务批量处理中 → 站点批量操作→全选后把所有的都删除了
然后添加新站点就失败
页: [1]
查看完整版本: 站点批量操作删除后出现的问题