Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

CrystalImageViewer not displaying images

$
0
0

Hi,

 

I have a Webforms website I've made to display some reports I've upgraded from an older version, so they'll display properly in IE11.  The reports work perfectly when I run them from Crystal Designer, or when I export them to PDF, however when I view them on the webpage themselves, the embedded images do not load.

 

The site is running as an application within a larger site, so its address would be http://server/CR/ .

I've set my app pool to Classic, moved aspnet_client into both the /server root as well as the /CR root (because why not, it wasnt working anyway), and I've made the necessary changes to web.config. I've added the whole web.config (as a txt file), but pasted the specific bits I believe I need to add here.

 

<sectionGroup name="businessObjects">

      <sectionGroup name="crystalReports">

        <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>

      </sectionGroup>

    </sectionGroup>

  </configSections>

 

<businessObjects>

    <crystalReports>

      <crystalReportViewer>

        <add key="UseBrowserLocale" value="true"/>

        <add key="resourceURI" value="~/aspnet_client/system_web/4_0_30319/crystalreportviewers13" />

      </crystalReportViewer>

    </crystalReports>

  </businessObjects>

 

<system.web>

<httpHandlers>

  <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

  </httpHandlers>

  </system.web>

and finally

 

<system.webServer>

  <handlers>

  <add name="CrystalImageHandler.aspx" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

  </handlers>

</system.webServer>

 

Doing an inspection in Chrome gives me

GET http://server/CR/CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_ddc49144-4220-4239-80d1-4dc87b61e96a.png 500 (Internal Server Error)allInOne.js:12

as the error response (This doesnt work in IEv9 and 11 either, Chrome's just better for seeing these errors).

 

Every piece of information I've looked at for the past day has said that all I need to get this working is the above changes, so I'm pretty stumped right now and would appreciate any assistance I can get.  I think the final piece of information is that I'm using Crystal for VS SP10 with VS2013, and last edited the report file in Crystal Designer 2013.  I also attached an image showing the images not loading on the report - there should be a black bar across the top with the school logo in the top right corner.

 

Thanks,

Dean


Viewing all articles
Browse latest Browse all 8076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>