Skip to Content
Former Member
May 29, 2013 at 04:33 PM

13.0.5 VS2010 System.Runtime.InteropServices.COMException The system cannot find the path specified



I'm trying to load a crystal report in VS 2010 C# using v13.0.5 of Crystal Reports like this...

CrystalDecisions.CrystalReports.Engine.ReportDocument report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();


While it works on a standard system it doesn't appear to work on a Citrix environment. The error returned is this ...

System.Runtime.InteropServices.COMException The system cannot find the path specified.

at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)

at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)

at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

While investigating this error and at the suggestion of other posts, I changed the permissions on the c:\windows\temp directory and reports directory to 'everyone' and 'full control'. No difference.

I opened ProcMon.exe to see if crystal can get access to the report and it appears to be fine. It feeds the entire report bit by bit into a temporary file and there doesn't appear to be any faults to identify.

What file is Crystal looking for and cannot find?