Skip to Content

CR Viewer in 13.0.2000 encoding long URL's

VS2013 web app, CR for VS running reports. I am passing parameters via URL and in some cases, the resulting report is encoding the URL when a) changing pages, or b )exporting the data. Has anybody else had this situation? Does not seem to happen on shorter urls.

example of initial url which creates report in viewer:
http://<omitted...>/viewRpt.aspx?rpttype=l&reportsrc=../Reports/SO/rptLog2aDtl.rpt&fee=1&zero=0&fdate=08/01/2016&tdate=08/31/2016&carr=&curr=C&dateType=SHIPMENT%20DATE&g1={tblSOHeader.CARRIER_ID}&gn1=CARRIER%20CODE&g2={tblSOHeader.SHIPFROM_ID}&gn2=SHIP%20FROM%20ID

here is what it changes it to on second page of report viewer
http://<omitted>/viewRpt.aspx?rpttype=l&reportsrc=..%2fReports%2fSO%2frptLog2aDtl.rpt&fee=1&zero=0&fdate=08%2f01%2f2016&tdate=08%2f31%2f2016&carr=&curr=C&dateType=SHIPMENT+DATE&g1=%7btblSOHeader.CARRIER_ID%7d&gn1=CARRIER+CODE&g2=%7btblSOHeader.SHIPFROM_ID%7d&gn2=SHIP+FROM+ID

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 02, 2017 at 09:21 PM

    YOu need to use Sessions and Postback to keep the reprot in scope and focus set on the same page.

    Add comment
    10|10000 characters needed characters exceeded