Developer forum

Forum » Development » Indexing failure

Indexing failure

David Löfqvist
Reply

Im starting several indexes from code and all is working except one and according to the log its about KeyNotFoundException: The given key was not present in the dictionary.  Anyone know the cause/solution for this error or have had this happen to them?  I can manually run the index without any issues.

/Files/System/Diagnostics/Products NO/ProductsNO.index/Products secondary/2018-09-24 130040/Log.log

2018-09-24 13:00:40.882: Running. 
2018-09-24 13:00:40.882: BuildIndex failed.. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Dynamicweb.Indexing.IndexService.<>c__DisplayClass14_0.b__0(Tracker tracker) 
2018-09-24 13:00:40.882: BuildIndex failed. 
2018-09-24 13:00:40.882: Failed. 

Regards David


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

It looks like that you are trying to build a "Build" that is not present. You have an index, it has instances and you have builds - one of those builds you are trying to spawn does not exist is my guess

Votes for this answer: 1

 

You must be logged in to post in the forum