CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Aug 2001
    Location
    New York, USA
    Posts
    169

    Exclamation Microsoft Jet Database Engine error

    Has anybody seen the error below?

    I'm working on a login screen with VB.NET Web Application. I need to get data from Test.mdb (an Access97 database located on the network) and check the login/password. Test.mdb is being used by another application also.

    Everytime, when the Web Form tries to fill a dataset (i.e. myDataAdapter.Fill(myDataSet, "tblLogin")), it just errors out with the error below.

    The Test.mdb is shared and "Everyone" has FULL CONTROL permission.

    What do I need to do to get rid of that error?

    Code:
     Server Error in '/Project1' Application.
    The Microsoft Jet database engine cannot open the file '\\Server1\C\Program Files\Test1\Test.mdb'. It is already opened exclusively by another user, or you need permission to view its data. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file '\\Server1\C\Program Files\Test1\Test.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
    NOTE: I tried to link just the login/password table on the local machine (where the Web Application is), and it still returned the same error message.
    Last edited by enigmaos; June 17th, 2002 at 09:28 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured