Running Multiple Command Line Instances I am running into two errors when running command line exports of different reports at the same time. Thanks to the new logging I am able to recognize this; I am including the two error messages at the bottom.
Is there any reason, programmatically, the command line should not be able to run in parallel?
The use of a file, CDExportedNames.txt, leads me to believe it cannot. It should also be noted that both reports are bursting on a parameter, so it is highly likely they are trying to export at the same time.
Messasge: This property is currently in a read-only state and cannot be modified.
Source:
Stack Trace: at CRAXDRT.IDatabaseTable.set_ConnectBufferString(String ppConnectBufferString)
at CrystalCMD.Module1.SetReportConnections(String<> strParamArgs, Report crxReportSource)
Target Site: Void set_ConnectBufferString(System.String)
Messasge: The process cannot access the file 'C:\Program Files\Groff Automation\Crystal Delivery\CDExportedNames.txt' because it is being used by another process.
Source: Microsoft.VisualBasic
Stack Trace: at Microsoft.VisualBasic.FileSystem.Kill(String PathName)
at CrystalCMD.Module1.ExportReport(String<> strExpArgs, Report crxExportReport)
Target Site: Void Kill(System.String)
kgroff- 11-26-2007
I have never attempted it. The command line does use a couple of temporary files during execution such as CDExportedNames. I may be able to create unique names for these file to eliminate the conflicts.
Rufio- 11-26-2007
That would be great. I currently have one report that bursts around 60 parameter values and have usually had only half generate on a regular basis but when I run it later (i.e. no other reports are generating) they all generate.
nhastings- 11-25-2008
Is this still an issue with version 8.x?
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.