Please do not double post your question - I have removed your other post. In addition, please wrap your code in the code tags.

Your problem can be a great many things and you don't give us enough...