Error in attache library

hi all
I use forms 10g in windows xp sp2, i'm trying to attached a simple function as an example in Attached Libraries.
the steps:
1- I created a new function in PL/SQL Library (emp_name) code:
FUNCTION emp_name(bind_value in number) RETURN varchar2
IS
v_ename varchar2(15);
BEGIN
  select first_name||' '||last_name
  into v_ename
  from employees
  where employee_id=bind_value;
  return (v_ename);
END;2- I saved this function (File > save > c:\my_lib\emp_name.pll)
3- in attached libraries i went to same path in step 2 and i get this alert
plz tell my is this mean there is an error
after that i create a new canvas with a new button and text item
in the button i create a new trigger with When-button-pressed
:text_item4:=emp_name(195);
but it's not work
plz i need help and advice
Edited by: user10947262 on May 11, 2010 3:18 PM

user10947262 wrote:
hi dude
its work you are right thanks , but i still have a problem with this alert message if i press yes the there is an error at runtime and the form it's not work
but if i press no in the alert everything it's fine (why?????)
plz adviceThis is forms information/confirmation message if you read it carefully. While you are attaching library. Form will ask that you want to remove the path from where you are attaching library. If you will choose YES. And you will run form. Then system will try to search it from the registry key named FORMS_PATH as i remember. And suppose if you will choose NO. Then form will save the path of your library and at runtime it will read from that path. So, its better to set value in FORMS_PATH in registry of your library location.
Search in registry with name FORMS_PATH. There will be some existing values. Just in last put the actual path where you library exists. For example when you will double click on FORMS_PATH then you will see some paths. Just in last put semi colon and then set the path of you library just like C:\MY_FORMS. Assuming that your forms and library exists in MY_FORMS folder which is in C drive.
there is a question you did not answer it (how did u copy past my post like this (italics mode)) plz..When you click on reply. Then there will one edit window come. There are some buttons like Bold, Italic ..etc. There is the last button with *"* this icon. And the tool tip is Quot Orignal use that button to get last replying person text.
-Ammad

