| View previous topic :: View next topic |
| Author |
Message |
| Rufio
| | Joined: 18 May 2007 | | Posts: 13 | |
|
Posted: Mon Nov 26, 2007 12:20 pm Post subject: 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.
| Quote: |
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 FilesGroff AutomationCrystal DeliveryCDExportedNames.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) |
|
|
| Back to top |
|
 |
| kgroff Site Admin
 | | Joined: 27 Jan 2005 | | Posts: 694 | |
|
Posted: Mon Nov 26, 2007 12:26 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
| Rufio
| | Joined: 18 May 2007 | | Posts: 13 | |
|
Posted: Mon Nov 26, 2007 12:30 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
| nhastings
| | Joined: 26 Jun 2007 | | Posts: 5 | |
|
Posted: Tue Nov 25, 2008 6:11 am Post subject: |
|
|
| Is this still an issue with version 8.x? |
|
| Back to top |
|
 |
|