I can read but not write to an Excel file!

Hello,
I hope someone can help me witht this. I am writing a program that reads and writes to an Excel file with the use of Jakarta's HSSF.
I can read the excel file with no problems, but when it comes to writing on it it only works the first time! Then when i try again, I get this:
java.io.FileNotFoundException: N:\Servers.xls (Access is denied)
     at java.io.FileOutputStream.open(Native Method)
     at java.io.FileOutputStream.<init>(Unknown Source)
     at java.io.FileOutputStream.<init>(Unknown Source)
On some PCs i have no problems, but on others it works only once and then I get the above error. I am using Java 1.5.0. Thanks.
Message was edited by:
nnt01

ya..evrything is fine..my program even creates that file
I was doing some searching, is it true that this is a bug in Java..because I can't understand how sometimes it works and sometimes it doesn't

Similar Messages

  • Trying to access SMB share, can read but not write, I use the domain account to autenticate and domain account has access to the share. its a samba domain and im a Windows Admin by trade.

    I have two  I Mac's Intel i7 models.
    I have some problems getting them to write files to SMB shares.
    The domain user account I use when requested to enter when i first try to connect to the share seems to go though without a problem and it presents me with a list of mounts (shares) I select one and the folder opens, I can read files and copy them but I cant write to any of the folders.
    I have also mounted the network locatiosn to a folder from the terminal while also specifying a user name and password to use but this also doesnt allow the specified user account to write data to the share.
    I have confirmed the user account can write to the share by having the user do so from a windows box.
    any help from any of you mac guys would be great!!!!
    Im a windows fan boy / Windows Server based Network Administrator and am slowly becomming a fan of your macs (mainly due to the Unix terminal access letting me realise there is more control to be had than most haters would lead you to believe).
    Peace Out

    I should add that I originally formatted the problematic drive for FAT32 from the Mac, but then the WinXP computer couldn't see the drive when I plugged it in directly via USB. That's why I went with Seagate's utility to format it.

  • How come a USB will work with both Mac and Windows (as in that there are already files from Windows and Mac can still read and write onto it) but a external Hard Drive won't (as in there are files from Windows on there but Mac can read but not write)?

    I have a Seagate Drive that I'm hoping to copy some movies from my Mac onto (because it only has a 512 SSD and I'd rather keep that empty and handy for more readily needed files) but it won't work. It shows up as a drive when connected (with the orange USB drive icon popping up) and is appropirately labeled "FreeAgent Drive", but when I try to copy files onto it it won't work. There are already windows files on there, such as some windows backups and lot's and lot's of pictures and videos. However, I have several USBs which already have windows files on them (namely movies, music, and other stuff) and copying and stuff works fine. Why won't it work with this hard drive and would work with USBs? Please help me out here guys, I am not experienced with Hard disks and formatting and stuff like that. 10 points for whoever helps me out the most. Thanks.

    We will need to reformat your EXT, but it will then work on both Mac and Win
    Connect the drive to your Mac, open disk utility
    Go to the partiton tab and select '1' ... format should be ExFAT ... in options select MBR
    Format the drive
    It should now work on both OSs; report back

  • MS-8348 reads but not writes

    I bought an MS-8348 (I'm assuming A, even though I'm not told.  It looks similar to the picture on the firmware page for the A version)
    The problem I'm having is that I can read all I want, but I can't write to a CD.
    I haven't a clue what firmware I've got, so I went to upgrade.  I tried to upgrade the firmware but it can't find my CD drive.
    Yes, I was still in windows.  I've got windows 2000.  I don't know how to make a boot disk with win2k and I don't know how to boot to dos only with win2k.
    Win2k does recognize what drive I have and lists it as a MS-8348 CD-RW but I can't burn with any software.
    Also, I don't have any original software.  I only have the drive, nothing else.
    My system is an athlon 2700XP, 512 ram...
    I saw somewhere that someone said to install all motherboard drivers.  I did that already.  This is my first day trying to use the drive.

    I'm still having problems...
    I made a boot disk on my WinXP machine and booted to DOS on my Win2k box.   The Win2k box is the one with the CD Burner.
    I tried to upgrade the firmware to 150D, but it's already got that...
    Still no burning ability.
    Again, Windows 2000 recognizes that I have the CD RW, in fact it's the one that calls it a CD RW, model MS-8348.  So it knows it's a burner, but I can't burn.  Every burning application I've tried says that I have a CD-ROM to read from, but not a CD Writer to write to...

  • Broadband infinity I can receive but not write emails

    Since installing Broadband Infinity I can receive emails on my tPad but when i try to reply the words freeze or move down to the message I've just received

    I assume that you are talking about Xfinity Internet service. Are you using the mail app or the Xfinity Connect app?

  • Can hear, but not see my MPEG-4 files- can anyone help me?

    So I bought a new digital camera- a Casio EXILIM that makes MPEG-4 files. When I try to play one of the MPEG-4 files, I can't seem to get the video to show up on my QT player. I'm using QT 7.0.3, and I can hear the audio portion perfectly, but there is no picture.
    The Casio manual is 7 pages of nothing that helps. Software? You're joking, right? They graciously give a copy of Photo Loader, which seems like it was written in the stone age.
    As far as Quicktime goes, I have the following plug-ins: MPG4-DIVX, MPG4* and MPG4.
    The File comes up as a .AVI file, if that makes any difference.
    Thanks for any advice of help, I appreciate it.
    Wood
    Powerbook G4   Mac OS X (10.3.9)  

    J.A. Yocono,
    The VLC Media PLayer at http://www.videolan.org/vlc/ should play the files for you.
    I use ffmpegX at http://homepage.mac.com/major4/ to convert similar problem files to DV stream video files so they can be used in iMovie/iDVD. (Keep in mind that the files will grow in size from your MPG-4 sizes as DV Stream video is about 13 GB per hour of running time).

  • How come I (the Admiistrator) can Read & Write the majority of my Pages archives but not write on random paragraphs?

    BLS' iMac 3.60GHz Intel Mac -  OS X 10.6.7 - Pages 4.0.5…
    How come I (the Admiistrator) can Read & Write the majority of my Pages archives but not write on random paragraphs?

    So what happens when you try to edit this information?
    For example:
    You have a document...
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    klasdfl;kasdfl;kjasd;lfkja;slkfja;sldkfj;alskdjf;laksdjfl;kj
    jkjklioiouijo32904213904902349023904902390902390
    jkjklioiouijo32904213904902349023904902390902390
    jkjklioiouijo32904213904902349023904902390902390
    jkjklioiouijo32904213904902349023904902390902390
    Would you be able to highlight the second paragraph? (not in my post obviously)
    If so, what happens?

  • I can read but I can't write to an external drive - changing permissions

    I can read but I can't write to an external drive. 
    How do I change permissions? None of the helps here on the discussions have helped.
    Why would a computer company let me read files but not write? Hahaha. This is insane.
    I have to write computer files for work. It's a project due this morning.
    Man, I'm going to have to go back to PC.
    Just need the compter to write files.

    If it's formatted as NTFS, reformat it as MS-DOS, exFAT, or Mac OS Extended (Journaled) as desired.
    If it's formatted as FAT32 or exFAT, use the Disk Utility's Repair Disk command on it.
    If it's formatted as Mac OS Extended, click Authenticate and provide your administrator password, or change the permissions on that specific folder in its Get Info window.
    (72460)

  • How do I delete an e.mail on my 5s that has a mime attachment,the e.mail can be read but not deleted.

    How do I delete an e.mail  on my 5s iphone that has a mime attachement? the e.mail can be read but not deleted. A message comes up saying that it cannot be moved! The e.mail was sent to me and I forwarded it. The e.mail is not in any other folder in the phone or on my mac. But it might be in my backup to the mac via itunes.

    This is for your protection, its not supposed to be easy.
    You should be keeping a record of all your passwords, security answers, etc.
    Rescue email address and how to reset Apple id sec. questions.
    http://support.apple.com/kb/HT5312?viewlocale=en_US&locale=en_US
    If that doesn't work and you can verify the following info, call 1-800-APL-CARE.
    1. apple id username, that is not locked or disabled.
    2. serial number of an apple product registerd in your name
    3. Billing info associated with your account

  • E6 (Belle) - Phone can sent but not receive emails

    Hello,
    I have set up a 2nd mailbox. The first mailbox functions fine. But with the second mailbox I can send, but not receive emails.
    Has anybody an idea how to solve that?
    Many thanks

    One more try.   The problem here is that I don't have hands-on experience with Belle.  Some backtracking...  I assume that
    1) Your firmware is up to date.
    2) Even manually syncing email doesn't work.
    3) You are not seeing any error messages that would help us track down the problem.
    I did a web search, and found other Belle users complaining about Gmail support, but mostly that push doesn't work reliably.  Manually syncing (or polling every X minutes) still does.  It's a long thread, but you might want to read http://discussions.nokia.com/t5/Messaging-Email-Browsing-and/E-mail-doesn-t-sync-automatically-after... in case any comments help you.
    If none of that helps, try enabling logging.  Within Nokia Email, I have a logging option under Settings -> Global Settings -> Log Output.  It writes at least two files to Phone Memory -> Logs.  In my case, one file logged only GUI calls...and so was useless, and the other file was always empty.  (A third file applied only to Mail For Exchange.)  But give it a try and check the files later for references to Gmail or IMAP.  Read them from a computer if that helps, and then post any relevant portions here.  Also turn off logging when you're finished.
    Again, good luck!

  • How to use the dll  created by c++ but not write a jni wrapper around

    how to use the dll created by c++ but not write a jni wrapper around through a java program. now I can't access that dll like this directly from java.

    Your question is unclear. (You haven't said what dll you are talking about.)
    But:
    If you are talking about an existing dll, then the only alternative to writing a wrapper is to use one of the wrapper generators floating around. Do a search on JACE.
    If you are talking about a dll you are writing, then run jah and get the interface to match java right away; then you won't have to write a wrapper.

  • Can send but not retrieve emails using Thunderbird and Windows 8.1

    Hi, I am not able to get Thunderbird to retrieve emails on a new laptop.
    Last week I purchased a new laptop due to an imminent hard disk failure on my old laptop. I will call them "Old" and "New" laptops. (Old laptop is still working for the moment...)
    The Old laptop is nearly 3 years old, and I have been using Thunderbird on it since new without any problems.
    I have downloaded and installed Thunderbird on the New laptop, and can not get it to retrieve emails.
    As the Old laptop is still working (at the moment), I am able to directly visually compare and check settings on both computers.
    THE PROBLEM
    Using Thunderbird on the New laptop, I am able to send emails, I can see all my old emails restored from the Old laptop using Mozbackup, but clicking Get Mail on the New laptop does not retrieve new
    emails.
    When I click Get Mail, the status message in the bottom left corner says "connected to .....<ISP>..." but does not actually get the emails. However, the Old laptop is still able to get emails as it always has.
    My ISP is a large Australian telco that I have used for many years and I have not changed anything with my account. The ISP is POP3.
    WHAT HAVE I TRIED
    I deleted the email account created by restoring from Mozbackup, and attempted using the Thunderbird new account wizard, however Thunderbird did not recognise my ISP and would not create the account - even though it is working perfectly at the same time on the Old laptop.
    All Firewalls I can find have been configured to allow Thunderbird, with the same configuration settings on both machines.
    How do I know I can send but not Get emails from Thunderbird on the New laptop?
    I have sent test emails to myself from the New laptop. Thunderbird sends successfully, I am able to preview the test emails via Mailwasher on the New laptop, and can read, reply, etc, to the emails if I log into my ISP webmail service. However I can NOT get Thunderbird to retrieve and download these emails on the New laptop. If I go to the Old laptop, Thunderbird works perfectly, retrieves and downloads all new emails, including these test emails.
    I am now at the point where I do not know what else to try and would appreciate any suggestions.....
    I have spent many hours over the last 3 days surfing the net, forums, Mozilla Support, etc, and tried everything suggested, without success. The only thing I have NOT tried is starting windows in Safe mode (as per some suggestions), as it is not a viable long term solution.
    OTHER INFO
    Computer Details;-
    "Old" laptop;-
    Windows 7 Home Premium - continuously updated with all Critical and Important updates. 64 bit version.
    Antivirus = Bitdefender Total Security (subscription and licensed). Up to date.
    MailwasherPro 2012 (subscription and licensed). Up to date.
    Thunderbird 24.5.0 working perfectly. Up to date.
    "New" laptop;-
    Windows 8.1 - up to date with all Critical and Important updates. 64 bit version.
    Antivirus = Bitdefender Total Security (subscription and licensed) - downloaded and installed. Up to date.
    MailwasherPro 2012 (subscription and licensed) - downloaded and installed. Up to date.
    Thunderbird 24.5.0 - downloaded and installed.
    Note: I 'downloaded and installed' the Windows 8.1 version of these programs to avoid any potential compatibility problems restoring or copying from a Windows 7 backup version of the programs.
    1) New laptop came with pre-installed with McAfee - which has been Uninstalled due to running Bitdefender (Windows searches for 'McAfee' return nothing found suggesting the Uninstall was successful).
    2) Thunderbird has been added to both Bitdefender and Windows 8.1 firewalls on the New laptop.
    3) Bitdefender and Windows security settings are identical on both laptops - as near as I can determine, I may be missing something - but have checked all settings 3 times by doing a side-by-side visual comparison.
    4) Thunderbird settings are also identical and I am using the same email address and ISP that I have been using for many years.
    5) I migrated Thunderbird settings, accounts and emails from the Old laptop to the New laptop using Mozbackup, then visually checked and compared all settings in Thunderbird between the two machines.
    6) For info, I have used Mailwasher for many years as a simple way to preview and wash mail before running email programs such as Thunderbird - might be overkill, but I have also never had a virus or malware problem, so will keep doing this.
    7) I have Uninstalled and re-installed Thunderbird on the New laptop twice, and done the same with Bitdefender once.
    8) Any config changes I try on the New laptop, I either restart Thunderbird and / or restart the New laptop, or both.
    9) I have not created a Windows 8.1 account and am not using SkyDrive.
    10) Only other software I have installed on the New laptop is Google Chrome, Office Home 2013 and iTunes - all are working.
    Thanks in advance....

    Well there is not much left. If telnet works then the path is clear and there is no hardware firewall blocking ports.
    All that is left is software, so try windows safe mode with networking. A very handy way to eliminate software. it also actually disables most anti virus resident features and is preferred here because anti virus/security programs do not always disable or turn off when they say they have.
    You might also try the McAfee removal tool. https://community.mcafee.com/thread/52788 I notice the rep said yes to both, they did not say not required.
    Finally you could try creating a new profile, and see if it works just to exclude corruption of your existing profile. ( I doubt it but I am at the anything goes point)
    Just as an aside, I have never had an email borne nasty and I for many years never even had an email virus scanner. So yes I think your a bit over cautious with mailwasher, if that is what your using it for. Thunderbird does not support scripting languages or flash, or most plugins in the email sandbox. The result is getting a virus from a mail in Thunderbird is really only possible, for all practical purposes, if you open that password protected zip from the young Russian woman and that is what the anti virus should be blocking anyway when the temp file is written.

  • HP DJ1510 AIO Printer-CAN SCAN BUT NOT PRINT

    I installed SW & HW as per HP instructions on my comp (WinXP-SP2). Scanning worked but cannot print as the printer driver (which may be missing or faulty on the CD and also in installation files downloaded from HP web site) does not get installed.
    HP, India has not come up with any solution to this issue despite my spending many hours with them since 20/9/14.
    HP needs to give me a patch for installing printer driver in my OS, which should not be difficult for a company like HP.
    I am now frustrated with this HP product & its service. All promises but nofollow up or even phones are not picked up
    Who will help me or should I throw away this HP printer.
    BM Shah

    Hi @bmsprinter,
    Welcome to the HP Forums!
    I understand that your HP Deskjet 1510 can scan but not print with Windows XP (Service Pack 2). I am happy to help!  
    According to your printer's specifications, found at this website, HP Deskjet 1510 and Deskjet Ink Advantage 1510 All-in-One Printer Series Product Specifications. This printer is only supported on Windows XP (Service Pack 3) and above. You can select System requirements, and then Windows system requirements, once you have visited that website.
    Also, please take a look at this reply, Re: cannot find priner, by my colleague @Jamieson, from your older post, that will help you upgrade your Windows XP Service Pack. 
    Hope this information is helpful, and have a wonderful day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • I can send but not receive email

    Hello All. I know this is a highly posted topic but I cannot find a solution. Any help is greatly appreciated.
    Basic Problem- I can send but not receive email.
    My ISP is. Yahoo SBC Global
    I have a 3rd party email provider: 1and1.com
    I have set my preferences according to the specifications of 1and1.com
    The error I get is this: The server error encountered was: The attempt to read data from the server "pop.1and.com" failed.
    I have a Macbook Pro, running 10.4.9. My account with the 3rd party email provider is new and only has 1 or two emails in the account. I know this because I can log on via the internet and use their website to check the emails in the inbox. So the "email" address is working. I just can't get it to forward to my laptop.
    I'm wondering if it has something to do with port 110 being blocked by my ISP. But I really don't think they are blocking that port. Due to the fact that my previous computer was a dell, and I used a similar 3rd party provider to email, the account used port 110 and things worked fine.
    Thanks to all.

    Ok. I've got it working.
    All I did was delete my account information from the preferences. Before, I was editing it.
    I entered a completely new POP account and it started working. I have a hard time believing that I entered information incorrectly prior to this because I checked it, rechecked it had a friend check it and it all looked OK. I was copy and pasting information anyway.
    However, once I deleted and re- entered a brand new account, it worked fine.
    Ernie, thanks for replying to my emails! I appreciate it.
    -Fraky

  • 2nd gen A TV I can hear but not see on the TV when trying to stream TV from the iPad2

    2nd Gen ATV I can hear but not see on the TV when trying to stream TV from the iPad2

    You can look at the ipad under settings, general, about and see if it's 4.3.3.
    Or when you connect the ipad to the computer with itunes, it'll tell you on the first tab if you need an update.

Maybe you are looking for

  • Converting Report into excel file

    Hello everybody i want to convert report output into excel format(in csv format) without using delimeted feature of Reports 6i. how can i do it.I have done it in Forms 6i using text_io package, but i'm unable to find exact query after running report.

  • Putting your number on its own plan

    i am on a family plan and want to know how i can put my phone on its own plan and not be part of the family plan anymore

  • Need some help scripting a specific menu animation, please

    I have this Actioscript 2 file here (see attached). I have the animation performing ok in the file, but I am having trouble getting the movie clip to play on mouseover.  I could really use some advice on this...  I've been through a number of tutoria

  • Mini DVD

    I have an IMAC 24 in. Running Leopard. Not sure if this is the right forum for the question. THE DVD player in the IMAC - Can I put MINI DVD's in that slot (the smaller ones that go in video cams) so I can extract some video? Thanks for your help! Sh

  • Sound software

    sorry for the off-topic, but I don't know where to ask this: can someone give me the name of an app I could use to edit out some of the background "snap, crackle, and pops" in audio files?