Click here to Skip to main content
13,289,626 members (59,004 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Am using crystal reports and while exporting to pdf or any other format,getting error as "Failed to export using the options you specified. Please check your options and try again." How to solve this?
Posted 3-Feb-13 22:12pm
Richard MacCutchan 4-Feb-13 4:57am
Do what the message tells you.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use Session to store Report and Use its Solve your Problem.
Look at Code

protected void Page_Load(object sender, EventArgs e)
            if (!Page.IsPostBack)
            CrystalReportViewer1.ReportSource = Session["CR_Session"];  //Set Report Source for Viewer
        void BindReport()
            HR_EmployeeVocation Cr = new HR_EmployeeVocation(); //Create New Report Instance
            Cr.SetDataSource(GetEmployeeList());  //Set Data Source for Report
            Session.Add("CR_Session", Cr);  //Add Report into Session CR_Session

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 14 Aug 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100