Answered Favicon in report page

  • Saturday, January 26, 2013 3:22 PM
     
     

    Hi!
    I work on small web-application. It contains web pages (to set report parameters) and reports pages.
    I am using url access and url opens in a new window.
    Now I want to share one favicon for my PARAMETER'S part of application and REPORT's part, and also for Report Manager
    I  placed favicon in Reporting Services/ReportServer folder and added link to favicon in Reporting Services/ReportServer/Pages/UILogon.aspx ( I am using Forms authentication) and now favicon is showing up on Logon page, but not on other pages of Report Manager
    I tried to place favicon in Reporting Services/ReportSеrver folder and added link to favicon in Reporting Services/ReportServer/Page/ReportViewer.aspx
    but favicon not showing up on report pages.

    I have tried few path expressions in link tag with no luck.

    What else I can try???

    Thanks



All Replies

  • Saturday, January 26, 2013 9:40 PM
     
     

    Please check if your favicon.ico is in below default directory,

    Your SSRS installation is probably in a different directory but the default file location is:

    %ProgramFiles%\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager

    For Reporting Services 2008 R2, if you place a favicon.ico file in the root of your ReportManager installation that icon will be displayed when the user bookmarks the report site and in the browser’s tabs.


    Please Mark posts as answers or helpful so that others can more easily find the answers they seek.

  • Saturday, January 26, 2013 11:14 PM
     
      Has Code

    Thanks for your answer!

    I am sure I put favicon file in right place. 

    Picture 1 - favicon.ico is in right place

    It works in logon page (because I add link tags in it!!), as I mentioned 

    <%@ Page language="c#" Codebehind="UILogon.aspx.cs" AutoEventWireup="false" Inherits="TradeXRSSecurity.UILogon" %>
    
    ............
    
    
    <link id="Link1" rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    
    <link id="Link2" rel="icon" href="../favicon.ico" type="image/ico" />
    
    
    

    Picture 2 -favicon on Logon Page

     but not showing up on other pages of ReportManager 

    I also put favicon in ReportServer folder and  "hacked" ReportViewer :)

    <%@ Register TagPrefix="RS" Namespace="Microsoft.ReportingServices.WebServer" Assembly="ReportingServicesWebServer" %>
    <%@ Page Language="C#" AutoEventWireup="true" Inherits="Microsoft.ReportingServices.WebServer.ReportViewerPage" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
     <head id="headID" runat="server">
    <link id="Link1" rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    <link id="Link2" rel="icon" href="../favicon.ico" type="image/ico" />
      <title><%= GetPageTitle() %></title>
    

    But favicon is not working

    but I can see the link tags  HTML source code of reports!!!!

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
     <head id="headID"><link id="Link1" rel="shortcut icon" href="../favicon.ico" type="image/x-icon" /><link id="Link2" rel="icon" href="../favicon.ico" type="image/ico" /><title>
    	Отчет_о_выручке – Cредство просмотра отчетов
    </title><link href="/ReportServer/Reserved.ReportServer?rs:command=StyleSheet&amp;Name=&amp;Version=2009.100.1815.00" rel="stylesheet" type="text/css" /></head>
     <body style="margin: 0px; overflow: auto">
    


    So, where I was wrong???

    Thank you, once again.

  • Wednesday, February 06, 2013 6:36 AM
     
     

    Hi!

    Finally, I've got some results

    I've put ABSOLUTE link to favicon in Pages/ReportViewer.aspx

     <link rel="shortcut icon"href="https://machine.domain.local/[MyWebApplication]/favicon.ico">

    and favicon now works on Report Pages.

    But it still doesn't in ReportManager (except UILogin.aspx, as I mentioned earlier)


    • Edited by camelya Wednesday, February 06, 2013 6:48 AM
    •  
  • Wednesday, February 06, 2013 5:04 PM
     
     Answered

    I have tried a method suggested by one  user on forum.sql.ru 

    I've put favicon in inetpub/wwwroot, restarted IIS, cleared cache

    And now I can see favicon in ReportManager and on Report pages too - for IE, Chrome, Safari, Opera, Firefox!

    • Marked As Answer by camelya Wednesday, February 06, 2013 5:04 PM
    •