Advertisement

07.23.2008 at 08:11AM PDT, ID: 23588791
[x]
Attachment Details

Can not open crystal report in pdf format

Asked by siddiqishahid in Crystal Reports Software

Tags:

I am trying using following code to open crystal report in PDF but it does not work. A window opens and then disappear. What are the causes?

CrystalReportSource1.Report.FileName = Server.MapPath("Report1.rpt")
        CrystalReportSource1.ReportDocument.SetDatabaseLogon("myuser", "mypassword")
        CrystalReportViewer1.Visible = False
        CrystalReportSource1.ReportDocument.VerifyDatabase()
        Response.Buffer = True
        Response.ClearContent()
        Response.ClearHeaders()
        CrystalReportSource1.ReportDocument.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "Report1")
       Start Free Trial
[+][-]07.23.2008 at 09:18AM PDT, ID: 22070856

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 10:07AM PDT, ID: 22071402

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 10:22AM PDT, ID: 22071590

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 10:24AM PDT, ID: 22071616

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 10:31AM PDT, ID: 22071697

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 10:36AM PDT, ID: 22071758

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 11:06AM PDT, ID: 22072081

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Crystal Reports Software
Tags: Crystal Report
Sign Up Now!
Solution Provided By: mlmcc
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.23.2008 at 12:28PM PDT, ID: 22072926

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 12:39PM PDT, ID: 22073021

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 12:51PM PDT, ID: 22073122

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628