Link to home
Start Free TrialLog in
Avatar of mohammadzahid
mohammadzahidFlag for Canada

asked on

REP-108: File error - 6i Report

I am using Oracle reports 6i on Oracle10g database and getting error

“REP-108: File 'V:\ora10gias\reports\webreports\cw_report_logo_700pixel_wide.jpg' not found.


When running report on application server. Image is placed in the same directory where my rdf file is located.


Can someone please suggest some idea that I can use to get application server recognize image when running report from my web-site.

Thanks.
Avatar of Mark Geerlings
Mark Geerlings
Flag of United States of America image

The two options that I am aware of for locating files for Forms6i and Reports 6i are either:
1. put them all in the same directory and make sure that it is the working (or "start in") directory for the forms and reports runtime executables
or:
2. add directories to the FORMS60_PATH or REPORTS0_PATH registry entries for the directories that you want Forms or Reports to search in for files (but be aware that there is a 254 byte limit - so if you have multiple, long directory names this could be a problem.)
Avatar of mohammadzahid

ASKER

Hi markgeer,

Good to hear from you.

My environment is little different. I am developing, coding, linking a report (.rdf) file to an image file (residing on local drive) on a Windows XP machine. XP machine is connecting to Oracle 10g running on linux.

Problem is when I build/compile reports on windows xp image properties in .rdf file is pointing to an image directory on XP. Is there anyway I can define image directory at the runtime of the report?

Thanks.

ASKER CERTIFIED SOLUTION
Avatar of Mark Geerlings
Mark Geerlings
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You are correct. I was able to compile my reports by defining REPORTS_PATH in user environment.  Thanks.