Access Error (Could not save; currently locked by another user.) RRS feed

  • Question


    Please i use visual C# application to open and update in access file in the first time the record updated successfully.,but in the second time this erro raised (

    Could not save; currently locked by another user.



    i use microsoft entrprise liberary but also this error raised when i switch to OLEDB Classes


    waht can i do

    Thursday, January 31, 2008 7:32 AM

All replies

  • Hello,


    Could you post your code, even in a simplified way ?

    It would be easier to understand what's happening.


    The cause might be coming that you have forgotten to close a connection or release a lock


    Which version of Access are you using ?

    Which version of C# are you using ( 2003,2005 or 2008 ) ?


    Have a nice day

    Thursday, January 31, 2008 8:52 AM

    i use Access 2003 and .NET 2005


    but i already close the connection but useless 

    Thursday, January 31, 2008 8:58 AM