I suppose a block of your code would help us figure out the issue for you. Based on your description it could be any number of things :-)