FRM-40039: Cannot attach library %s while opening form %s.

    Question by:
    On

    Topics:

    Now I've read the action to take:

    Cause:      The given library is attached to the form but cannot be located in the search path for PL/SQL libraries.

    Action:      Make sure that the given library can be found and that it has read permissions set.

    But where would this search path be located?

    Here's my environment:

    PC: HP/Compaq
    O/S: Windows XP Pro (Service Pack 2)
    Oracle Forms: Version 9.0.2.7.0
    Oracle Database: 8.1.7.4.0

    Thanks,
    Gio

    Good Question?
    0
     

    ?

    The member who asked this question verified this comment provided the solution that solved their problem.

    Accepted Solution on 2004-12-14 at 19:31:36ID: 12826498

    Thought you may find this interesting. It is listed in the Oracle Forms documentation on Attaching a library to a module

    Tip:  You should not specify a library path when attaching libraries.  Path names for library attachments are stored internally and, as a result, are not portable.  Instead, you should specify the name of the library and rely on the Form Builder' standard search path to locate your library at runtime.

    When searching for attached libraries at runtime,  Form Builder first searches the current directory and then the directories listed in the PATH (FORMSxx_PATH and ORACLE_PATH) environment variables.

    Note:  If you specify a library path, Form Builder prompts you to confirm the specified path.  

    If you confirm, at runtime, Form Builder will search for your library based strictly on the specified path; Form Builder will not search the specified path and then perform the standard search, as well.  

    If you do not confirm, Form Builder removes the path and saves the library name.  At runtime, Form Builder searches the standard search path to locate your library.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers

    201511-LO-Qu-074

    Extend your technology team with the Experts Exchange community.

    — trusted by —

    Who answers my questions?Our community has technology experts around the world.

    slightwv

    8,679

    Solutions

    Expert in:

    • Oracle Database
    • Databases-Other
    • Query Syntax
    • Linux
    • Unix OS

    sdstuber

    14

    Articles

    7,391

    Solutions

    Expert in:

    • Oracle Database
    • Query Syntax
    • Databases-Other
    • Enterprise Software
    • MS SQL Server

    johnsone

    2,110

    Solutions

    Expert in:

    • Oracle Database
    • Databases-Other
    • Query Syntax
    • Linux
    • Unix OS

    Gerwin Jansen

    5

    Articles

    1,858

    Solutions

    Expert in:

    • Linux
    • Unix OS
    • Linux Distributions
    • Oracle Database
    • Scripting Languages

    awking00

    2,136

    Solutions

    Expert in:

    • Oracle Database
    • Query Syntax
    • Databases-Other
    • MS SQL Server
    • Java

    Docteur_Z

    86

    Solutions

    Expert in:

    • Oracle Database

    SuperRoot

    2

    Solutions

    Kdo

    2

    Articles

    3,891

    Solutions

    Expert in:

    • C
    • DB2
    • MySQL Server
    • C++
    • Databases-Other

    wilcoxon

    899

    Solutions

    Expert in:

    • Perl
    • Shell Scripting
    • Linux
    • Regular Expressions
    • Scripting Languages

    RELATED TOPICS view all topics

    1. Query Syntax
      (46,092)
    2. Databases-Other
      (53,004)
    3. MS SQL Server
      (154,688)
    4. Unix OS
      (33,019)
    5. Enterprise Software
      (5,603)
    6. Linux
      (64,240)
    7. Java
      (98,160)
    8. .NET Programming
      (131,119)
    9. MS SQL Server 2005
      (71,596)
    10. MySQL Server
      (45,805)