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

     

    Verified Answer?

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

    by:Posted 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.

    This content is available to Experts Exchange members

    See the answer now
    with your Free 30 Day Trial

    Get unlimited access to solutions & experts

    • 4,169,477 solved questions
    • 3,805 articles & videos
    • 15,413 tech experts

    Get Access Now

    Ask Your Tech Question. Get Expert Solutions.We will email you when an expert has commented on your question.

    We will never share this with anyone. Privacy Policy Terms of Use

    Select topics

    You may select up to five topics.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers

    201507-LO-Qu-065

    RELATED TOPICS view all topics

    1. Query Syntax
      (45,497)
    2. Databases
      (52,114)
    3. MS SQL Server
      (152,799)
    4. Unix OS
      (32,879)
    5. Enterprise Software
      (5,577)
    6. Linux
      (63,463)
    7. Java
      (97,553)
    8. MS SQL Server 2005
      (71,307)
    9. .NET Programming
      (129,739)
    10. MySQL Server
      (45,370)