Hi there,
I have CS2003 and Crystal Reports XI R2 standard edition installed on my machine. Before CR XI installed, my application and reports worked fine. For some reason, I installed Crystal Reports XI R2 standard edition. I am not able to edit the report through VS, I have to change the existing reports through CR XI, luckly, my application still can load those reports if only with a little change. However, I wanna change all referenced CR assemblies in my project from 9.1.5000.0 to 11.5.3300.0 so that I do not have to worry loading problem with some new reports . But it did not work to me, the error message is:
System.Runtime.InteropServices.COMException (0x80041004): Not enough memory for operation
Can anyone tell me how to make it work
thanks!

VS2003 and CR XI
alea
I had this problem and after many days have found that the issue in my case was registry permissions.
I ran regmon to see what the registry was doing and recieved and access denied just befor the app failed.
After adding permissions for the localmachine/aspnet user to the approriate key it worked.
I started one by one but in the end just ended up addingit to the enitre Hive under
my computer \Hkey_classes_root\typelib\
There may be a more elgant way to do this via the GAC tool but this is how I did it.
Hopes this helps
BBBXXX
Did you ever resolve this I have the same exact message coming up. Put together the most basic test I could (see below). I have VS 2003. Used to have CR 9.5 which I upgraded to CR XI Developer and now R2.
I have the error coming up on my development machine and a client deployment.
Imports
CrystalDecisions.CrystalReports.EngineImports CrystalDecisions.Shared
Dim rdReport As
New ReportDocumentDim sPath As String = "C:\Publishers.rpt"
TryrdReport.Load(sPath)
Catch ex As Exception
MessageBox.Show(ex.Message & ControlChars.NewLine & ex.InnerException.ToString & ControlChars.NewLine & sPath, "Load Report Failure", MessageBoxButtons.OK)
Exit Sub End TryRakheesh
Eljefe909
lord_8
i am also facing the problem
System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004): Not enough memory for operation.r.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) r.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)r.ReportClientDocumentWrapper.EnsureDocumentIsOpened()r.ReportClientDocumentWrapper.EnsureDocumentIsOpened().Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) .Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob).Engine.ReportDocument.s().Engine.ReportDocument.get_DataDefinition ().Engine.ReportDocument.SetParameterValue(String name, Object val)
at CrystalDecisions.ReportAppServe
at CrystalDecisions.ReportAppServe
at CrystalDecisions.ReportAppServe
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServe
at CrystalDecisions.CrystalReports
at CrystalDecisions.CrystalReports
at CrystalDecisions.CrystalReports
at CrystalDecisions.CrystalReports
at CrystalDecisions.CrystalReports
at button1_Click(Object sender, EventArgs e)
i dont have any clue why this exception occouring. any tips or clue is wecome.
anupam