Understand further about "excel files is locked for editting by me"

Hi friends. I hope you are doing well.
i have a problem with an user in my office when opening an excel file from Server:
“<file_name>.xlsx is locked for editing” . The error shows that it is being used by its own user and that user could not open this file.
- Our company is domain network and our Domain Controller is also File Servers.
* I got a workaround action plan is: "unshared the folder which contains the problematic files in server, then share it again". However, this only works with folders which contain a small volume of data. For several GB it will take a considerable
time and affect to network availability.
I have few questions:
1. Is there anyway to kill the process/service which is controlling the "excel files" at server ? ( Since i reboot client machine but the error message still persists), beside my workaround action plan.
2.When i use OpenFilesView (from the link:  http://www.nirsoft.net/utils/opened_files_view.html) i can see that the excel files is opened by 2 process : "xlsx and xls" from remote computer. However, i can not kill the process using OpenFilesView.
So i would like to ask: Is there any way to kill a process from remote host?
3. What actually happens when sharing a files from Server in domain ? ( mechanism of sharing files)
I would appreciate if you can give me some advices for my concern.
Thank you very much! Have a good day.

Hi,
We have a lot of possible causes for this error, I would suggest your to take a look at this public blog and try the steps out there:
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx
Also, below KB article describes the way that how Excel saves files, you might also want to take a look. There may be some softwares or process is accessing these temporary files.  Check if there is any temporary file (~$filename.xls
or ~$filename.xlsx) in the shared folder, delete them and try again.
http://support.microsoft.com/kb/814068/en-us
Hope this helps.
Thanks,
Ethan Hua CHN
TechNet Community Support

Similar Messages

  • Excel File gets Locked using OLE2

    Dear all ,
    We are working with 10g forms
    We are trying to load data from Excel file into a form using OLE2 . We are able to load the data from Excel File .
    Here we try to read the first row of the excel file and verify for a title to be present
    if not present we close the file . we have used the OLE2.Release_OBJ
    declare
    application ole2.obj_type;
    workbooks ole2.obj_type;
    workbook ole2.obj_type;
    worksheet ole2.obj_type;
    cell ole2.obj_type;
    args ole2.list_type;
    Check_file text_io.file_type;
    no_file exception;
    PRAGMA exception_INIT (no_file, -302000);
    cell_value varchar2(2000);
    begin
    Lv_F_File_Type := Text_Io.Fopen(:Cb_Input.Ti_v_File_name,'R');
    application:= ole2.create_obj('Excel.Application');
    workbooks := ole2.get_obj_property(application, 'Workbooks');
    args:= ole2.create_arglist;
    ole2.add_arg(args, :Cb_Input.Ti_v_File_name);
    workbook := ole2.invoke_obj(workbooks, 'Open', args);
    ole2.destroy_arglist(args);
    --Open worksheet Sheet1 of that Workbook
    args:= ole2.create_arglist;
    ole2.add_arg(args, 'Sheet1');
    worksheet := ole2.get_obj_property(workbook, 'Worksheets', args);
    ole2.destroy_arglist(args);
    args:= ole2.create_arglist;
    ole2.add_arg(args, Lv_n_rows);-- lv_n_rows value is 1
    ole2.add_arg(args, 1);
    cell:= ole2.get_obj_property(worksheet, 'Cells', args);
    ole2.destroy_arglist(args);
    cell_value :=ole2.get_char_property(cell, 'Value');
    Lv_v_Title:=cell_value;
    if Upper(Lv_v_Title) <> Upper(Lpk_Var.Lv_v_File_Name_Parameter) then
    Lpk_Alert.Lp_Show('File Title Should be '||Lpk_Var.Lv_v_File_Name_Parameter);
    OLE2.RELEASE_OBJ(cell);
    OLE2.INVOKE(workbook ,'Close');
    OLE2.RELEASE_OBJ(worksheet);
    OLE2.RELEASE_OBJ(workbook);
    OLE2.RELEASE_OBJ(workbooks);
    OLE2.INVOKE(application, 'Quit');
    OLE2.RELEASE_OBJ(application);*/
    end if;
    After this we open the excel , and modify and try to save , it just waits ...
    we are forced to close the form. and then only the excel file gets saved...
    we need to modify the file , when the form is running and then upload the data..
    since the objects are closed , we are unable to understand why the excel file is locked till the session
    Can any one help us
    SSR

    Hi,
    Running on Business Object Enterprise XI 3.1 FP1.5.

  • Excel files are locked since transfer from pc to mac

    I just transferred my excel files from pc to mac and now i can't open them, it says they are "locked for editing" by user (i did not lock them) i can only open as read only.  Is there a fix for this problem? Anyone else had this problem?

    Where are these files saved??
    Maybe this will help...
    I found this post on a different web site - http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macexcel/office-files -locked-for-editing-in-mixed/d838b0d7-6b26-4206-b310-029c73cf0ba6.
    This problem is caused by a temporary file that was not deleted after a previous edit session was completed. The file is hidden and not normally visible through the Finder. The easiest way to view hidden files is to install the hidden files dashboard widget which is available here:
    http://www.apple.com/downloads/dashboard/developer/hiddenfiles_matthansen.html.
    Use the widget to show hidden files then use Finder to open the folder that contains the spreadsheet you wish to edit. If your spreadsheet is named abc.xlsx, you will also see a file named ~$abc.xlsx. Delete the file that begins with ~$ and you will be good to go.

  • Problem in Uploading excel file using WebDynpro for Java

    Hi  All
    I have followed for Uploading excel file using WebDynpro for Java added by  Tulasi Palnati
    I done all, but I'm getting 500 Exception please contact u r system admin meag  at run time also  Jxl/Workbook class not found msag  but i downloaded Jxl.jar file and  there is no error signals  in coding part. How can I solve the Problem.
    Thanks
    Polaka

    Please ask the people in the Web Dynpro Java forum for a solution.

  • NWDI - Track locked for editing in another session

    While editing Track Data in the CMS Landscape Configurator my browser session died unexpectedly.  I logged back in, but now when I try to enter Change mode on the Track Data tab, I get a message saying the "Track is locked for editing by (me) in another session".  How do I unlock the track?  I have searched Help documents, SAP Notes, and this forum but have not found any details.
    Version is NetWeaver 2004s SP13
    Edited by: Ray Erdelyan on Jan 14, 2008 8:08 PM
    A co-worker helped me figure it out.  We went to the visual administrator and killed the session.  That released the lock.
    Edited by: Ray Erdelyan on Jan 14, 2008 8:35 PM

    Hi,
    Usually the browser session will get unlocked on its own after some particular time. Incase this is not so in your case, a restart of the CMS server might help.
    Akshatha

  • Question for Shane about Excel file

    Hi Shane,
    I was reading one of your blogs, and you mentioned that larry jordan has an excel file for timecode? Can you please give me the link where I can find that? I couldn't find it on his site.
    Thanks...

    Don't worry, I found it on his site, under Goodies...
    Thanks though !

  • Attach an Excel File with Email for External Email Address

    Hi,
    I want to send an excel file to an external email address as an attachement.
    I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 for sending the email.
    But as far as I know we can only create and send the excel file in this FM. e.g. we can put the text manually and name the file as excel and add it as packing list and send the document.
    Now, my client has a template in excel/word which he wants to send as an attachment always when he sends the mail. I have below Queries:
    1. Where and how do i store the template which is in Excel or word? He doesnt want to upload the template each time he runs the report. Can I save the file on AL11? how do i insert the file in this?
    2. I have tried standard texts, but his template contains a logo. So, I am not sure if that would work. Can I send the template in Binary and just aapend the file extension? xls or doc? would that do?

    Hi,
    See if you can matintain the required templates in document management and use them in your reports.
    Try the link below for reference.
    [Document Management|http://wiki.sdn.sap.com/wiki/display/PLM/Templates-Document+Management]]
    Regards,
    Booma

  • Excel File Activity.XLS for P6 - Where to find.

    I'm looking for the Excel File Activity.XLS which can be used in import Activity Data from Excel to P6. My searches have come up with nothing - ive used the code Solution ID: prim4617
    And I do have a maintenance agreement - just looking for a quick download.
    Cheers for any pointers.

    AMA wrote:
    If you have a maintenance agreement, you can contact Oracle support. They should be able to point you to the solution ID in the Knowledgebase. In any case, the solution ID is 893887.1. Good luck!AMA, I believe the solution you quoted above is for the P3.1 files. For P6 see "How To Import And Export Project Management Activity Data To Excel [ID 903308.1]".

  • Parse Excel File via PowerShell for a loop

    Hello everyone,
    I would like to parse a column of one of my Excel file to retrieve the string that each of its cell can contain.
    This will be used to set the appropriate value of the UPN of users in a specific OU in Active Directory.
    The first column being the SAMAccountName and the second column the email address, I would like a loop that for each match of SAMAccountName it finds in the first column, it sets the value of associated row in the second column as its UPN.
    I know already the Active Directory cmdlets I would have to use, they works but I do not succeed retrieving data  like I would like from the Excel file.
    If someone could help me out on this that will be appreciated :)
    Thanks a lot.

    Hi,
    This might help:
    http://gallery.technet.microsoft.com/scriptcenter/7b2fdc8f-a528-4f19-b9ef-f5af349dc906
    I haven't used this module myself, so I'm not sure how well it works.
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • How to store an Excel file in InfoPath for users to edit

    Hello,
    I need an example on how to store an Excel file within InfoPath 2010 so that every time a user opens the InfoPath form they can make changes and can save as part of the form. The next user opens the form and another Excel files (blank) where they make changes and
    saves. Thanks

    Streamlining this would require a bit of custom work I imagine. However if you don't mind giving the users some extra clicks, there are probably a few ways to get the job done.
    You could upload the excel file to SharePoint, make sure it's read-only and link to it within the InfoPath form. Then the process would be that users open the InfoPath form, fill it out, download the excel doc to their desktops and fill it out, and then
    attach it to the IP form.
    Or you could set up a separate, sister library where the New Item defaults to your Excel template. Then from within the InfoPath form you could have a hyperlink that creates the new item, saving it to the library. The caveat here is finding a way to link
    to the two items together with a unique identifier. The benefit though is being able to browse and interact with Excel docs independent of the forms they are attached to, if necessary.

  • How do I save excel file with password for read only access ?

    Hi
    I am trying to save an excel file with a password to make it read only when opened
    using OLE2 . I am having a problem with the parameter list. This is my code that does
    work.
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\Reports\Excel\File.xls');
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 'TEST');
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 1);
    I also have the following code at the beginning of the program to suppress dialogs.
         OLE2.SET_PROPERTY(application,'DisplayAlerts', 'FALSE');
         ole2.set_property(application,'Visible', 'false');

    Hope it help.
         -- Begin : Protect your worksheet
         args := OLE2.CREATE_ARGLIST;
         OLE2.ADD_ARG(args,yourpassword); -- choose your password
         OLE2.INVOKE(worksheet, 'Protect', args);
         OLE2.DESTROY_ARGLIST(args);
         -- End : Protect your worksheet
         -- Begin : Save and close worksheet
         OLE2.INVOKE(workbook, 'Save');
         OLE2.INVOKE(workbook, 'Close');
         -- END : Save and close worksheet

  • Open Illustrator template file (open original) for editing?

    I know InDesign has an "Open Original" option in the file open dialog box so you can open and edit an indesign template, but I don't see an equivalent in Illustrator.
    how would i open the original AIT file so i can make changes straight to it withouth having to resave a new file?

    Thanks for submitting this thread--I've been wondering the same thing.
    Has anything changed at all in the three years since?  I have about 600 templates to which I need to make a number of small edits, and it would save a lot of time to avoid navigating to the original template to save over it.
    Thanks!

  • File is locked, not editable

    I am not able to edit an existing .rtf file after upgrading to Yosemite. It says the file is locked, and when I click on the "save anyway", it warns me that I don't have the permission. I am the administrator on my iMac, and I have read&write permissions on this existing file. The Get Info does not indicate that it is locked, and it also indicates that I have read&write permissions.
    How do I make the file editable again? I was able to edit the file before upgrading to Yosemite.
    Do I have to be concerned about all my files not being editable now with the Yosemite !?
    thanks,
    Al

    Reinstalling does not help if you have problems with user permissions.
    Open Terminal.app
    Post output of:
    ls -lA ~/ 
    ls -lA ~/Library
    Or if you want to reset permissions without knowing if something is wrong:
    chown -R YOUR_SHORT_NAME ~/

  • IPhoto some photo's in my album seem to be locked for editing, how can I unlock them

    I'm quite new to using iPhoto. Now I have created several albums that I would like to have printed. However, some photo's in these albums need some editting. Normally I click the photo (in the album) and the editing tools show up.
    With some of the photo's in the albums this doesn't work. Can anyone tell me how to these "locked" photo's can be "unlocked"?
    Thanks!

    What do you see when you click on the Edit button?  What makes you think the file is locked?
    OT

  • How do I get DVD files into FCP for editing?

    I have three DVD's that I need to get access to for editing purposes. The DVD's open and play in DVD player with no problem, but how can I import it into FCP? The files in the DVD's folder are "BUP," "IFO," and "VOB" files -- what do I do to get them into a format I can edit?
    Thank you so much!

    Oh...wait..I forgot.
    #7 DVD into FCP
    Shane's Stock Answer #7:
    To start, I will state that trying to capture any DVD you bought or rented, be it a Hollywood movie or exersize video, is illegal. I will not give you any tips on how to bypass copy protection. It is there for a reason.
    To capture footage from a DVD, you have a couple options.
    1) Route the DVD player to your DV camera or deck via the RCA cabling. Then you can put the footage you want ontp DV tape and have the benefit of timecode in case the need to recapture comes up.
    2) You can get a great application called DVDxDV (Google it). This opens up the DVD and allows you to convert the video to DV/NTSC footage. And it allows you to only convert what you want by allowing you to mark in and out points. The free version puts a big watermark across the center of your footage, but if you pay $25 for the standard version, that goes away.
    Or you can use Mac the Ripper or Mpeg Stream clip. These are free.
    For this, and other exciting stock answers, click on this link:
    Shane Ross, "Stock Answers", 03:58pm Jan 13, 2005 CDT

Maybe you are looking for

  • Trouble accessing the internet on a WRT54G wireless router

    I've run into a problem setting up a wireless network at my friends' house. The problem is accessing the internet from the wireless PC that has a WMP11 Wireless PCI Card to a WRT54G wireless router. The wireless PC is running Windows XP and it sees a

  • Oracle 8i Installataion

    Hi all, I am novice in this field of Oracle. I am facing some problem after the installtion of Oracle 8i database. The database was configured nicely. The problem is when I start Oracle Managment Server it asks for the username and password. Here I a

  • JES2005 Q1 Administration server can't find messaging server.

    When I launch the console, I can see the messaging server, but can't open it. When I check the administration server log files, I got a "admin40_task_access_eval(): unable to find registered server (msg-config) " error message. Where's the administra

  • Filter on LR5 only?

    Could we please have a filter to limit the stuff shown to just LR5 please. I realise people with older versions have problems, but I don't want to read them. Thanks,  Bob Frost

  • Why has my subscription to keep my skype telephone...

    skype wrote to me the other day saying that my phone number was due for renewal. I have bought this number every year as part of my Skype world subscription.  So I thought OK I'll pay for it and sort out later.  Now Skype has refunded the payment and