hii newc1 thanx for replying. but i figured the source of the problem.. its not with the code.. its the prob with the webhosters.. the asp server which was running was 1.0 where as mine required 2.0 so iv asked them to upgrade it.. hopefully things should get normal once it is upgraded..