Groff Automation Forum Index
Making software work for you
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

Log in to check your private messagesLog in to check your private messages   

Running Multiple Command Line Instances

 
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help
View previous topic :: View next topic  
Author Message
Rufio

Joined: 18 May 2007
Posts: 13
PostPosted: Mon Nov 26, 2007 12:20 pm    Post subject: Running Multiple Command Line Instances Reply with quote

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
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 694
PostPosted: Mon Nov 26, 2007 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rufio

Joined: 18 May 2007
Posts: 13
PostPosted: Mon Nov 26, 2007 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
nhastings

Joined: 26 Jun 2007
Posts: 5
PostPosted: Tue Nov 25, 2008 6:11 am    Post subject: Reply with quote

Is this still an issue with version 8.x?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Groff Automation Forum Index -> Program Help All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron