Calling fastreport.exe by another application: OCI initialization error

MSCMSC
edited 5:13PM in FastReport Studio
Well, I am using fastreport studio since 7 years.
We have changed our Windows server to W2K12 R2. Calling the fastreport.exe (see example below) with our production software, causes the error, that OCI (Oracle Client Interface) cannot be initialized.

Calling fastreport on the server in console or via RDP manually, fastreport opens, loads and prints the report.
I am using the latest clientsoftware of Oracle including OLE provider Software: D:\app\product\12.1.0\dbhome_1\oledb\mesg,
regsvr32 /s D:\app\product\12.1.0\dbhome_1\BIN\OraOLEDB12.dll.

Do you have an idea why it is a difference between calling the fastreport.exe manually or by another application? It seems, if calling by another application, the environment is clean in which this process is running: can't find variables like ORACLE_HOME or other things...

commandline:

start fastreport /nologo /connection=MRSPEDAG.WORLD /SHOW /param="SDGID=''MRS-502115-MRS-1'';ADRID=''126338'';USRID=''scm'';AG_ID=''455'';GRENZ=''-'';VDAT=''09.09.2010'';ADRID_WE=''163135;" .\report\ausfuhrabmeldung.fr3

Have you an idea to solve this problem?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.