This is weird. I added a brand new Web Application project to my solution in Visual Studio 2008.
Created a master page. Made zero modifications. Created a new we
In my case runat="server" was missing in the asp:content tag. I know it's stupid, but someone might have removed from the code in the build I got.
runat="server"
It worked for me. Someone may face the same thing. Hence shared.