What is the exact problem with this file?

Hi all,
There is an old form , which was not in use from many days.
Now when we tried to run the form, i got the error saying "FRM-40734:Internal Error:Pl/SQL error occured.", in the login form.
When i tried to open the fmb file in Oracle Forms Builder 6i, i got the following error:
FRM-10102: Cannot attach PL/SQL library d2kwutil. This library attachment will be lost if the module is saved., but the fmb file got open.
The login button has the following code:
DECLARE
  UNAME VARCHAR2(30);
  --USER_ID PARAMLIST;
  V_USER APUSERMA.USER_NAME%TYPE;
  V_PASSWED APUSERMA.USER_PASSWD%TYPE;
BEGIN
select user_CD INTO :GLOBAL.USER_ID from apuserma 
where user_CD = :TI_USER_NAME AND user_PASSWD = :IT_USER_PASSWD
AND SYSDATE BETWEEN USER_VALID_FRM AND USER_VALID_TO;
:global.user_id  := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
:global.compname := :compname;
compnm(:compname);
--USER_ID := CREATE_PARAMETER_LIST('USER_id_NAME');
call_form('Forms\MAIN_SCREEN',hide,DO_REPLACE);
exception
  when no_data_found then
  MESSAGE('Incorrect Username or Password.  Please Re-Enter');
  message(' ');
  RAISE FORM_TRIGGER_FAILURE;
END;
EXIT_FORM;
When i tried to compile, i got error saying ,
Error 201 at line 10, column 28
identifier 'WIN_API_ENVIRONMENT.READ_REGISTRY' must be declared.
I am not getting to know What is the exact problem with this file?
Help me with this please.
Thank You.
Oracle forms builder 6i.
Oracle 9i.

Vijetha wrote:
I also want to know what is the use of  win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername') ??
What does it do??
If i comment the following line , will it be a problem??
:global.user_id  := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
Because i commented the above line & compiled, so it is not giving any error now.
So please tell me what win_api_environment.read_registry does??
it's read windows registry value. So, no problem if you comment it.
Thanks

