FRM-10102 Cannot Attach PL/SQL Library : Error

Hi All,
We are currently trying to upgrade from Forms6 to Forms10g.
When we open a Forms6 form in the Forms10g Developer, we are getting the error
"Cannot Attach PL/SQL Library" error.
So my question is
1. What changes do I need to make to the "FORMS90_PATH" envoirnment variable, so that it would look for the library in the current directory ?
2.Do I need to make this change in the registry or is there any other place where I can make this change ?
3. I want to make this change without hardcoding the directory name in any place. Is there any way to do it?
Thanks in advance
Aruna

Yes, I understand that I need to set the FORMS90_PATH in default.env file.
My question is how do I say "Pick up the library from the same directory as the form fmx".
Do I have to say it like
"FORMS90_PATH = C:\MyDir\Forms;" ?
I was a hesitant to hardcode the directory name( as above) in the default.env file, because incase I change the the library plx directory, I will have to update the envoirnment file again.
So is there any other way to do it ?

Similar Messages

  • FRM-10102: Cannot attach PL/SQL Library menu_library

    Dear All:
    I am using Developer 6i Version 6.0.8.23.2 (32 Bit)
    I am facing following error while opening a form in Forum Builder.
    FRM-10102: Cannot attach PL/SQL Library menu_library. This library attachment will be lost if the module is save.
    I know that I have to add the address of the folder in which the library is located, but I forgot the Registry Key value and location.
    Anyone can help me?
    Thanks
    Hassan

    Yes, I understand that I need to set the FORMS90_PATH in default.env file.
    My question is how do I say "Pick up the library from the same directory as the form fmx".
    Do I have to say it like
    "FORMS90_PATH = C:\MyDir\Forms;" ?
    I was a hesitant to hardcode the directory name( as above) in the default.env file, because incase I change the the library plx directory, I will have to update the envoirnment file again.
    So is there any other way to do it ?

  • Cannot attach PL/SQL library APPCORE... forms6i

    Hello,
    I am trying to open the template.fmb form and I cannot seem to get forms to recognize the FORMS60_PATH variable in the registry.
    I transferred (in binary) all the .pll files from $AU_TOP/resource to a local directory ORACLE_HOME\FORMS60\resource.
    I transferred (in binary) TEMPLATE.fmb and APPSTAND.fmb to the same directory.
    I set the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\FORMS60_PATH to 'C:\oracle\ora806\FORMS60\resource' (without the quotes).
    I added HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_APPLICATION and set it to 'TRUE'
    I added the FORMS60_PATH to the system variable file in windows to 'c:\oracle\ora806\FORMS60\resource'.
    I rebooted the machine.
    I am still getting the same error message.
    I reinstalled forms so that it was the only Oracle product on my machine.
    version (6.0.8.24.1)
    I am running windows XP SP2
    Can anyone tell me what I am missing? Or why I cannot get the libraries to attach?

    There is a whole list of them that won't attach -
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPDAYPK. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library CUSTOM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library IGILUTIL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library IGILUTIL2. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library IGI_CBC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    --- all Oracle .pll files that are required to modify the template form.... APPDAYPK, APPCORE,VERT, etc. I have not tried attaching (and don't actually have) a personal library
    Message was edited by:
    bonnibelle

  • Cannot attach PL/SQL library APPCORE when opening template.fmb

    Hi,
    we have downloaded all .pll from $AU_TOP/resource directory to local folder and given path in windows registry ie HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/FORMS60_PATH to the local folder in which all pll are kept,
    i have kept all the important fmb in the local folder, APPSTAND.fmb, Template.fmb and every other pll from $AU_TOP/resource, but still i get the cannot attach pl/sql library error when i open template.fmb is something missing.
    Is there something missing, kindly do respond :)
    thanks in anticipaition of early response.
    Abdul Rahman

    Hi erlative,
    Thanks for your message, i just made sure that i have all the pll's only in the forms_60 path and it worked, somehow when i copied all the $AU_TOP/resource apart from APPDAYPK.pll and APPCORE, APPCORE2.pll, it didnt copy all the files, so when i copied all addittional files it worked.
    thanks for your solution.
    have a nice day :)
    Best Regards
    Abdul Rahman

  • FRM-40039 cannot attach library ofgbsl while opening ccw2031

    I got the above error when I try to run the program ccw2031 on the ie browser. First of all there are 3 files attached in my 4.5 forms. These libraries are the following; OFG4BSL.pll, OFG4mnl.pll, OFG4tel.pll. Upgrading it to 10g for windows had no problems since there is a corresponding libraries namely OFGBSL.pll, OFGMNL.pll OFGTEL.pll and OFGMES.pll.
    My program compiled with no errors when i tried attaching those 4 files in my Developer Suite 10g for unix.
    The problem came out when I tried to run it using the Application Server.
    And when I try accessing the program again in the forms developer i got the following messages:
    FRM-10102: Cannot attach PL/SQL library OFGBSL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OFGMES. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OFGMNL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OFGTEL. This library attachment will be lost if the module is saved.
    Questions: 1. Are there any libraries equivalent to these 4 files in UNIX?
    2. Can I use the windows version and compile using frmcmp? Actually i tried this already but did not work.
    3. How do I configure the Developer Suite 10g for Unix to be able to attach the libraries mentioned if it works?
    Can Anybody help me.....Please.
    Edited by: user7493752 on Jan 30, 2009 12:17 AM

    First, you don't need to replace the pll's with the 4 in the middle (e.g. OFG4BSL) by the ones without the 4 in the middle and i wouldn't do it. The libraries belong to different versions of the forms-generator from oracle-designer (the *4*-ones form Designer 2000 generating forms 4.5, the ones without the *4* starting with version 6i). But both versions are "pure" pll's, so they can easily migrated to 10g.
    FRM-10102: Cannot attach PL/SQL library OFGBSL. This library attachment will be lost if the module is saved.Your problems can be based on one of the following:
    The pll's are not in the working-directory of your forms-environment, if any.
    The pll's are not in one of the directories defined in the env-setting FORMS_PATH.
    You attached the pll's to your forms with the whole path (not preferable) and now forms doesn't find that path in your application-server-environment.
    Library-names are Case-sensitive, so if you attach MYLIB, the filename must not be mylib.pll but MYLIB.pll.
    hope this helps.

  • WebUtil Demo Runtime Error FRM-40039: Cannot attach library webutil

    I download the WebUtil Demo from
    http://www.oracle.com/technology/products/forms/htdocs/webutil/Webutil_demo.zip
    I follow the instruction given in the file ReadMe.html
    I am using Oracle Developer Suite 10g Release 2.
    There is no compilation error.
    I started OC4J Instance
    The following error appears:
    FRM-40039: Cannot attach library webutil while opening form WU_TEST_106
    Help!

    I try to compile the WEBUTIL.pll but with comilation error.
    I run FOrms Builder 10g Release 2
    Click on File, Open
    Select the file WEBUTIL.pll
    Click on Program, Compile Module
    but showing error
    Compilation errors on WEBUTIL_DB_LOCAL:
    PL/SQL ERROR 201 at line 9, column 12
    identifier 'WEBUTIL_DB.OPENBLOB' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 18, column 12
    identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
    PL/SQL ERROR 0 at line 18, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 24, column 5
    identifier 'WEBUTIL_DB.WRITEDATA' must be declared
    PL/SQL ERROR 0 at line 24, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 29, column 12
    identifier 'WEBUTIL_DB.READDATA' must be declared
    PL/SQL ERROR 0 at line 29, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 35, column 12
    identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
    PL/SQL ERROR 0 at line 35, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 40, column 12
    identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
    PL/SQL ERROR 0 at line 40, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 45, column 12
    identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
    PL/SQL ERROR 0 at line 45, column 5
    Statement ignored
    Failed to generate library.
    HELP!

  • Frm-40039 cannot attach library on unix

    i've a webutil-form which runs successful on windows.
    compiling it on tru64 gives no errors. when calling it i get frm-40039 cannot attach library. the next error is frm-92100 your connection to the server was interrupted.
    the console shows no errors. webutil.jar and jacob.jar are loaded correctly.
    what else could be the reason for this errors? non-webutil-forms work fine on tru64. and the webutil-form works fine on windows. compiling this on unix gives no errors.
    ?????

    christian:
    where could i make this error?
    on windows i attach the library by selecting it from a list, and not by writing the name of 'webutil.pll'. on unix, the only thing i do is recompile the form. webutil.pll was transfered wia ftp. so there were no name-conversion or something like this.
    so, i don't know where i could make the mistake you described.
    i'm not sure if i compile the forms correct.
    i transfer the working (on windows) form and webutil.pll to unix via ftp.
    then recompile it using bin/f90genm.
    here i check 'compile all pl/sql code' and 'strip pl/sql source from library'
    the fmx is created with no errors.
    any other ideas?

  • Urgent! FRM-10270 Cannot attach the library

    I get the error message "FRM: 10270 Cannot attach the library SYSLIB while opening menu BMENU" but only when i try to open a second form while the first form is still running.
    Both forms are working fine as long as they are not running at the same time.
    It seems like the second form opening does not have access to the FORMS60_PATH.
    All the forms and libraries (plx) are in the FORMS60_PATH.
    I am running developer_6i forms & reports on a HPUX 11i with patch 11 and I am trying to access them through jinitiator 1.3.1.9 on a XP machine.
    I would apprecate if anybody have any ideas about this error.
    BR/Marcus

    Thanks a lot for the tip. I used truss and realised that it found the library but was not allowed to open it. The kernel parameter maxfiles was set to low.
    I increased it and everything works ok
    BR
    Marcus

  • FRM: 10270 Cannot attach the library when two forms run at the same time

    I get the error message FRM: 10270 Cannot attach the library SYSLIB while opening menu BMENU but only when i try to open a second form while the first form is still running.
    Both forms are working fine as long as they ar not running at the same time.
    It seems like the second form opening does not have access to the FORMS60_PATH, because you can not open a third form because it can't find it.
    All the forms anf libraries (plx)is in the FORMS60_PATH.
    I am running developer_6i forms & reports on a HPUX 11i machine and I am trying to access them through jinitiator 1.3.1.9 on a XP machine.
    Best regards
    Macke

    Thanks a lot for the tip. I used truss and realised that it found the library but was not allowed to open it. The kernel parameter maxfiles was set to low.
    I increased it and everything works ok
    BR
    Marcus

  • WEBUTIL-URGENT FRM:40039 Cannot attach library WEBUTIL while opening form x

    Hi,
    I 'm working with 9iAS R2 on Linux.
    I'm testing the webutil by using a my test form.
    Give that in OS Windows 2000 the test form works fine.
    On Linux, I compile the form without problem, but when I run the form on web I have this error :
    FRM-400039 : Cannot attach library webutil while opening form TEST_FORM
    The Java console displaied this :
    JInitiator: Versione 1.3.1.8
    Uso della versione JRE 1.3.1.8 Java HotSpot(TM) Client VM
    Directory principale utente = D:\Documents and Settings\contug
    Configurazione proxy: Configurazione automatica proxy
    JAR cache enabled
    Location: D:\Documents and Settings\contug\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console windo
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://f92ias.inarcassa.it:7777/forms90/webutil/webutil.jar from JAR cache
    Loading http://f92ias.inarcassa.it:7777/forms90/webutil/jacob.jar from JAR cache
    Loading http://f92ias.inarcassa.it:7777/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Versione Applet Forms: 90270
    I don't seem that nothing of unusual.
    Could You say me somethig ??
    Regards
    Giordano

    Hi Duncan,
    How Do I do recompile the pll on Linux?? The environment development doesn't exist on Linux !!
    I open my form in environment development on Win 2000, after I attach the pll without the path and save all.
    After I move all on linux and compile the form useing 'f90genm.sh'. Until this step I don't have problem, the form compiled fine, but
    when I running it, I show the error message FRM-40039 .......
    Do I mistake something ???
    I working on DB ver 7.0.2 and I can't produce the file PLX
    Regards
    Giordano

  • Webutil -frm-40039 cannot attach library

    hi,
    I have copied the web util demo from otn [http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm], and i tried to install it as per the instruction given over there .While compling it has not give any error but while running the form before opening the form it gives the following error FRM-40039 : cannot attach library /oracle/devsuite/forms/webutil while opening the from wu_test_106.
    note - i have attached the webutil.pll at attach library.

    where we will get the plxopen the pll in Forms-builder, then use Porgam->Compile module (Strg+T)
    plz mention clearly in which path we have to copy that file.There is a config-file named default.env (located in $ORACLE_HOME\forms\server), it contains a settings named FORMS_PATH. Either put your plx (and all of your fmx) in one of the directories listed there, or add a new directory to the list where you have placed your files in.

  • FRM-40039: Cannot attach library d2kwutil while opening form xyz

    Hi,
    I am running forms 6i.
    I copied the folder containing all executables (.fmx, .mmx, .plx) to my local directory 'C:\bin6'.
    When i call this from Command Line
    c:\orant\bin\ifrun60.exe C:\bin6\xyz.fmx
    I get the error "FRM-40039: Cannot attach library d2kwutil while opening form xyz"
    I verified that d2kwutil.plx is present in c:\bin6.
    Note: I did not change anything in the FORMS60_Path in registry to point to my local directory.
    Please help

    Hi Smita
    Pls answer urself the following questions and check...
    1. did u attached the liberary to ur form...?
    2. did u set the FORMS60_Path in the registery for the liberary...?
    3.did u try a Ctrl-Shft-K (Compile All) then a Ctrl-T (Generate) and a save, then run your form... ?
    4. did u check the path in the START IN property to the correct location.. .?if the answer is yes then pls try to do the following...
    1. copy d2kwut60.dll + .PLL to client machine C:\orant\TOOLS\OPEN2K60\plsqllib
    2. copy the required .FMX file to client pc.
    Hope this helps... :)
    Regards,
    Abdetu...

  • Frm-40039 Cannot attach library

    I have Oracle 10g and Developer Suite.
    When I attach a Library, webutil.pll.
    I can run it in forms developer,
    but when I try to run in in the runtime, I get the ERROR frm-40039 Cannot attach library.
    Why?

    Have you compiled the pll and placed the plx in a place on the runtime server where Forms will find it (added the directory where the PLX is to the env variable FORMS_PATH)?

  • FRM-40039 Cannot attach library in Forms9i

    I have an app that works in 6i that was recompiled in 9i and deployed to a server. The 9i app works locally (connecting to a db not on my machine), but will not work on the server. When I run on the server I get the error 'FRM-40039 Cannot attach library XXX while opening form YYY'. I have the same folder configuration on the server that I do on my laptop. I copied the libraries from their 'normal' location to OracleHome\bin, but I still get the error. I removed one of the libraries attached to the form, and received the error on the second library. The libraries are in the form without a path (just the library name). Can anyone help me? I need to go to QA in 2 days!!! Help!
    Thanks -- Jean.

    Couple of things to watch for. PLLs are looked for on the FORMS90_PATH - this is set up in the default.env file when you are running. So make sure the path is set correctly.
    Also remember that if you are moving to Unix from Windows, Unix is case sensitive so
    myFile.pll is not the same as MYFILE.PLL
    Hope this helps.
    Regards
    Grant Ronald
    Forms Product Management

  • FRM-40039: Cannot attach library webutil while opining form

    I have installed webutil in Windows 2000 in order to perform some features.
    When I run my forms from Forms Builder this message appear
    FRM-40039: Cannot attach library webutil while opining form.
    I don't know what is wrong. I have set the virtuals path, like this:
    For an Oracle Developer Suite installation, add the following line to the file
    j2ee/DevSuite/application-deployments/forms/forms90web/orion-web
    .xml under the Oracle Developer Suite Oracle Home:
    (The following assumes that you have installed WebUtil into a directory c:\webutil)
    &lt;virtual-directory virtual-path="/webutil"
    real-path="c:/webutil/lib" /&gt;
    On a OracleAS install, define the same virtual directory in the forms90/server/forms90.conf file:
    AliasMatch ^/forms90/webutil/(..*) "c:/webutil/lib/$1"
    I need some help!!

    You need to include the location of the pll into the FORMS90_PATH that is defined in your environment file - e.g. default.env

Maybe you are looking for