Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

FRM-40039 - Error cannot attach library when running Designer form

Posted on 2005-08-25
2
Medium Priority
?
6,683 Views
Last Modified: 2007-12-19
Hi,

I am new to Oracle designer and have go to the point where I am trying to run a form I generated in Oracle Designer but the error I keep having is FRM-40039 cannot attach library - I get this for four libraries that are attached to the form; OFGCALL. OFGTEL, OFGNAVL, OFGMES. I have been playing about and attaching/removing them from the form, and saying NO to the dialog box that comes up saying 'attached library name xxxx contains a non-portable directory specification. Remove path?' seems to mean that the form will then start to have an error on one of the other libraries - so you would think that by attaching them all in this way that the form would run - but it doesnt.

Can someone please help? I have checked the forms path in the registry and it does point to the folder where these pll and plx files are located.

Many thanks
0
Comment
Question by:emmy21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
DLyall earned 2000 total points
ID: 14752142
See extract from Metalink below which may be useful.

 Applies to:
Oracle Forms - Version: 9.0.4 to 9.0.4
Oracle Designer - Version: 9.0.4 to 9.0.4
Microsoft Windows 2000

Symptoms
Running a form generated by Designer 9.0.4 the error message
FRM-40039: cannot attach library %s while opening form %s
is returned, and the form does not run.
FORMS90_PATH in the registry is set correctly.
The form is compiled without any error.
This occurs also when the form is created by Oracle Forms.
The problem occurs only when libraries (PLL) are attached with the relative path.

Cause
FORMS90_PATH in default.env installed by iDS10g is not commented as in iDS9i.
@ Bug:3315055 M21: FORMS90_PATH MUST BE COMMENTED OUT IN DEFAULT.ENV

Solution
There are two possible solutions:
1. Comment FORMS90_PATH in default.env if it is not needed.
2. If FORMS90_PATH in default.env is needed, then add the necessary path to its value,
like FORMS90_PATH in the registry.
0
 

Author Comment

by:emmy21
ID: 14752197
Voila!
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to recover a database from a user managed backup

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question