computer specs? OS version? Exporting out of Sonar or a different method?
What is your method that is resulting in the error? step by step.
Have you tired converting on a smaller chunk or a different file? Have you tried it on a different machine?
You really have not provide enough information to assess and provide any kind of support for your situation.
Export WAV use Sound Forge for the codec you want. that's my answer.