You don't give any specifics, but decomposition can corrupt DNA and make testing hard or impossible. Then there is matching with relatives if you don't have a previous DNA sample from the person. Taking a DNA sample tells you very little if you have nothing to compare it with