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