For updated version of the article please visit www.agnosticdevs.com Quick Checks: Is it a .aspx page or by mistake you are trying to open a masterpage or a user control. Just check once. Also try to clean and recompile your solution. Make sure to close...