Hi, nevermind. I was able to resolve it by just deleting the same file and adding it again in my solution. I am not sure what was wrong but it solved the prob. I deleted it coz I noticed the other document with the same content but different header was working fine, so I figured there was something in the file so I deleted it. thanks for replying though.