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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Using Crystal Reports to Export to Excel with SSLUsing Crystal Reports to Export to Excel with SSL
Previous
 
Next
New Post
1/19/2007 1:36 PM
 

I have upgraded our site from DNN 2.x to DNN4.x. The site uses SSL.  One module uses Crystal Reports 10 to export to PDF and Excel.  Since the conversion, the Export to Excel does not work when SSL is turned on (the PDF works fine). 

When the SSL is off, the message box asks if I want to open "ReportExporter.xls" and then opens the Excel document in a new window.  When SSL is turned on, it asks if I want to open "Default_aspx?tabid=93rq=xls" (with an underscore) and then says it cannot find "Default.aspx?tabid=93&rq=xls".

I have discovered that if I put the same code in a separate aspx page instead of in a DNN control, it works correctly with SSL on.

Thanks for any guidance to a solution.

The code  is:

Private Sub Export() 
 
     LogonCE() 
 
     _ReportId = _StateTransport.ObjectId 
 
     Dim psService As EnterpriseService =  _CESEssion.GetService("PSReportFactory") 
 
     Dim psFactory As PSReportFactory =  CType(psService.Interface, PSReportFactory) 
 
     Dim psReportSource As ReportSource =  psFactory.OpenReportSource(CInt(_ReportId)) 
 
     ReportExporter1.ReportSource = psReportSource 
 
     ReportExporter1.Visible = True 
 
     ReportExporter1.ExportFormatType = ExportFormatType.ExcelRecord 
 
End Sub 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Using Crystal Reports to Export to Excel with SSLUsing Crystal Reports to Export to Excel with SSL


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