MS Access problem with C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IainAXA
    New Member
    • Oct 2007
    • 1

    #1

    MS Access problem with C#

    Hi

    I am having problems connecting to a MS Access Db from C#. If the app and Db sit on the same drive then there is no problem, however if I move the Db to a seperate network drive I get the following exception when trying to connect.

    {"The Microsoft Jet database engine cannot open the file 'Y:\\Work\\Data Base\\Db_Dev_01 '. It is already opened exclusively by another user, or you need permission to view its data."}

    The Db does not appear to be opened exclusively by another user, can anyone help me resolve the possible permission issue ?
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #2
    Hi,

    I am not sure but the issue must be related to workgroup information file.
    See if this article helps you

    Article

    Originally posted by IainAXA
    Hi

    I am having problems connecting to a MS Access Db from C#. If the app and Db sit on the same drive then there is no problem, however if I move the Db to a seperate network drive I get the following exception when trying to connect.

    {"The Microsoft Jet database engine cannot open the file 'Y:\\Work\\Data Base\\Db_Dev_01 '. It is already opened exclusively by another user, or you need permission to view its data."}

    The Db does not appear to be opened exclusively by another user, can anyone help me resolve the possible permission issue ?

    Comment

    Working...