Consider a situation where the OP had a certain problem and error, and his post receives few valid answers. However, none of those answers worked for the OP, so even though each one of them was helpful to some degree, he ends up discarding the whole code and rewrite it from scratch.
I am not sure if the OP can post an answer to the original question, because the OP didn't effectively solve it; he bypassed it in a fresh attempt at the problem, and a statement like I rewrote the code and it didn't occur again
doesn't help anyone in the future.
In such a case, should any of the answers be accepted and if so, what should be the criteria for deciding that for the OP? Also, is it possible that there be some version of answer that OP posts that can help future visitor?