Similar Messages

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

  • Error while attaching library(pll)..

    Hi!
    When I try to compile the fmb file in
    the Form server getting an error message that "procedure name not declared".
    1)Procedure added in that library is already
    compiled and stored in the Server(compiled in unix environment).
    2)In FORMSPATH the pll is added.
    Still is not referring that path.
    I think this happen becuase in the design time,attach library we have specified our
    local path.Is it wrong?.If so how to
    solve this.Could you please guide me?.
    Thanks in Advance,
    Denish

    Reattach the library and and when asked to remove path, choose yes.

  • 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

  • Cannot attach library - webforms

    Hi, People!!
    I'm working with forms 6i. When I execute the forms in client-server mode, everything is alright. But when I try to execute them in web mode, I got the error 'cannot attach library'. How could it happen? I mean, how could it just work out in client-server and generate that error in web?
    Thank you!!
    Fausto

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

  • Error FRM-40039:Can not attach library webulti while opening form

    Hi all
    I downloaded Web_ulti_demo form web http://www.oracle.com/technology/products/forms/htdocs/webutil/Webutil_demo.zip
    I attached library into form(Library name:webutil.pll) and compile it success
    When I press button to show dialog box which i can select file,it show error:
    "when-button-pressed trigger raised unhanded exception Ora-06508"
    I don't know why it have this error?
    Can u tell me about this?
    Thanks all!
    Edited by: user10185556 on Apr 12, 2010 1:56 AM

    Check this page and follow steps to configure webutil
    http://baigsorcl.blogspot.com/2010/01/open-file-dailog-box-example-using.html

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

  • HELP error FRM-40039: Cannot attach library common while opening form

    Hi
    I want to help me with the NEXT issue is urgent.
    I'm working with forms 10g and using a linux server. To compile objects, forms, reports and menus use the Putty.
    Well the issue is that when a form hanging linux server I get the error message sgte:
    FRM-40039: Can not attach library while opening form common ....
    I tried changing the path FORMS_PATH, also put the. PLL. Plx on those routes Server
    but I have no result, I still leave the same message.
    I go to pc urgently to solve this problem that has me worried for days.
    Thanks in advance for your advice
    regards

    Three possible causes:
    1. The pll is not existnant on the linux-server in the FORMS_PATH or the FORMS_PATH-environment-variable is not set.
    2. When attaching the pll to forms you have attached it without removing the path. Try to deattach and reattach the pll in the form.
    3. The attachment of a pll is case-sensitive in linux. So, when you types the pll-name is lowercase when attaching it, the pll must exist in lowercase in the linux-filesystem.

  • Error Executing Report 6 Runtime (Attached Library)

    Hi
    When We execute a report using runtime (it had been succesfully compiled and ran using Dev) it did`nt end succesfully, present an error on formula column refering the attached library. Making several proof, we found that the same report on developer run correctly but not in runtime services. This situation is only after the migrations from Oracle 2.5 to Oracle 6i.
    How can we solve that problem. We really apreciate any help on it.
    Rgds.
    Otniel Angel C.
    MultiSoluciones Corp., S. A.
    Dom. Rep.

    Make sure that the path to the library included in the REPORTS60_PATH registry.
    Compare it to the old REPORTS25_PATH
    Slava.

  • Excel ActiveX error in exe: library not registered

    Hi,
    I wondered if any of you can help me as I'm at a bit of a
    loss. I have an application that is complied to exe, and installed with
    an installer in LabVIEW 8.5.1 that uses the Excel ActiveX interface to
    write to an xls file. In development and on all of my testing this
    seems to work fine (with Excel 03 and 07) but I have just received a
    bug report whereby on a particular install the following error has been
    thrown form my Open Excel VI (see attached code). Apparently it was
    working but this machine has recently upgraded some data management
    software (Goldmine 6.0 -> 7.5) and since then it hasn't worked.  The error generated is:
    Error code:-2147319779
    source: "Library not registered."
    Troubleshooting
    is complicated a little as this is running as an exe and the source
    code seems to work fine on my development machine.
    Any ideas would be GREATLY appriciated!
    (my current inclination is to ask the customer to resintall Office and
    Goldmine and then reinstall the LabVIEW app - so far he has only tried
    reinstalling the LabVIEW software)
    Shaun
    (this message is also posted on Lavag.org = http://forums.lavag.org/Excel-ActiveX-error-in-exe-library-not-registered-t11912.html)
    Attachments:
    Open Excel.vi.png ‏52 KB

    It would really help to see the relevant code, and to know which version of LabVIEW is being used.  I notice the original code was developed on LabVIEW 8.5, and the Poster mentions older versions of Office (and is writing an .xls instead of an .xlsx file), suggesting the original code is about 7 years old.
    About 4 years ago, I got frustrated with trying to use ActiveX, and NI developed a much more robust Report Generation Toolkit.  I've adopted the RGT and haven't looked back.  Most of the weird errors I used to fight are gone, and building executables is (mostly) no pain (there's a small glitch that required manual OK-type intervention when you first encounter the Toolkit in a Build).  I'm guessing that it should be pretty easy to rewrite your code using the RGT in place of ActiveX, and I'm willing to help ...
    Bob Schor

  • Getting error in call library node when establishing communication with MAX1452 on serial port using dll

    I want to communicate with MAX1452 in labview on PC serial port. Maxim provides dll file which has functions to communicate with device.It says first two functions should be findcom port and initialization sequence where findcom port returns PC's serial port address while initialization sequence helps device to learn baud rate.Iam not getting exception error in call library node.i have kept dll file in the same location as VI.

    Labview verison is 7.1 and os is win xp.
    The data types are according to the dll functions defined in functions definitions( attached previously).
    I'd put dll in the same directory where the code resides.
    Attachments:
    Code.vi ‏23 KB

  • Can not attach library for use OC4J

    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
    Message was edited by:
    congacocon

    Hello,
    I am not sure to understand your question around OC4J and Forms/Designer.
    I doubt that the issue is related to OC4J since OC4J is a pure J2EE/Web Services container that does not have direct links with OracleAS Forms Server.
    I am inviting you to post this question in Oracle Designer or Forms forums
    Regards
    Tugdual Grall

  • No attach library

    Why display this error?
    FRM-40039: cannot attach library webutil while opening form test.
    Alexandre

    or it's bug 671456.
    See Metaalink Note 303682.1 for details.
    In short, it says that even if the path is set correctly, you may have others files or subdirectories with the same name as the library.

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

Maybe you are looking for

  • Can't install software that came with new Canon A540 digital camera

    The installation process gets as far as "preparing to install imagebrowser" then hangs up the whole computer until I force quit. When I force quit, I see the installer plus a "master installer" in red that says it is not responding. I really would li

  • Table AMPL Partly active

    Dear ,Frds i have got one problem when i upgrade the system to 4.7 to ECC 6.0 a Error in between upgrade at the last moment the error is described as below DDIC and Activation Error S And return Code in SAP AAAA700.RDV IEEDO519 Table AMPL Could not b

  • Struggling with oracle clustered production environment

    Hi Experts, I have a requirement to upgrade Oracle Data Integrator(ODI) from 10.1.3.5 to 11.1.1.6.3 We have a Clustered production environment where N1 will be up when N2 be down and viceversa. Here N1 and N2 are the ODI servers as well as DB(11g Rel

  • Non-existant IObj error on transport

    I'm getting error: InfoObject ZBADIBAN is not available in active version Message no. R7825 Diagnosis The InfoObject named is defined in the InfoCube / InfoObject catalog, but is not actively available. Procedure Please stop the editing of the InfoCu

  • Retaining rating for images after PS edit

    In LR2, I could rate my images in LR, edit in PS and once done, they reappeared in LR, complete with the rating of the original image.  In LR3, once edited and returned to LR, they lose their rating.  I find this very frustrating as I have to undo th