Try placing a
~
<link runat="server" rel="shortcut icon"href="~/favicon.ico" type="image/x-icon" />
<link runat="server" rel="icon" href="~/favicon.ico" type="image/ico" />
This also needs to be done in the
<head>
section of the page.
Similar answer might be helpful for you; have a look
Add favicon.ico
in ASP.NET[
^]