Hello,
I have a website in VS2013 and I have created a Crystal Report witch work in development environment but when I deployed it to server I get a blank page. I know there is a lot of information about this error but I’ve tried all I’ve read and don’t work.
My development machine:
Windows 8 64 bits. VS2013 with Crystal Report (13.0.13.1597). 32 bits
Server machine:
Windows Server 2012R2 64 bits
Crystal Report (13.0.13.1597). 32 bits
I have copied the folder "aspnet_client\system_web\4_0_30319\crystalreportviewers13" to my website folder.
I have added to my web.config the following elements:
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/>
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"></section>
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true"/>
</rptBuildProvider>
<crystalReportViewer>
<add key="ResourceUri" value="/aspnet_client/system_web/4_0_30319/crystalreportviewers13"/>
</crystalReportViewer>
</crystalReports>
</businessObjects>
<appSettings>
<add key="vs:EnableBrowserLink" value="false"/>
</appSettings>
I have checked with browser developer tools that all files are served (crv.css, style.css …)
I have configured IIS to run 32 bits applications.
I have developed an application running as a service (VB.NET) in the server that create the same report and export to PDF and works.
In the web application, I have tried export the report to a PDF and send it to browser and don’t use the Crystal Report Viewer with the same result. I can see the pdf in the development machine, but not in the server.
Can anyone help me? I appreciate your help.
Thanks.