Crystal Reports Error: Memory full. Failed to export the report. Not enough memory for operation.

In my ASP.NET 2.0 (C#) application, the following line of code gives the error "Memory full. Failed to export the report. Not enough memory for operation."

myReport.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, blnAsAttachment, strAttachmentFilNam);

The same code is working fine on many other installations.

The server in question has plenty of memory available.

Any help is appreciated. 


11/5/2008 8:59:54 PM 7043 articles. 0 followers. Follow

7 Replies

Similar Articles

[PageSpeed] 44

Hi scptech,

That's stupid remark about your problems, but do you used some OLE object inside your report ?

Do you have try to export the export as Excel or Word document ? (Only to try if the problem was not only for the export on PDF file type)

I've read a entry about that problem, your problem:

Found the problem. In the report header there was a OLE object with a company logo.  Somewhere along the way this item got corrupted.  When the OLE object was removed I was then able to export to Acrobat...Strange but true.  I hope this problem helps someone else.  Thanks for the help.

Cheers !

Louis Turmel
Montréal - Paris
11/6/2008 2:15:31 AM

There is no OLE object in the report.

11/6/2008 2:46:37 AM

Do you have see the settings of the Application Pool of the production environnement designated to run your web application ? Or any limitation about the Web Site hosted the report causing the "Full Memory".

What is the exact Exception and Stack Trace about the .Net Error given by your report from the application ?

Louis Turmel
Montréal - Paris
11/10/2008 9:03:18 AM

This issue was resolved by installing SP2 on the server (it was previously running MS Win 2003 Server SP1).

11/10/2008 1:51:50 PM

Do you known the fix given about your problems between Win 2003 Sp1 and Win 2003 Sp2 ?

Louis Turmel
Montréal - Paris
11/10/2008 2:02:09 PM

            Dim CrDiskFileDestinationOptions As New _
            Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions()
            CrDiskFileDestinationOptions.DiskFileName = _
            CrExportOptions = cryRpt.ExportOptions
            With CrExportOptions
                .ExportDestinationType = ExportDestinationType.DiskFile
                .ExportFormatType = ExportFormatType.PortableDocFormat
                .DestinationOptions = CrDiskFileDestinationOptions
                .FormatOptions = CrFormatTypeOptions



11/25/2008 10:58:15 AM


Not sure about specifics, just that SP2 worked
11/25/2008 1:33:57 PM

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...

"Logon failed error on Crystal Reports" when using oracle at backend and crystal reports
I am using VS.NET 2003 and oracle 8i database at backend. When I connect DB by ADO it connects and show tables and after making the report when I try to view it in browser there is an error of Logon failure on crystal reports. I am using VB.NET and ASP.NET. Kindly reply me soon. All in all I want to show reports in crystal reports from oracle 8i database. Haroon. can you post your code where you load the report--------------------------------------------------Sincerely,Michael ReyerosPlease remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if...

Crystal report error
Hi,           i have a project which has a crystal report which is been displayed on a webform.It runs perfectly on the development machine, but when i try to put it in prod thru a websetup, i get the following error.i have followed all the steps from the crnet_deployment document got from business objects.What is the problem?  Server Error in '/Loading' Application. Load report failed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more in...

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 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 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...

"Load Report Failed."
Hi Everyone, I have developed a report in VS2005 (On a Vista PC, in case that's relevant). In the report designer, I switch to "Main Report Preview" and the report shows up fine - it get the data from the database and displays perfectly. I tried to add a page to display the report in my app.  I added a crystal report viewer and a Crystal Report Source.  The report displays fine in design view.  However, when I run the app, all I get is "Load Report Failed". Please see the code below:<%@ Page Language="C#" M...

Crystal Report give error "Load Report Failed"
Helloi in my Project I m using Crystal report,My Crystal report is Export in PDFi Have 150 fileapplication is first file export in pdf,then second file export pdf,in same say may be 30-40 file export in pdfbut after they give error load report faild, why this error will come.for run that application agian i have closed my VS and start again applicationwhy this will happen?  Nothing is really over,untill the moment stop trying for it...Amitsp(MCTS,MCP)

Load Report Failed
Hi,  I am using the built in Crystal Report in VS.NET 2005. I followed 2 examples which seem to work until I run the crystal report, then receive "Load Report Failed" on top of the crystal report......   I have selected the table required, and put only 3 fields on the Crystal report, and made its report source my report.rpt, and in the Page_load event, put in databind() I obviouly put the crystalreportviewer on an aspx page first. But gives me the"Load report Failed" Why ? Can anyone assist please ?  Im using an access database Could it be becaus...

Export Crystal report to PDF report
Hello, Does anyone knows how to export the Crystal report (.rpt) to the PDF report in c#?  Thanks  Don't say thanks rather mark my reply as "Answer" if it helps you ,Doing so u'll get points tooamiT jaiNC#.NET Articles Hi, You can use the following  rptDoc.ExportToHttpRespons...

Crystal Report
HiI am using VS 2003 framework 1.1in my application crystal report run fine in my PC.But on demo server it will giving error,Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load report failed.Stack Trace:[LoadSaveReportException: Load report failed.]   .I(String , EngineExceptionErrorID ) +272   .E(String , Int32 ) +56   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +1262   CrystalDecisions.CrystalReports.Engine.ReportCla...

Web resources about - Crystal Reports Error: Memory full. Failed to export the report. Not enough memory for operation. -

Operation Gladio - Wikipedia, the free encyclopedia
Operation Gladio ( Italian : Operazione Gladio ) is the codename for a clandestine NATO " stay-behind " operation in Italy after World War II ...

The Sydney Opera House police operation is over
A police op is currently underway in the #Sydney CBD & #Manly . As the operation is ongoing, no further info is available at this stage. — NSW ...

Opera House scare: Police operation underway - DailyTelegraph Search Search
... Sydney Opera House following information posted on social media. A police op is currently underway in the #Sydney CBD & #Manly . As the operation ...

Police operation at Sydney Opera House sees area evacuated
POLICE operations have completed at Sydney Opera House and Manly wharf with the areas earlier evacuated and some ferry services cancelled.

Burkina Faso: Operation to retake Splendid Hotel from Islamists ends, more than 100 hostages freed, minister ...
Security operations to drive Al Qaeda fighters from a hotel they seized in Burkina Faso's capital end with 126 hostages freed.

Operation under way to end Burkina Faso hotel siege
Over 20 killed and 63 hostages freed as security forces raid hotel in Ouagadougou to end the standoff with gunmen.

Colin Powell looks back on Operation Desert Storm - Videos - CBS News
Twenty-five years ago, the first U.S. airstrikes began on Baghdad in Operation Desert Storm. In just six weeks, U.S. forces expelled the Iraqi ...

Note to CIOs: Focus on innovation, not just operations
CIOs who cling to an operational role could find themselves marginalized in the coming years, whereas those who focus on innovation could attain ...

New remote access Trojan Trochilus used in cyberespionage operations
A cyberespionage group was found using a new remote access Trojan dubbed Trochilus whose detection rate was very low among antivirus products. ...

This General Is About To Become America’s Top Special Operations Officer
'This administration has seen Special Operations to be a very effective tool'

Resources last updated: 1/18/2016 9:00:07 AM