Calling fastreport.exe by another application: OCI initialization error
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: \app\product\12.1.0\dbhome_1\oledb\mesg,
regsvr32 /s \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?
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: \app\product\12.1.0\dbhome_1\oledb\mesg,
regsvr32 /s \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?