• Page:
  • 1
  • 2

TOPIC: Command Line Replacements

Re:Command Line Replacements 09 Dec 2008 14:05 #345

  • bellis
  • bellis's Avatar
Did you test the RRD file before trying to pass it via that command line? Could you attach your RRD file? Make sure you edit it in notepad first and change the password (if you have it defined) to something like SOMEPASS.

Thanks!
Brian
The administrator has disabled public write access.

Re:Command Line Replacements 09 Dec 2008 14:06 #346

  • perherman
  • perherman's Avatar
perherman wrote:
"C:\aquila\reports\AQUILA.rdd"

the name is not the problem, I have tried with prislista.rdd and Aquila.rdd, both files created by Builder, and which worked yesterday (but not the parameters).

Today I cannot call them from the command prompt...

Per-Olof
The administrator has disabled public write access.

Re:Command Line Replacements 09 Dec 2008 14:16 #347

  • perherman
  • perherman's Avatar
perherman wrote:
C:\aquila\reports\AQUILA.rdd"


the file names are with .rrd extension, the above is a typo error.

However I do not get the correct parameter replacments to take place.

The report runs with the presaved parameters.

Per-Olof
The administrator has disabled public write access.

Re:Command Line Replacements 09 Dec 2008 14:32 #348

  • aellis
  • aellis's Avatar
Hmmm - if you go to Register Logicity it has a Pro key correctly entered, right? Also, on your RPT file can you check that you do not have "Save Data With Report" selected under the File menu?
The administrator has disabled public write access.

Re:Command Line Replacements 09 Dec 2008 21:11 #349

  • perherman
  • perherman's Avatar
I have the Pro license entered corretly.

I have taken a new version of the .rpt cr-report which is not "Save Data with report".

I now get the following error when running:

nformation om att aktivera JIT-felsökning i stället för den
här dialogrutan finns i slutet av det här meddelandet.

************** Undantagstext/expception text **************
System.ArgumentException: Argumentet Length måste vara större än eller lika med noll. (Argument lenght must be longer than or equeal to zero)
vid Microsoft.VisualBasic.Strings.Mid(String str, Int32 Start, Int32 Length)
vid Logicity.Common.fileIO.stringReplace(String inputString, String replacements)
vid Logicity.Common.fileIO.replaceVariables(Array ActiveActionList, String replacements)
vid Logicity_Desktop.ProgressForm.ProgressForm_Load(Object sender, EventArgs e)
vid System.EventHandler.Invoke(Object sender, EventArgs e)
vid System.Windows.Forms.Form.OnLoad(EventArgs e)
vid System.Windows.Forms.Form.OnCreateControl()
vid System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
vid System.Windows.Forms.Control.CreateControl()
vid System.Windows.Forms.Control.WmShowWindow(Message& m)
vid System.Windows.Forms.Control.WndProc(Message& m)
vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)
vid System.Windows.Forms.ContainerControl.WndProc(Message& m)
vid System.Windows.Forms.Form.WmShowWindow(Message& m)
vid System.Windows.Forms.Form.WndProc(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Logicity Desktop
Sammansättningsversion: 1.6.3182.30591
Win32-version: 1.6.0.0
CodeBase: file:///c:/Program%20Files/Saberlogic/Logicity/Logicity%20Desktop.exe
Microsoft.VisualBasic
Sammansättningsversion: 8.0.0.0
Win32-version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Runtime.Remoting
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
Logicity.Common
Sammansättningsversion: 1.6.0.0
Win32-version: 1.6.0.0
CodeBase: file:///c:/Program%20Files/Saberlogic/Logicity/Logicity.Common.DLL
System.Configuration
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
Microsoft.VisualBasic.resources
Sammansättningsversion: 8.0.0.0
Win32-version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_sv_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll
System.Windows.Forms.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
mscorlib.resources
Sammansättningsversion: 2.0.0.0
Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för
det här tillämpningsprogrammet eller datorn (machine.config) ha
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat
med felsökning aktiverat.

Till exempel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

När JIT-felsökning är aktiverad kommer alla undantag som inte
hanteras att skickas till JIT-felsökaren som är registrerad på
datorn snarare än att hanteras av den här dialogrutan.
The administrator has disabled public write access.

Re:Command Line Replacements 10 Dec 2008 20:02 #350

  • perherman
  • perherman's Avatar
Today I do not get the error from yesterday (I have rebooted, and also installed CR 2008)

I have tried to define the .rrd file in different ways so as to get the parameters to be replaced by the command line parameters.

But either the rrd-file asks for the parameters again (if I define "Prompt User")

or it will prompt if I leave them as Specified, available parameters,

or it will not prompt, but run with old parameters if I add them as Defined parameters.

So I still do not get the replacements to work.

Per-Olof
The administrator has disabled public write access.

Re:Command Line Replacements 11 Dec 2008 15:08 #355

  • mattholbrook
  • mattholbrook's Avatar
Hi,

If you are still having problems I can do a remote session with you to see exactly what is going wrong. My email address is This email address is being protected from spambots. You need JavaScript enabled to view it..

Thanks!!
Matt
The administrator has disabled public write access.

Re:Command Line Replacements 17 Jan 2013 18:30 #1262

  • dos Santos e Silva
  • dos Santos e Silva's Avatar
  • Offline
Did you come right with the multiple parameters for commandline replacements? If so I need to see the format please.
The administrator has disabled public write access.

Re:Command Line Replacements 18 Jan 2013 15:50 #1263

  • aellis
  • aellis's Avatar
  • Offline
Yes, you simply add additional replacements separated with semicolons. For example:

"C:\Program Files\SaberLogic\Logicity\Logicity Desktop.exe" "C:\Test.rrd" SALES_ORDER=CO-12345;CUSTOMER=1234
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

Logicity Logo White 300

526 S Main St., Suite 805, Akron, OH 44311 USA
855.758.0100
sales@logicitysuite.com