Export Crystal report to PDF report


Does anyone knows how to export the Crystal report (.rpt) to the PDF report in c#?  Thanks

12/4/2008 7:16:46 PM
asp.net.crystal-reports 7043 articles. 0 followers. Follow

8 Replies

Similar Articles

[PageSpeed] 1





Don't say thanks rather mark my reply as "Answer" if it helps you ,Doing so u'll get points too
amiT jaiN

C#.NET Articles
12/4/2008 8:14:30 PM


You can use the following

 rptDoc.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, True, "")


MAKMark as Answer if this reply helps you
ASP.Net Hosting : Host DepotMy Site : ASPSnippets
12/6/2008 2:15:28 PM


I am able to generate the pdf. 

How do we make that pdf non-editable and embeed the digital signature?

I have generated the digital signature using the algo MD-5, how do i embeed the same in the pdf and make un-editable?




12/10/2008 11:40:30 AM


I'll look into this I have never seen such thing in crystal reports. I'll get back to u as soon as i get something.

Let me know one thing. Are you willing to use tools other than crystal reports?

MAKMark as Answer if this reply helps you
ASP.Net Hosting : Host DepotMy Site : ASPSnippets
12/10/2008 12:25:04 PM



Actually, i am using crystal report to convert my report into PDF, which is successful.

Now i need to attach the digital signature to this PDF, therefore i can send this authenticated PDF to outside world.

Also, the PDF should not be un-editable.

I have done the same using 3rd part tool (eldos), but my intention is we need to develop the same using .net instead of 3rd party tool.

The application is being developed in .net 2003.




12/11/2008 4:39:06 AM

I used iTextSharp to do the same, which is free. Also i have seen in the forums, the same has be utilized in production too.



12/15/2008 4:10:18 AM


Use this code.....

MemoryStream oStream;
                oStream = (MemoryStream)
                Response.Buffer = true;
                Response.ContentType = "application/pdf";
                /*This is custom code to export the records from crystal report to Excel file format*/
                Response.Buffer = true;

If this post is answer of your question then don't forgot to Click Mark As Answer
1/5/2009 8:11:32 AM

Similar Artilces:

Converting Crystal Reports 9 report to Crystal Reports .NET report
I have a web page that is supposed to display a crystal report.  The report is fully written and functional in crystal 9 (non-.Net)  .  Is there a way to convert my .rpt so that I can just include it in the new web site? why you don't try to compile project with .net and include your report. then if crystal report is power tool will suggests you with conversation tool    My blog is here.Please remember to 'Mark as Answer' if this post answered your question! Wow it really was that easy!  I just added the old crystal report into my .NET proj...

crystal reports .net -> crystal reports .net 2003
recently converted a project from .net to .net 2003. The 2 crystal reports I had in the project do not load when executing the application. The project itself within 2003 will allow me to multiplat the crystal reports, however when it comes to execution time I get the error: Invalid Data Source. If this isn't the right forum please point me to the right one as this is really the only website I know of with a large reader base. >to multiplat the crystal reports To what the crystal reports? Do you have the same database connections established and verified in your 2003 s...

Export Crystal Report to Crystal Report format
I looked at some sample code provided by crystaldecisions, and they have the ability to export a web crystal report to a crystal report. I was assuming that this would cause the local instance of Crystal reports on the client machine to be invoked. I tried this in my project, and I get the following error: Error Encountered by Crystal Web Report Server -------------------------------------------------------------------------------- The error message returned is: Connection to Report Server Failed. It creates the file as an .rpt file in the directory it should. Do I need a dif...

integration of Crystal Report with .NET ; crystal report viewer not displaying in Toolbox
Hi I m new to Visual Web Developer 2005 Express Edition. I want to integrate Crystal Report with .NET. In my Toolbox , Crystal Report Viewer is not displaying. How to make it possible? + How to call my report from asp.net 2.0. Need source code plz.*Share Knowledge Every TIME Crystal Reports for .NET does not come with VWD Express.  It only comes with VS 2005 Professional (I'm not sure about the Standard edition).If you have Crystal Reports 10 or XI, you can installed the .NET libraries for Crystal and then use them within VWD Express, noting that you have to build your reports ...

Are there other reporting tools other than reporting services and crystal reports
Has anyone had any experience with any reporting tools other than Reporting services and Crystal reports? If so, is there one that you would strongly recommend? Or, are these two the top choice on the market for report generation from .NET? I have heard some moaning and groaning about reporting services. Specifically in regards to the amount of time needed to design a report. Crystal reports seems kind of difficult to me, as I don't have any training with it. Basically I am looking for a reporting tool that is easy to use, and can be used from .NET....

VS .net 2005 Crystal reports ok to run on Crystal Reports XI?
I am getting mixed messages from the asp.net website hosting providers - some say they do not support Crystal Reports due to a $25,000 per cpu licensing fee, others say all I need to do is install Crystal Reports XI (about $500) on a dedicated server and it will run fine. Will Reports developed with the embeded Crystal Reports in VS 2005 run in a Crystal Reports XI environment? Thanks....

Cassini, VS.Net and Crystal Reports
Hi,I am working with Win XP home, Cassini and VS.Net.I would like to play with some Crystal Reports.I create the report in VS as CrystalReport1.I put a CrystalReportViewer on my web form. It does not get recognized as a defined object type but there are no build errors.When I run the app I get an error: Type 'CrystalReport1' is not defined.I have googled on this and see several things people have suggested/tried to correct this. Most I have already tried or the suggestions are not very clear to me. Then I came across a msg that instructed me to set up virtual directories for IIS for CrystalR...

How to render pdf directly on crystal report viewer (WHEN crystal report expects user input before rendering)
  If a crystal report do not need any parameter  or, if parameters can be supplied using code-behind (without user help), I am able to render a pdf on crystal report viewer. BUT if a crystal report needs user input then how do I reneder a PDF on crystal report viewer? I see a parameter-asking dialog-box from crystal report where user supplies input values and hit OK button, but then on click of OK button do I have control what gets rendered a crystal report or, a pdf or, doc?  Or, can I set crystal report viewer control property to say that report need to be rend...

data truncation problem while Exporting report to PDF using Crystal Reports 11.0
hi, I need a solution for data truncation problem while Exporting report to PDF using Crystal Reports 11.0 version.    ...

Crystal Report.NET and nested sub reports
I have a report where i need to have several nested subreports... A parent may have childs and childs may have other childs and so on... CrystalReport.NET and VS2005 seems to support one level of subreport (a report could have a nested subreport but this nested subreport can't have another nested subreport). I really need to handle multiple levels of nested subreports in order to complete my report. What is the solution ???   Thanks   Eviral     I'm not positive if this works but its worth a shot.  Create the subreports as se...

Reporting (Crystal Reports vs. Custom .NET)
Ok, so I have to confess, I have never tried Crystal Reports. I just recently started working for a marketing company now and reporting is VERY important to them.  I am currently migrating a lot of the applications they use from VB5 and VB6 to web based .NET 3.5 apps.   The whole company is running off ACCESS databases if you can believe that.  They sometimes have up to a few hundred agents taking sales on incoming calls and chat sessions and they are all getting streamed to FLAT file records (completely un-normalized database).  I am in the process of developing a c...

How do I deploy an application using crystal reports/install crystal reports?
First of all: C# .NET framework 1.1, IIS 6.0, XP SP1, Windows forms - not ASP.NET but I don't see how it would make a differenceMy Situation: I am tasked with adding to an application the ability to generate a crystal report.  It currently has nothing to do with them.The application runs on an XP system with .NET 1.1 installed but lord only knows how it was installed on there (the guy that set it up is long gone and from past experience with his work I think he was just guessing anyways) In an attempt to see if crystal reports was installed, I wrote a quick test forms appl...

How do I incorporate a crystal report other than the crystal report provided by Visual Studio?
I'm working with the CrystalDecision version of the crystal report. How do I incorporate this into my development?...

comparing Cystal Report 10.2.3(provided by VS 2005) and Crystal Report 10.0.3(provdied by Crystal reports 10
 hi all, i was just wondering what u guys think about the two version (10.2.3 - by VS2005) and (10.0.3 - by Crystal reports 10).it seems like the Coding syntax is abit diff for the two version. (10.2.3 dont even need to mappath) i was wondering if i write the web application using 10.2.3, would i encounter problems when displaying report written by 10.0.3. opinions need, thanks! regards,martin ...

Web resources about - Export Crystal report to PDF report - asp.net.crystal-reports

Crystal - Wikipedia, the free encyclopedia
This article is about crystalline solids. For the type of glass, see Lead glass . For other uses, see Crystal (disambiguation) . A crystal or ...

EPL Crystal Palace v Chelsea: Video, highlights, Willian goal
CHAMPIONS Chelsea rediscovered the winning habit with a convincing 3-0 victory at Crystal Palace on Sunday to move away from trouble at the foot ...

Crystal Palace and Socceroos star Mile Jedinak offers parting advice to Patrick Bamford
Socceroos skipper Mile Jedinak didn't want a bar of Patrick Bamford's excuses when the young Chelsea striker departed Crystal Palace.

Crystal ball reveals 2016's highs and lows in business
Michael Pascoe's tongue-in-cheek Almanac 2016.

Expert: ‘History Won’t Look Kindly’ On Obama’s Foreign Policy, For 3 Crystal Clear Reasons
Expert: ‘History Won’t Look Kindly’ On Obama’s Foreign Policy, For 3 Crystal Clear Reasons

Rise of the Tomb Raider director leaves Crystal Dynamics for Infinity Ward
Tomb Raider Senior Art Director and Rise of the Tomb Raider Game Director Brian Horton has left Crystal Dynamics, the developer announced via ...

Jim Blasingame's 2016 Crystal Ball Predictions
Here is the 16th edition of my New Year predictions. Wall Street’s digital greed, Washington’s anti-business policies and collusion between the ...

Physicists Discover a New Kind of Crystal Inspired by Satellite Orbits
The very definition of a crystal relies on the notion of symmetry: the atoms line up in highly ordered, repeating honeycomb patterns, and that ...

Cinematic Lake House in Western Massachusetts disguises itself as white crystals
Read the rest of Cinematic Lake House in Western Massachusetts disguises itself as white crystals

‘Indiana Jones 5’ May Be Happening, But Could It Be Another ‘Crystal Skull’?
... Makes One of Us,” writer Dan Van Winkle gives his concerns, reminding readers that the fourth film — Indiana Jones and the Kingdom of the Crystal ...

Resources last updated: 1/20/2016 9:11:02 AM