I asked this question yesterday on SU. Some sleep and few hours of investigation later, I know the actual issue and the solution, both of which I've posted in an answer. If you read the question now, you'll realize that in its current form it is misleading.
I'd delete the question but I think the information is relevant. I also found a similarly misleading question over at SO when researching this.
What's the best way to handle such questions? I've already edited the question to indicate the problem lies elsewhere, but should I do more? Do I delete the question? Should I accept my own answer or is that bad form? Should I modify the question to reflect the true problem, even if turns the other answer completely irrelevant (at best)?