Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: Trying to deploy web app on Windows 2012. Only getting blank page when calling reports.

$
0
0

The issues is resolved.  In the web.config file I placed the following:

 

<configSections>

...

...

</configSections>

<businessObjectts>

   <crystalReports>

       <rptBuildProvider>

          <add embedRptInResource="true"/>

       </rptBuildProvider>

       <crystalReportViewer>

           <add key="ResourceUri" value="/crystalreportviewers13"/>

       </crystalReportViewer>

   </crystalReports>

</businessObjects>

 

 

The issue was caused because the folder "crystalreportviewrs13" is part of my project and if you look above the line '<add key="ResourceUri"' is pointing to an absolute url and it needs to be virtual.  So the correct line should be as follows:

 

<add key="ResoureUri" value="crystalreportviewers13"

 

Thank you for you help.  It did make me look back at my web.config file a little harder.

 

Korey


Viewing all articles
Browse latest Browse all 2756

Trending Articles



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