Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...After 4.8 update crystal reports printting stoped workingAfter 4.8 update crystal reports printting stoped working
Previous
 
Next
New Post
1/2/2008 11:15 AM
 

After upgrading from 4.6 to 4.8 the pdf print function in crystal reports stopped working. 

The error that the browser gives is an unterminated string constant.

After examining the source for the page I see that the crystalreportviewer control injects script from a file called export.js which includes the following:

// export.js
// This file contains the funcitons needed to construct the HTML for the export / print dialog.
//
// Global variable
var print = false;  // default to export, so set print to false
var crystal_postback =
        "<INPUT type=\"hidden\" name=\"reportsource\" id=\"reportsource\"/>" +
        "<INPUT type=\"hidden\" name=\"viewstate\" id=\"viewstate\"/>";

..........

the page source with the error is:

<SCRIPT>
<!--
print = true;crystal_postback="<input type='hidden' name='__EVENTTARGET' value='dnn:ctr500:PrintTimeReport:CrystalReportViewer1'><input type='hidden' name='__EVENTARGUMENT' value='export'><input type='hidden' name='__LASTFOCUS' value=''><input type='hidden' name='__VIEWSTATE' value='/wEPDwUJMjgzMDU3ODk3D2QWBmYPFgIeBFRleHQFPjwhRE9DVFlQRSBIVE1MIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0LjAgVHJhbnNpdGlvbmFsLy9FTiI+ZAIBD2QWDAIBDxYCHgdWaXNpYmxlaGQCAg8WAh4HY29udGVudAUaR3JpZmZpbiBBdXRvbWF0aW9uIFdlYnNpdGVkAgMPFgIfAgUxQXV0b21hdGVkIE1hY2hpbmVyeSxSb2JvdGljIFdlbGRpbmcsTGFzZXIgV2VsZGluZ2QCBA8WAh8CBSlDb3B5cmlnaHQgMjAwNyBieSBHcmlmZmluIEF1dG9tYXRpb24gSW5jLmQCBQ8WBB8CZB8BaGQCBg8WA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0bDI6X2N0bDUFO2RubjpjdHI1MDA6UHJpbnRUaW1lUmVwb3J0OkNyeXN0YWxSZXBvcnRWaWV3ZXIxOl9jdGwyOl9jdGw2BTtkbm46Y3RyNTAwOlByaW50VGltZVJlcG9ydDpDcnlzdGFsUmVwb3J0Vmlld2VyMTpfY3RsMjpfY3RsNwU8ZG5uOmN0cjUwMDpQcmludFRpbWVSZXBvcnQ6Q3J5c3RhbFJlcG9ydFZpZXdlcjE6X2N0bDI6X2N0bDEwBTxkbm46Y3RyNTAwOlByaW50VGltZVJlcG9ydDpDcnlzdGFsUmVwb3J0Vmlld2VyMTpfY3RsMjpfY3RsMTIFPGRubjpjdHI1MDA6UHJpbnRUaW1lUmVwb3J0OkNyeXN0YWxSZXBvcnRWaWV3ZXIxOl9jdGwyOl9jdGwxNLt5SXlh+Iu+oQsQwNZKURR9HFyH'><input type='hidden' name='dnn:IconBar.ascx:optMode' value='EDIT'><input type='hidden' name='dnn:IconBar.ascx:optModuleType' value='0'><input type='hidden' name='dnn:IconBar.ascx:cboDesktopModules' value='-1'><input type='hidden' name='dnn:IconBar.ascx:cboPanes' value='ContentPane'><input type='hidden' name='dnn:IconBar.ascx:txtTitle' value=''><input type='hidden' name='dnn:IconBar.ascx:cboPosition' value='-1'><input type='hidden' name='dnn:IconBar.ascx:cboPermission' value='0'><input type='hidden' name='dnn:IconBar.ascx:cboAlign' value='left'><input type='hidden' name='dnn:dnnSEARCH:Search' value='optSite'><input type='hidden' name='dnn:dnnSEARCH:txtSearch' value=''><input type='hidden' name='dnn:ctr500:PrintTimeReport:CrystalReportViewer1:_ctl2:_ctl9' value=''><input type='hidden' name='dnn:ctr500:PrintTimeReport:CrystalReportViewer1:_ctl2:_ctl11' value='AAEAAAD/////AQAAAAAAAAAEAQAAABxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlBwAAAApMb2FkRmFjdG9yB1ZlcnNpb24IQ29tcGFyZXIQSGFzaENvZGVQcm92aWRlcghIYXNoU2l6ZQRLZXlzBlZhbHVlcwAAAwMABQULCBxTeXN0ZW0uQ29sbGVjdGlvbnMuSUNvbXBhcmVyJFN5c3RlbS5Db2xsZWN0aW9ucy5JSGFzaENvZGVQcm92aWRlcgjsUTg/AwAAAAoKCwAAAAkCAAAACQMAAAAQAgAAAAMAAAAGBAAAAApQYWdlTnVtYmVyBgUAAAAOTGFzdFBhZ2VOdW1iZXIGBgAAABVJc0xhc3RQYWdlTnVtYmVyS25vd24QAwAAAAMAAAAICAEAAAAICAEAAAAIAQEL'><input type='hidden' name='dnn:ctr500:PrintTimeReport:CrystalReportViewer1:_ctl2:_ctl13' value=''><input type='hidden' name='dnn:ctr500:PrintTimeReport:CrystalReportViewer1:_ctl2:_ctl15' value='100'><input type='hidden' name='ScrollTop' value=''><input type='hidden' name='__dnnVariable' value='dnn_ctr500_dnnACTIONS_ctldnnACTIONS_xml&lt;root id=dnn_ctr500_dnnACTIONS_ctldnnACTIONS&gt;&lt;n id=2 key=2 txt=  enabled=0 hasNodes=1 cssIcon=  iIdx=0/&gt;&lt;/root&gt;
'>";
rpt=true;
pdf=true;
word=true;
xls=true;
;recXls=true;
;rtf=true;
window.open("/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/html/crystalexportdialog.htm", "", "dependent,menubar,height=450,resizable,width=600");
-->
</SCRIPT>

the hilighted section is the unterminated string constant, which appears to be viewstate info that is related to the dnn core?

I can't figure out where it's comming from nor I'm I sure of what is missing from the string to make it properly terminated?  

Can anyone help.  

 
New Post
9/28/2008 2:35 PM
 

Hi there

 

I have the same problem, has anyone come back to you with a fix for this problem?

 
New Post
6/4/2010 3:23 AM
 
Jack,

I too face the same problem. Please let me know ASAP if you have come up with a solution for this.


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...After 4.8 update crystal reports printting stoped workingAfter 4.8 update crystal reports printting stoped working


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out