Showing results for 
Search instead for 
Did you mean: 

Not enough memory exception on windows 2003 server with crystal reports 11

0 Kudos


i am using crystal reports 11 on windows 2003 server with service pack 2. When i try to load report through my .aspx page it gives me following error

Load report failed.System.Runtime.InteropServices.COMException (0x80041004): Not enough memory for operation. at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

I have 2 GB RAM on my server machine. This report runs smoothly on my development machine with the same configration (winXP)

I have given permission to network service account on windows\temp folder .

anyone help me .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Praveen,

I hope you can see some reports at first and then eventually, this error pops up. Right? If that is so, then you need to make sure that the temporary files with .rpt extension in the Temp folder is getting cleared. that is new .rpt files are getting deleted. Also using the Reportdocument.Close() and Reportdocument.Dispose() along with GC.Collect() would help you.

If this issue is coming up at the first run itself, then make sure that you are using the correct dlls, the report location is proper and the report folder has got proper rights. as you are using IIS6 giving full control to Temp and report folder for IIS_WPG process is required.

The error you are getting is pretty generic, so let us know the vs version and how you deployed the application, in your next post.


0 Kudos

Dear ,

This issue is coming up in the first run of the report. I have visual studio 2005 and crystal report 11 on my server. I have 10.2.3600.0 and 11.0.3300.0 version assemblies for crystal report in my GAC. I am using 11.0.3300.0 in web.config and on pages. I have given full access of TEMP and Reports folder to IIS_WPG/ Network service / Aspnet account.

If i change the version into web.config (10.2.3600.0) and also in pages, reports works fine, no error. But when i use the 11.0.3300.0 it gives me error.

You mentioned that " make sure that you are using the correct dlls," what this means? i am using this from GAC only by referring the assembly in my web.config file

I am in deep trouble on this issue.

Active Contributor
0 Kudos

Assemblies of version 11.0.3300.0 are not supported in .NET 2005. You have to upgrade your CR XI install to CR XI release 2 (cr 11.5). Follow these steps:

1) uninstall CR XI release 1 (11.0)

2) download CR XI release 2 from here:

3) install CR XI r2 - use the same keycode as the one you used to install CR XI r1

4) Download the latest SP for CR from here:

You should now have CR assemblies for .NET version 11.5.3700. These assemblies are supported in .NET 2005.

For links to the runtime files for CR 11.5, see this wiki:


Answers (0)