Cannot attach library webutil 40039 - any ideas....

Hi
I keep getting this error when running my Form in dev 10G.
"Cannot attach library webutil while opening form TEST_FORM. 40039"
1. I have attached the library webutil.pll
2. I compiled it (.plx file)
3. All files are in my directory ../test_dir
4. I used regedit to change the FORMS_PATH to point to ../test_dir
..but i stil get the error.
Is the registry the best place to change the FORMS_PATH ? I can't write to the C: drive due to IT security.
Is there a way i can test my FORMS_PATH ? Is there a way i can force dev builder to use webutil.plx ?
cheers
jc

thanks Rajesh, that works when i hardcode the path.
If i can just get to edit the default.env file on my C drive i might be able to solve the problem. I guess i should persuade IT security to give me write access to my C drive.
cheers
james

Similar Messages

  • 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!

  • 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

  • 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

  • FRM-40039 Cannot attach library webutil while opening form

    FORMS90_PATH=C:\Applications\Webutil\forms;C:\Applications\Wms;
    Webutil.Pll is in the first directory.
    All other code (PLL and FMX etc ) is the second directory.
    I have bounced the formsserver.
    The application works fine, until...
    I attach the library webutil to the form (without path).
    I run the form and receive the error.
    I have NOT even started with Webutil.Olb yet !!!
    Anyone any thoughts ?

    Mark - the builder will look for PLLs onthe Forms90_path in the registry . The runtime looks in the formsweb.cfg and default.env (it will be in the default.env).
    regards
    Grant Ronald
    Forms Product Management

  • Frm-40039: Cannot attach library webutil while opening form webutil

    Hi!
    I have configured WebUtil on my system according to the document provided with the software.
    I could run the form along with the CLIENT_OLE2 when I attached the webutil library without removing the path.
    The same form I could not run when i remove the path while attaching the library to form.
    I have checked the FORMS90_PATH variable in formsweb.cfg and also in the system registry and the path where webutil.pll is lying is mentioned in it.
    Please help.
    Regards

    To be absolutely sure it's working as you expect, use Filemon from http://sysinternals.com. It will show you the path and file of every file trying to be opened. That way you can verify if Forms is really looking where you expect it to be looking.
    I suspect it is coming down to something with your path. Maybe try a short path with no spaces as a test.
    Regards,
    Robin Zimmermann.

  • FRM-40039 cannot attach library webutil

    My dear:
    Sorry I Know that this problem is repeat more and more
    but I Cant know the soltion
    how can I Avoid this problem step by step
    I Know that some key in regsitry must by update
    please help me because Iam beginner
    thanks

    Hello user222
    pls read the following link
    To Whom want to be helped using  the webutil_102 Jacob_17 Form9i  builder
    Hope it would be successful to u to help...
    Regards,
    Abdetu...

  • Cannot Attach library

    Hi, I am getting an error Cannot attach library webutil when running a Form from Form builder, I have checked all the path entries and everything seems to be correct, I have also checked the permissions on the files and nothing seems to be wrong, Can someone please let me know what could be wrong ?
    Thanks

    Hello,
    Compile the webutil.pll, then move the .plx to one of the folders pointed by the FORMS_PATH variable.
    Francois

  • 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 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?

  • 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 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 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

  • 10g Forms Builder with error "cannot attach library" opening R12 fmb file

    Hi all,
    I had set up my Forms Builder with all the necessary PLL and FMB files for developing R12 custom forms. I have used the builder to do few custom PLLs and one custom form, and I did not have any problem opening seeded Oracle Forms. Today when I need to enhance that custom form I did 2 weeks ago and I opened Forms Builder, I got the error "Cannot attach library.." for APPCORE, APPDAYPK, etc.. Same error for opening TEMPLATE.fmb.
    I have done these to troubleshoot:
    1) I verified my Windows XP registry "FORMS_PATH" to include the folder where I store all the PLLs and FMBs.
    2) I updated default.env to include that file path.
    3) I create shortcut to Forms Builder and put folder path with PLLs under the "Start in" field of the shortcut.
    4) I rebooted my machine after changing the registry
    5) I moved the folder with PLLs to under C:; I seperate PLL to "resource" sub-folder and FMB to forms/US/ sub-folder just like the server structure.
    6) I install one more copy of Developer 10G Suite and set up the registry.
    None of these work and the key is it used to work with no issue. Any suggestions what may be the problems?
    Thanks!
    Mike.

    Turned out I reloaded all the $AU_TOP forms and PLLs to my desktop and it worked fine. I think I did not FTP correctly the first time.

  • Cannot attach library - 9i web forms on unix

    Hi,
    I've compiled my forms on the unix server to be deployed using the servlet. However, when I try and run the forms over the web, I get FRM-40039 cannot attach library. Has anybody else encountered this error on 9iAS when trying to deploy web enabled forms?
    If so, how can this be resolved?
    Thanks in advance

    In moving from Windows to Unix, make sure that you are taking into account case-sensitivity. (i.e. in Unix bob.pll and Bob.pll are different files). Make sure you are referencing it correctly.
    Also, the forms90_path environment var should have the directory for all the files.
    The pll should have been ftp'd using binary.
    Lastly, make sure the pll is attached with the path removed.
    Good luck
    Bob

Maybe you are looking for

  • Not sure if this is the right place...Recovery or Finding missing files

    Hi, Again, not sure if this is the right place to ask, but its worth a shot. so i've been transcribing video all day using microsoft office for mac, and was saving the project (i thought) to an external hard drive. at one point the HD came unplugged,

  • Can't get rid of default apple I'd!  Can you help?

    Made a typo in my user id.  Edited it in account but the incorrect user name auto fills.  When I try to edit it, it shows it correctly, but it still defaults to the old info.  Can't get any new apps or tunes!  What's the secret?!!  Really frustrating

  • How to change SID on a SAP System with Maxdb ?

    Hello, I've tryed to migrate /clone a productive system from physical to virtual for testing, and it went OK. Now, i've done the same to another physical machine and SAP 4.6C r3 goes up,as well as the database MaxDB 7.5 on the new machine. but now i

  • ECC 6.0 Upgrade - Tips, Tricks, Lessons Learned needed (Esp. in SD, LO, MM)

    Greetings Experts! I am searching for information and/or documentation in regards to tips, tricks, lessons learned, and "steps to take" while upgrading to ECC 6.0 (from 4.6c, to be specific). We have the install guides, and I'm currently looking at t

  • Universe Design with same connection

    Hello, I am creating universe against the connection for SAP BW system, once I have created a connection and selected a cube or query and built a universe on top of it....If I go back and create a new universe and this time change the connection to p