Skip to Content
avatar image
Former Member

Window Server 2012 R2 - IIS 8.5 Crystal Report

Hi SAP Team,

May we ask your help regarding issues of Crystal Report running in IIS 8.5 C# Program output only as "Blank Page". Kindly see below details for your reference.

Window Server 2012 R2 64bit
IIS 8.5 and Application Pools: .NET 4.5 Integrated
CRforVS 13 0 19 64bit
Visual Studio 2012 Ultimate
Report Viewer 2010
Report Viewer 2012 and SQLSysClrTypes
ASP.NET MVC 3
ASP.NET Web Pages

<appSettings> <!--DB Connetion template => DATASOURCE/DBNAME/USERNAME/PASSWORD--> <add key="DBConnection" value="SSC-NAD-L000046\Integral\sa\xxxxxx" /> <add key="ReportPath" value="~\Reports" /> <add key="NHibernate_Config" value="~\NHibernate.config" /> <add key="GeneratedSchema" value="~\GeneratedSchema.sql" /> <!--//--> <add key="ImagePath" value="~\Content\Images\" /> <!--Can be an IP Address or a Server Name--> <add key="ContentServer" value="localhost" /> <add key="aspnet:MaxHttpCollectionKeys" value="20000" /> <add key="aspnet:MaxJsonDeserializerMembers" value="10000" /> <add key="webpages:Version" value="1.0.0.0" /> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> <add key="CrystalImageCleaner-AutoStart" value="true" /> <add key="CrystalImageCleaner-Sleep" value="60000" /> <add key="CrystalImageCleaner-Age" value="120000" /> <add key="ImpersonateDomainName" value="sscgi.com.inc" /> <add key="ImpersonateUserName" value="administrator" /> <add key="ImpersonatePassword" value="blu3_1c3*!" /> <add key="microsoft.visualstudio.teamsystems.aspnetdevserver:/" value="1991;True;10212;1;-8587524761118396341" /> <add key="microsoft.visualstudio.teamsystems.backupinfo" value="1;web.config.backup" /> <add key="ProduckKey" value="Vdq3yaAaZXVj6xTQEkg5mA==" /> <add key="LdapServer" value="" /> </appSettings>


<system.web> <compilation targetFramework="4.5"> <assemblies> <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" /> <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" /> <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" /> <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> </assemblies> </compilation> <!--<customErrors defaultRedirect="Error.cshtml" mode="On"> </customErrors>--> <authentication mode="Forms"> <forms loginUrl="~/Account/Login" timeout="30" slidingExpiration="true" /> </authentication> <sessionState mode="InProc" timeout="30" /> <membership> <providers> <clear /> <add name="CustomMembershipProvider" type="Project.Web.Infra.Security.CustomMembershipProvider" /> </providers> </membership> <pages controlRenderingCompatibilityVersion="4.0"> <namespaces> <add namespace="System.Web.Helpers" /> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="System.Web.WebPages" /> <add namespace="Kendo.Mvc.UI" /> </namespaces> </pages> <httpHandlers> <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" /> </httpHandlers> <httpRuntime enableVersionHeader="false" maxRequestLength="32768" requestLengthDiskThreshold="15360" maxQueryStringLength="2097151" /> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <!--<modules runAllManagedModulesForAllRequests="true"/>--> <modules> <remove name="UrlRoutingModule-4.0" /> <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" /> </modules> <handlers> <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" /> </handlers> <security> <requestFiltering> <requestLimits maxUrl="10999" maxQueryString="32768" /> </requestFiltering> </security> </system.webServer>

Hope for full response.

Best regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 23 at 09:13 PM

    Hi Adrian,

    A few things can cause this...

    Move your CR code to the Page_Init from Page_Load.

    Make sure you are using Sessions and PostBacks to keep the report in scope

    Add the CrystalReportsViewer13 folder to your project and/or ,make sure it has full read/write permissions for IIS to access.

    Also need full read/write on windows temp folders.

    Don

    PS - SP 22 is now available

    https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

    Add comment
    10|10000 characters needed characters exceeded