Click here to Skip to main content
15,911,707 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Why Company Logo not seen in page header of Crystal Report in IIS 7. Here we are using Visual Studio 2005 and Crystal Report Version is 10.2. Company Logo is seen in local server but not seen in IIS 7.
Posted
Updated 17-Dec-13 21:19pm
v3
Comments
thatraja 18-Dec-13 2:51am    
Crystal Report logo?
thrisha1 18-Dec-13 2:54am    
I mean Company Logo displayed in the Page Header of Crystal Report.
thatraja 18-Dec-13 2:56am    
How did you put image in report? Need more details if possible code too
thrisha1 18-Dec-13 3:19am    
Simply inserted the image. No other code used. Just binding to crystal report under page load.

1 solution

Check the web.config in your server. Your web.config file(crystal reports settings) should be like below, change the versions based on yours
Sample web.config for Crystal Reports 2008[^]
HTML
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
<appsettings>
<add key="CrystalImageCleaner-AutoStart" value="true" />
<add key="CrystalImageCleaner-Sleep" value="60000" />
<add key="CrystalImageCleaner-Age" value="120000" />
</appsettings>
<connectionstrings />
<system.web>
<!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
<compilation debug="true">
<assemblies>
<add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, <br mode=" hold=" />PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, <br mode=" hold=" />Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, <br mode=" hold=" />Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, <br mode=" hold=" />Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.Enterprise.Desktop.Report, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.Controllers, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, <br mode=" hold=" />Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, <br mode=" hold=" />Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /><add>
assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, 
Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.ReportAppServer.CommonObjectModel, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.DataDefModel, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.ObjectFactory, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.ReportAppServer.ReportDefModel, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
<add assembly="CrystalDecisions.CrystalReports.TemplateEngine, <br mode=" hold=" />Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
</add></assemblies>
</compilation>
<httphandlers>
<add verb="GET" path="CrystalImageHandler.aspx">
type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, 
Version=12.0.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add verb="GET" path="CrystalImageHandler.aspx">
type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, 
Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</add></add></httphandlers>
</system.web>
</configuration>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900