Similar Messages

  • What is the general problem with this OriginLab VI?

    I'd like to use some VIs provided by OriginLab for their graphing and analysis software.  They apparently haven't updated their VIs since Labview version 8.5  The attached screenshot is an example of the general problem I'm seeing in their VIs.  If I hover over the property nodes, the Labview context help gives the error "This property is not valid for this class."  It looks to me like these are Origin classes and Origin properties, so I'm surprised by that error.
    Any idea about the reason for this problem?  I'd like to explain it to them in a little more detail and try to motivate them to fix it.  Still, I doubt it will happen soon.  Any suggestions about whether it's something I could fix myself?
    Thanks!

    The activeX interface might be inside a *.ocx, *.dll and even a *.exe file. So manually browsing and trying files with these endings might work. You could even try a text search with a hex editor to identify possible ActiveX components, you should find the keywords IDispatch and IUnknown in them.
    The proper way would be when they show up in the list. This actually is derived from some registry keys (I think it was a bit cryptic to track in the registry, as it involved searching for CLSID or the like). Proper registration is done by command line regsrv32 (if memory serves right). Normally this is automatically called from the installer.
    So it might be the best you just try to reinstall Origin.
    Also search the Origin folder if there are some other examples included there (and if they work).
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Can't log in message "what is the username associated with this smartphone​"

    When I attempt to login to app world, I enter my email address and pw, and the it gives me a popup for - "what is the username associated with this smartphone".  How do I find out what to enter here?  (I don't remember what I may have used in the past).  
    Also, how can I be sure that I am using the right email address to login?  I've tried my other emails and I get stopped before this screen since it doesn't recognize the email.
    THanks for your help

    How can you do a security wipe if you cannot get past the blue BlackBerry ID login page?

  • What is the exact problem as to why my new account cannot be activated via the email with the link to click to activate my new account?

    I just newly "Registered" my account. I got an email from [email protected] giving me this link to activate my account: https://support.mozilla.com/en-US/users/activate/21faae325135a.......
    I clicked on the link, got directed to Mozilla'a site, and got this message: "Something is wrong. We cannot activate your account. Please make sure that you have clicked the correct link in your email or typed in the correct address." Did I give the wrong email address? My other email address I use to sign into Yahoo! Mail is: smokefeather12001 at yahoo dot com. What do I need to do to get my account here activated?

    My original security image "is" the cat shown on this page. What else do I need to do to get my account activated? It may be possible that when I first got Mozilla Firefox installed/downloaded on my desktop computer, I used the email: smokefeather12001 at yahoo dot com. Do I need to go into my Mozilla profile and edit the current email address that I gave when I first tried to register earlier today (6-5-2011)? I don't know where to find the cat image again. Can someone please help me?

  • TSLicence: have you had problems with this file

    If you have, and I had major issues requiring me to erase and reinstall the OS, not once but several times, listen up: if you cannot open iTUnes, if all it does is bounce a few times in the dock and then die, you may (or may not) get a warning about "TSLicense..." Spotlight will not locate it. Using the finder you will not locate it. You have to go to library: frameworks and just delete the **** thing. Now maybe this license is part of what is attached to, and controls the allowable viewing time of, rented movies from the iTunes store. I don't know and at this point, after an incredibly exhausting two days with Tech Support (and getting a new hard drive installed under warranty), I think by deleting this folder I have my iTunes back. So no more rentals for this puppy: I"m going to go down the street to the store to rent movies. Way way way too much of a headache to bother with the "convenience" of downloaded rentals. (I don't have any problems with the movies I have purchased, by the way.) I hope this saves someone else tons of time. ANd if, by chance, "TSLicense..." is a regular feature of all iTUnes movie rentals, well. Someone better figure out why it was causing this user (and, I'm sure, others) to not be able to open iTunes.

    I do recommend that anyone who is having weird issues with iTunes try Dave's suggestion of UNINSTALLING Flip4Mac and see what happens (but will an uninstall get rid of this particular file? who knows).
    Good point, and something I should not have trusted without confirming. I just tried it and the uninstaller does not remove that framework. That's a serious "oops" on the part of Telestream (and I did confirm that the Flip4Mac installer does install that framework). The framework folder will need to be removed manually.
    Regards.

  • What is the exact reason behind this

    Hi,
    Can some one say why the output of the following program results
    251.67000000000002.
    Mathematically above is wrong. What is the meaning fo the last digit 2;
    Mathematically it should result 251.67
    double y= 258.67;
    double z= 7.00;
    System.out.println("value of y-z is "+(y-z))
    Waiting for a early reply

    It's not your problem It's Java problem whichgives
    an error. Just post this reply to the java bugforum
    NileshIf it's a java bug, it's a bug in every languagein
    in the world that uses floating point math!!!!
    Not to mention of course that the decimal system
    itself has similar types of "bugs".Is that why (1.0/3.0) + (1.0/3.0) + (1.0/3.0) yields 0.99999999 instead of the correct anser of 1.0 on my decimal computer?

  • What are the common problems with the 15 inch 2.16 Macbook Pro Core 2 Duo?

    I have been reading in the forum and have noticed that some of the MBP C2D have a few problems (wireless, screen, etc). I just want a list of things to look for if I get one. I have learned from the past to get it fixed fast, or else Apple does not prioritize it as well. Thank you.

    got mine in october.
    imo(and other pc converts as well) it hardly lives up to the hype+pricetag.
    First/second/third iteration...it runs hot and slow.
    Compared to what? Any other macs? Can't say. Compared to my experiences with other pc notebooks...that's where I'm coming from.
    Author was looking for feedback from MBP owners.
    2cents submitted.
    Author didnt specify..'issues with MBP as compared to other Apple computers', I don't think anyway.
    A company makes a major shift with it's hardware, and expects the software that pre-exists will smoothly transition...is a rush job if you ask me.
    I just feel it would have been better, having been released with a FULLY compatible os.
    cheers
    macbook pro 15"   Mac OS X (10.4.8)   i hate it
    macbook pro 15"   Mac OS X (10.4.8)   i hate it

  • I have received a .xlsx (excel) file.  It is also ziped and I can not open it.  I also have the same problem with .csv files.  I can not open them either.  How do I get them open.  Thanks.

    I have recived via an email attachment a .xlsx (Exel) file which is also zipped.  I can not open it.  I also can never get .csv files open.  How do I overcome these two problems?
    Thanks,
    sorsini

    drag it to the Desktop.  double-click it to unzip it.

  • HT5295 I have read the other comments of others with the same problem of downloading podcasts and submitted my comment,but there is still no fix to the problem.Does anyone know why the trouble has not been taken care of?Who is the person dealing with this

    the podcast app is not fixed still wont download,did not find any solutions with anyones comments,they all have the same problem with this app.So how can you say the problem is fixed,get someone who knows how to really do something so it is not a recurring topic of frustration!!!!!

    You might get more replies to this (but not from Apple, who you will recall, do not monitor these discussions) if you had posted in the Podcasts for iOS discussions, but never mind. At least in this post you've mentioned that your problem is with the Podcast App, something you didn't mention in your previous post. Consequently, my comments were based on "problems downloading Podcasts", not "problems with the new Podcast App".
    (I don't use the new Podcast App, since I cannot install iOS 5 on my Touch. So I stick with the older method of listening to Podcasts on my iPod.) That said however...
    It cannot have escaped Apple's attention that the new Podcast App has not been well received. Although these discussions tend to focus on what's wrong rather than what's right, it does appear that the App hasn't been well thought out.
    In particular, the Auto Play feature, which - once an episode has finished playing, the "next most recent unplayed episode" will begin. Now, maybe I'm wrong but to me that means that it plays the Podcasts in reverse date order, so episode 19 will play after episode 20 and episode 18 after ep.19! That is how the iPod Classic plays Podcasts by default and the Classic forum is littered with posts from people who think this is barmy. (I think it's barmy too!)
    I use an iPod Touch as well. Although not perfect, playing Podcasts on the Touch is far easier than on a Classic.
    You are unlikely to find any "solutions" to the issues with the Podcast App, because the "solution" is for Apple to redesign it.
    If you are assuming that the update of 25th july is a claim that it's fixed... oh dear! I notice that the App views, shown in the Store, still include that "tortoise and hare" screen with what appears to be the transport mechanism for a reel-to-reel tape deck. That alone tells me there is no real improvement to the App. It really is the worst graphic Apple have ever produced! I'll be surprised if anyone under 35 recognises that graphic as a reel-to-reel tape deck.
    Actually, I have a question for you.
    If you have the Podcast App installed on your Touch, does that mean that the previous method of listening to Podcasts has been removed from your iPod, or can you still access them in the Music App? If you can, abandon the Podcast App and use the old method. If not, please warn me in order that I don't purchase a new iPod Touch until Apple fix this!
    Sorry I can't be the bearer of more positive news.

  • What is the absolute path of my file?

    Suppose my file is at the location
    C:\oc4j\j2ee\home\applications\r1\r1\WEB-INF\lib\us-english-v2-whole.dict
    what is the absolute path of this file.

    Congrats on 20k warner.
    Of course, if you're going to try to use that path in a String literal, you'll have to escape the backslashes
    String absPath = "C:\\blah...";In Java, most File I/O classes are smart enough to translate a path into one that works with your platform. So when using paths in say a File object, you can just use forward-slashes to be consistent and not have to escape them.

  • I'm trying to export a file as .dwg for Autocad but it's not showing the dwg preview and it appears to be saving as code (lots of gobbledegook when reopening the file).  I'm on OS 10.5.8.  Never had a problem with this before.  What am I missing? Any idea

    I'm trying to export a file as .dwg for Autocad but it's not showing the dwg preview and it appears to be saving as code (lots of gobbledegook when reopening the file).  I'm on OS 10.5.8.  Never had a problem with this before.  What am I missing? Any ideas?

    First be sure login and password are OK. Sometimes the address starts wit "http://..." and sometime starts with "ftp://...". Try both normal FTP access and Scure FTP access (SFTP). At the end, contact the site's provider.

  • HT201250 I use Time Machine to back up my entire computer with my external hard drive. I am getting a brand new iMac this month and was wondering what is the process of using this back up to restore my new computer exactly how my old computer was?

    I use Time Machine to back up my entire computer with my external hard drive. I am getting a brand new iMac this month and was wondering what is the process of using this back up to restore my new computer exactly how my old computer was? I want to make sure I will still have various important files on my new computer, like my songs in iTunes, my photos in iPhoto, etc, etc. Thanks so much in advance!

    Welcome to the Apple Support Communities
    When you turn on the new iMac for the first time, Setup Assistant will ask you to restore a backup, so connect the external disk and follow steps to restore all your files to your new iMac. Your new Mac will have the same settings and programs as your old computer.
    In other cases, I would recommend to restore the whole backup without using Migration Assistant or Setup Assistant, but a Late 2012 iMac uses a special OS X build, so the OS X version that you're using on your old Mac won't work on the new one. For more information, see > http://pondini.org/OSX/Home.html

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • On every attempt to install Itunes I've recieved the error message, "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package Vendor." What do?

    On every attempt to install Itunes I've recieved the error message, "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package Vendor." What do?

    I know there's a million threads like this, but I thought I'd record my experience.  I, too, was having the original poster's error when I tried to update iTunes on Windows XP.  I think I was stuck on 10. 
    I solved it by un-installing iTunes and every other Apple app.  I discovered that Apple Software Update would not un-install as its MSI file could not be found.  I used the "Windows Install Cleanup" tool from Microsoft to remove Apple Software Update from the list of installed programs.  Google "kb290301" for a Microsoft page that includes a download link for it.  After that, I was able to install a fresh copy of iTunes 10.5.2.
    I'm not sure why this app's folder and MSI were missing from my computer.  I had once used Laplink PC Mover to move everything from my old computer to this one, and perhaps it missed a bit.

  • When I try to open a bookmark I get a box that says "what should firefox do with this file?" When I try to change the "open with Internet Explorer" I can't find firefox ? Last week this bookmark worked fine.

    When I open a bookmark a box pops up that says "What should firefox do with this file? "open with Internet Explorer? When I browse I can't find firefox to change to. Last week this book mark worked perfectly.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

Maybe you are looking for

  • I am trying to install windows 8 at my macbook air boot camp

    I am trying to install windows 8 at my macbook air boot camp but Boot Camp Assistant i showing an error that the disk cannot be portioned because some files cannot be moved. Back up the disc and use disk utility to format it was a single Mac OS Exten

  • Need help in installing JSDK(please)

    Hi guys I Am trying to implemente a servlet(my first servlet),So I downloded JSDK. But I can t find servlet in the package javax. I have put a copy of servlet.jar in jdk1.2.1\jre\lib\ext, but still nothing. can u please help me with that? thanks

  • Logic Pro 9 "Tracks bounced are low in volume"

    So I finished my track, and I bounce it. After it exports to my desktop (like usual) I go to play it and there is practically no volume on the track. I have tried to bounce my track "offline" and have tried multiple times but I cannot seem to figure

  • How long do shared photo stream albums stay in iCloud?

    How long do shared photo stream albums stay in iCloud?

  • USB copying to flash Drive very slow suddenly!

    hi i just got my brand new macbook and the ipod touch and so far i love my new mac experience at first i copied my music( 5 GB) on a flash drive and copied it to my macbook and ipod since they both r 2.0 usb they did it pretty fast! later i was copyi