Home » Developer & Programmer » Forms » failed to load objects
failed to load objects [message #111112] Mon, 14 March 2005 00:22 Go to next message
rareraja
Messages: 22
Registered: March 2005
Location: NJ, USA
Junior Member
Hi,
I am getting an error message whenever i try to open an older version form e.g. xyz.fmb in newer version. error message is

FRM - 18108 : Failed to load the following objects
Source Module : abc.fmb
Source Object : xx

can anyone help me to overcome this problem ?

thanks and regards
Re: failed to load objects [message #111113 is a reply to message #111112] Mon, 14 March 2005 00:26 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Forms 10g can only open Forms 5 and newer. To open Forms 4 and 4.5 you have to use Forms 5, 6, or 6i. [Due to the PL/SQL needing to be migrated.] If you are using an even earlier version, please say which version.
Re: failed to load objects [message #111115 is a reply to message #111113] Mon, 14 March 2005 00:33 Go to previous messageGo to next message
rareraja
Messages: 22
Registered: March 2005
Location: NJ, USA
Junior Member
hi,
i try to regenerate from version 5.0.6.16.0 to 6i.
Re: failed to load objects [message #111116 is a reply to message #111112] Mon, 14 March 2005 00:39 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
"Source Object: xx" would appear to be from a reference form or reference object library. You will have to convert that reference form or reference object library to 6i before you can use it.

Also, the directory containing the converted reference form or object will have to exist in the new Oracle Forms 6i FORMS60PATH that is defined in your Registry.
Re: failed to load objects [message #111123 is a reply to message #111116] Mon, 14 March 2005 01:22 Go to previous messageGo to next message
rareraja
Messages: 22
Registered: March 2005
Location: NJ, USA
Junior Member
Hi Devid,
how to set the Oracle Forms 6i FORMS60PATH in the Registry ? could I simply mention the directory path inside double quotation ?

thanks
Re: failed to load objects [message #111124 is a reply to message #111112] Mon, 14 March 2005 01:33 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Start > run > regedit ... My Computer / Hkey_local_machine / software / oracle ... now the difficult part. You have to know which HOMEx is for which version of Oracle. Look and it is not too difficult. The Forms 6 home has entries with '60' in them, the 9 home has '90' in the names. The 4.5 has '45', etc. Find your FORMS60PATH and put your working directory at the BEGINNING of the list. Look to see how youe other 'PATH's have been set up.

The HOMEs are numbered 0, 1, 2, etc. ALL_HOMES has a HOME_COUNTER and a LAST_HOME. The LAST_HOME is your current home. That is, LAST_HOME = 0, means 'HOME0'. It is 'nicer' to use the 'change oracle home' application which is hanging off your Oracle hierarchy in the start > programs list than to change it directly in the Registry.
Re: failed to load objects [message #111136 is a reply to message #111124] Mon, 14 March 2005 04:09 Go to previous messageGo to next message
rareraja
Messages: 22
Registered: March 2005
Location: NJ, USA
Junior Member
David,
In the registry, under the oracle node, ALL_HOMES,HOME1 and HOME0 is there. nowhere FORMS60_PATH is there. Under HOME1 FORMS60 is there and path given is c:\oracle\8.0\forms60.

now should i move all my working .plx, .fmx files under that directory or else i have to create manually forms60_path under the name form1 and put my working directory there.

pls help.
thanks
Re: failed to load objects [message #111145 is a reply to message #111136] Mon, 14 March 2005 05:17 Go to previous messageGo to next message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

This shows that your database resides under HOME0 and your Forms reside under HOME1.
Now if you don't see FORMS60_PATH under HOME1, you can create it and give the name of the working directory in the Value.
Right Click ----> New -----> String Value -----> Rename to FORMS60_PATH -----> Double click it and give your working directory here.
Re: failed to load objects [message #111221 is a reply to message #111112] Mon, 14 March 2005 17:05 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Although you CAN replace 'c:\oracle\8.0\forms60' with your working directory, I STRONGLY recommend that you 'prepend' [put before] YOUR working directory (on a network drive so that it is backed-up each night Smile ) into the list of directories in the current FORMS60_PATH statement. This is critical when you start working with designer as it has directories that MUST exist in the FORMS60_PATH so that it can do the form generation for you.

As a rule of thumb - NEVER work in an Oracle created directory and unless you REALLY KNOW WHAT YOU ARE DOING NEVER remove an Oracle created directory from the Registry entry against which Oracle placed it.
Re: failed to load objects [message #111800 is a reply to message #111112] Sun, 20 March 2005 22:40 Go to previous messageGo to next message
rareraja
Messages: 22
Registered: March 2005
Location: NJ, USA
Junior Member
hi Devid,
although i placed all my objects in the working directory which mentioned in the registry, i am not able to display bmp files or icons in the respective forms.

my question is should i create any other ditectory (name ? )in the registry like form60_path to load bmp files /icons ?

pls help me.

thanks and regards

raja
Re: failed to load objects [message #111841 is a reply to message #111800] Mon, 21 March 2005 05:50 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You have to define the UI_ICON entry in your Registry and have it point to the directory that contaisn the ICO files. Remember, when you get to 9i they have to be gif files for run-time and ico files for the Builder.
Previous Topic: Disabling the scroll bar
Next Topic: Parameter doubt
Goto Forum:
  


Current Time: Thu Sep 19 16:16:01 CDT 2024