Hmm.. can you provide me the details for the error message? what it wrote?
Settings > Applications > development > never turn off screen when USB debugging (something like that at the option there)
Yeah ill write it down or take a screenshot if it happens again