In my application I am getting this error:
You can only have one <head runat="server"> control on a page.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: You can only have one control on a page.
What could be the problem?
Assuming you are having problem with
<head runat="server">tag, and you are using master pages…if you are using master pages, do not use
<head runat="server">inside child page… you can add necessary header tags inif you do not have any master page, then make sure whether
<head runat="server">tag is not repeating.