No disk inserted!!

Hi,
i am posting this here because nobody gave me an answer to this in the other forums, so i decided to ask here. This is the scenario :
I have an application that performs an authentication in a X.500 directory server, to do so, it needs encrypted information that must be provided in a disk. This way, each user has his secure identification in that disk and only auhtenticated users can access the directory. It all works fine, the problem is that when no disk is inserted, i want to get the error and display the warning to the user, what is happening is that windows gets there first and displays that warning first, and only if i click in the cancel button, the Exception in Java is thrown.
My question, can a get ahead of Win2000!!!
don't know if this is the correct forum but....
thanks in advance,

The reason this is happening is that, managing the disk and drives is the job of the OS. There may be a way to get around this by mucking with the Windows native API (you lose portablility by doing this, of course). I would suggest, however, that you really think about whether you need to display the message yourself. If the Windows message is going to be basically the same message as what you want to present, you can save a lot of time and effort by leaving that to the OS.

Similar Messages

  • "Disk Insertion" error message... and well, no disk!

    hi
    i just removed Office 2004 from my Mac (having switched over to Mail) and upon restarting my MacBook, i now get the following error message:
    *Disk Insertion*
    *The disk you inserted was not readable by this computer.*
    i can select EJECT or IGNORE.
    the problem is that... no disk is inserted and i did not try to insert any either!
    clicking EJECT just has the message disappear to reappear a few seconds later.
    clicking IGNORE gets rid of it, but it is there again after the next restart.
    everything else runs fine.
    any clues?
    thx =) dominique

    Problem disappeared after a complete shut down and restart. as opposed to simply restarting which was what i had done previously.
    =)

  • Whenever I plugged in HP laserjet M1132 printer usb to my Macbook air,a screen pop-out "the disk inserted are not readable by this computer".I uninstalled

    Hi,I'm new here and I think my problem were discussed few times before.However,I tried to follow the solutions similiar to my condition but it does not work.My problem is whenever I plugged in the HP printer (Laserjet M1132 MFP) usb to my Macbook Air,a screen will pop-out and read as 'the disk inserted is not readable by this computer'.I even bought my Mac to the Mac store but the situation remains the same.Okay with other printer but not with my HP.Sigh.The HP printer worked just fine with other computers (not Mac).I'm really sick of it.Please help me.I once plugged in an external hard drive & started Time Machine with it.The printer problem started after that.However, the hard drive plug-in works just fine.
    Your attention of above matter is highly appreciated.Thank you.

    Here is what worked for me:
    I reset the System Management Controller on my MBA.  To do so requires shutting it down, keeping it plugged in to power (I also unplugged both USB connections), and then from a powered off state I simultaneously pressed Shift + Ctl + Option + Power (I did this once and it did not work so I tried again and did it 3 times just to be safe), then released them at once, then I pressed the power button.  Problem solved.
    http://macs.about.com/od/usingyourmac/qt/Resetting-The-Smc-System-Management-Con troller-On-Your-Mac.htm
    I also tried uninstalling the using the repair Disk Permissions with Disk Utility and moved the HP Printer software accessories to the trash (you can search the web for how to do that but that did not solve the problem either).  Neither of these options worked.

  • My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    and PRAM How to Reset NVRAM on your Mac - Apple Support
    If those don't help you can try a cleaning disc or a quick shot of compressed air. Chances are that your drive has failed, join the club it's not all that uncommon. You can either have it replaced or purchase an inexpensive external drive. Don't buy the cute little Apple USB Superdrive, it won't work on macs with internal drives working or not.

  • My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem.

    My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem

    The frist thing to try is a drive-n disk. They are cheap (US$5-15) and easy to use. Many unresponsive drives, even ones declared "dead" by an Apple tech, have returned to service after a cleaning.
    Check with home entertainment specialty shops, electronic superstores and office supply outlets that sell computer accessories.

  • I have a disk inserted into my MAC that is not showing up in the Finder side bar. How do I eject it?

    I have a disk inserted into my MacBook Pro that is not showing up in the Finder side bar. How can I get it "ejected?" (I've checked in system preferences under CDs & DVDs and did not find a solution.)

    Five ways to eject a stuck CD or DVD from the optical drive
    Ejecting the stuck disc can usually be done in one of the following ways:
      1. Restart the computer and after the chime press and hold down the
          left mouse button until the disc ejects.
      2. Press the Eject button on your keyboard.
      3. Click on the Eject button in the menubar.
      4. Press COMMAND-E.
      5. If none of the above work try this: Open the Terminal application in
          your Utilities folder. At the prompt enter or paste the following:
            /usr/bin/drutil eject
    If this fails then try this:
    Boot the computer into Single-user Mode. At the prompt enter the same command as used above. To restart the computer enter "reboot" at the prompt without quotes.

  • How to disable Disk Insertion warning message?

    I'm running OS X 10.4.8 from an external FW drive, reserving the internal HD on my MacBook for Linux. When booting OS X a warning message pops up: "Disk Insertion - The disk you inserted was not readable by this computer" with action buttons Initialize..., Ignore, Eject . This must refer to the internal HD, as OS X apparently can't handle Linux partitions. Hitting Ignore, or waiting a while, makes the message go away.
    My fear is that one of these days I'll hit the Initialize... button by mistake, hosing my Linux partitions in the process. Any gurus out there know how to turn this dangerous (for me) message off?
    N.B. I also posted this message on the MacBook forum, but got no response there... sorry for this, I really want to remove this potential landmine...
    MacBook   Mac OS X (10.4.8)  

    No. If you fail to eject any disk device properly then there's a risk that cached data will not be fully written thus corrupting the device's data.
    This doesn't happen with an iPad or iPod when syncing has stopped because the sync process does not leave cached data unwritten until the device is ejected unless you remove it before a sync has completed. It will happen, however, if you use the iPod in disk mode. The iPad has no default disk mode. You must use a third-party app in order to read or write directly from an iPad. The issue is also academic for iPads and some iPods that do not have disk drives.

  • "disk insertion" problem

    i bought a cd and listened to it earlier and it worked fine but now when i put it in a message pops up that is labled "disk insertion" and it says: "the disk you inserted was not readable by this computer" and the option are to ignore or eject. but it allredy had worked before and all the other cds i put it work, so i dont know what to do.
    katy

    Hi MarkJones & Generik,
    Here's the deal when the "disk1s1" is formated.
    hey presto: it worked ... Thank you so much
    G4 Powerbook   Mac OS X (10.4.8)  
    Thank you kindly
    You just made my day, week, month, year.
    G4 Powerbook   Mac OS X (10.4.8)  

  • Disk Insertion Problem W/ Photos

    Hello all,
    I get a pop up box saying Disk Insertion... the this not readable
    WHAT I HAVE DONE:
    Reinstalled iTunes 7.0.2
    Reset iPod
    Retry with different USB
    Restart
    Here's what I get:
    http://static.flickr.com/103/28816657589c0d2d1e3b.jpg
    http://static.flickr.com/109/288174300d1c21153cfb.jpg
    http://static.flickr.com/101/2881743015b6769e7ecb.jpg
    Any help would be great...
    I'll call Apple (AUS) on Monday when they open.
    Thank you,
    3jaz
    G4 Powerbook   Mac OS X (10.4.8)  

    Hi MarkJones & Generik,
    Here's the deal when the "disk1s1" is formated.
    hey presto: it worked ... Thank you so much
    G4 Powerbook   Mac OS X (10.4.8)  
    Thank you kindly
    You just made my day, week, month, year.
    G4 Powerbook   Mac OS X (10.4.8)  

  • Randomly occurring Disk Insertion error message

    Running a mac mini with 10.5.4 I seem to get a randomly occurring error message "Disk Insertion - The disk you inserted was not readable by this computer" with choices to "Initialize" or "Eject". The weirdness is that the message seems to pop up at random intervals when I haven't attempted to insert a disk.
    Mac mini 10.5.4 with 500GB external hard drive

    I got this exact same message with my old Mini. It stopped as soon as I disconnected my iPod Shuffle. Haven't got round to figuring out how to fix it yet.

  • 750GB Seagate External Drive - Disk Insertion error

    I have two 750 GB Seagate External hard drives, which are daisy chained to my PowerMac G5. I was transfering files between external hard drives, when all of a sudden the computer crashed. Once I restarted, the computer gave a disk insertion error:
    Disk Insertion
    The disk you inserted was not readable by this computer.
    The options are: "Initialize..." "Ignore" and "Eject"
    One of the external hard drives is fine, the one which was directly hooked up to the computer. However, the drive that was daisy chained still gives this error. I have tried connecting the drive to another mac, but it still gave this error. I also tried connecting it to a PC, and it was detected, but it did not show up under "My Computer."
    Is there a way that I could save or re-format the hard drive WITHOUT loosing the data?
    Please let me know. This is very urgent. I have a lot of important data on the hard drive. Any help/ideas/suggestions are greatly appreciated. Thank you very much.

    Hello! Sometimes a large file transfer will lock or crash a computer. With a crash or hard restart the disk's directory is damaged and if disk utility can't repair it then DISKWARRIOR is about the only utility that can fix the problem. The data usually isn't gone. The disk's directory (road map) of where every piece of info is located on the drive has become corrupt hence there's nothing for it to find. Diskwarrior is the best utility for repairing the directory. Regular use of DW will prevent "most" disk problems as it's the directory that gets messed up rather than a physical problem with the disk in most cases. In cases where DW can't fix the problem DataRescue II can sometimes recover valuable data. Tom

  • How do I resolve a disk Insertion error?

    Hello and thank you,
    I recently upgraded my G4 to The tiger OS. All went smooth during the upgrade but, when the computer restarted both of my 17.1 gb quantum Atlas hard drives went missing and I received two disk insertion errors. I selected initialize but was unable to select any options in the disk utilities. Both hard drives still appear.
    I decided to restarted my computer but this time my mac froze on the gray screen and told me to restart once more. I shut it down unplugged all cables and disconnected the hard drives thinking these where the problem and powered up. I saw a file folder with a question mark then it operated as normal.
    After some experimenting I've deduced that when both hard drives are connected the G4 will freeze at the gray screen 75% of the time. If both Hard drives are not connected the machine will run fine with the exception of showing the question mark file.
    Is there a way to have my mac recognize the two hard drives or is tiger not compatible with these hard drives?

    To cure the question mark at startup problem...
    System Preferences>Startup Disk, then select your boot drive.
    What kind of cases are these drives in? FW, USB, Internal, Other?

  • G4, 400Mhz,  OS X, (10.4.6) Disk insertion not readable messsage.

    I've installed an internal secondary hard drive, 120GB, Barracuda 7200 RPM to my G4 which contains a 10GB hard drive as master drive. I'm trying to install a second hard drive as a slave but I keep getting a Disk insertion not readable message. The computer recognizes the new HD but won't initailize. I tried swapping jumper location but to no avail. I'm at my wits end, please help.

    That is an older G4... and Disk Utility launches, you try to use the Erase or Partition and it fails?
    Master should be on the end of the IDE chain, as well as jumpered as master or even "master with slave."
    Try booting from Tiger DVD with just the 120 GB drive, and set as master or master only. See if you can do it that way. Or just boot from DVD first and see if it will let you. Sometimes works.
    Also, you could try setting both drives to Cable Select and see.
    10GB was/is small and slow, you should see a real nice boost. If you want to add more drives, consider SATA and then you can use larger and faster drives.

  • No bootable disk insert boot disc

    My hardisk had some issues so got a replacement hardisk from HP. i installed the new hardisk sucessfully. however when i start my laptop it shows No bootable disk insert boot disc.
    i ran a harddrive self test, it was sucessful. i tried starting with the recivery disc 1, no luck either.
    how to fix the error message?

    Ramki wrote:
    My hardisk had some issues so got a replacement hardisk from HP. i installed the new hardisk sucessfully. however when i start my laptop it shows No bootable disk insert boot disc.
    i ran a harddrive self test, it was sucessful. i tried starting with the recivery disc 1, no luck either.
    how to fix the error message?
    Hi,
    The new hard drive you have got is completely empty!! You have to restore the laptop to the factory settings with the recovery disks. Go to the BIOS and change the boot order to CD/DVD Rom (press esc at startup and then F10) and save the changes (reboot). After that insert the disk no.1 to the optical drive and reboot again (press ctrl+alt+delete). If you have the right recovery disks, it should boot up and start the recovery... 
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • G5 comes up with Disk Insertion Error

    My G5 will mount CDs and software DVDs without a problem but now when I insert a film DVD I get the 'Disk Insertion Error' and the disk won't mount. The disk appears when I run the Disk Utility but I can't do anything with it.
    Help!!!!!

    HI Tom,
    The error message that you are receiving indicate that your notebook is attempting to boot from the LAN connection rather than from its own hard drive or CD-ROM. I suggest you check that the boot sequence is correctly specified in your BIOS, or alternatively press F12 during your power on and you should get the boot device sequence menu appear so that you can specify that you want to boot from your hard drive.
    regards,

  • Why do i get the "the disk you inserted was not readable by this computer" error when I don't even have a disk inserted?

    Why do I keep getting "the disk you inserted was not readable by this computer" caution message when I don't have a disk inserted???

    Unfortunately, I saw this error for the first time this morning. It's on my wife's iMac running Lion, and it appeared when the machine locked up on a Software Update screen prompting her to run an update (I'm assuming this was the recent Security Update).
    After numerous failed attempts to force-quit or otherwise safely restart, she hit the power button, and when the machine came back up it failed to recognize the startup disk. I've since successfully restarted from several different (external) startup disks without incident, but each time I attempt to fix the internal drive via Disk Utility the disk shows only as "Media" and all the usual options to Repair or Verify the Disk are greyed out, leaving only the Erase Disk option.
    Are we totally hosed?

Maybe you are looking for

  • FMIS vs LCDS for Real Time Messaging In Flex

    A team that I am working with is launching development for a new Flex app. The app will have multiple text chat rooms and video chat too. Since for video the architecture must include Flash Media Interactive Server (FMIS), the client assumes we will

  • Mouse but no keyboard on my mini 10.4.8

    hi guys ive recently bought an apple bluetooth mouse and keyboard direct from apple to use with my mini mac. The mini I have has no bluetooth internally so i have bought a belkin usb jobbie. The mouse and my mobile connects just fine and works like a

  • Making firepod default input device

    So i just switched from using an m-audio usb input box to a presonus firepod and everytime i open logic it says i something along the lines that the aggregate device that i usually use isnt present and i have to go and switch to presonus every time.

  • My swing applets dont work in IE!!! Anyone can help?

    Hi to everyone, I`ve read a lot about this subject this last week, but I don`t seem able to solve my problems, that are kind of a mistery, and any help will be wonderful. I`ve developped some swing applets with KAWAPro v 4.01. I had no problems runni

  • Worth installing Windows 7 before selling MBP?

    I'm planning to sell my MacBook Pro 13 (mid-2010) on eBay UK.  I can install Windows 7 Professional alongside OS X for about £25, but is that likely to be financially worthwhile?  Is a dual boot machine likely to be more in demand?  Or should I just