Can you post more of the code? Can you enable debug alert and post the stack trace? Continue reading...