data access error with access 97 (jet)

Discussion in 'ASP .Net' started by david, Nov 21, 2003.

  1. david

    david Guest

    i am having trouble with accessing the access database
    using the oledb Jet drivers in the visual studio .net
    environment. when i try to open the connection i recieve
    the error message which says that the records cannot be
    locked. i have listed the message as follows:

    Exception Details: System.Data.OleDb.OleDbException:
    Could not lock file.


    i am pretty new to Asp.Net so any help would be
    appreciated.
     
    david, Nov 21, 2003
    #1
    1. Advertising

  2. Check that the ASPNET and IUSR_<machinename> accounts have sufficient
    privileges to allow the writing of the Access lock (.ldb) file.

    PRB: Cannot Connect to Access Database from ASP.NET

    http://support.microsoft.com/default.aspx?scid=kb;en-us;316675

    "david" <> wrote in message
    news:061901c3afef$6ea30d90$...
    > i am having trouble with accessing the access database
    > using the oledb Jet drivers in the visual studio .net
    > environment. when i try to open the connection i recieve
    > the error message which says that the records cannot be
    > locked. i have listed the message as follows:
    >
    > Exception Details: System.Data.OleDb.OleDbException:
    > Could not lock file.
    >
    >
    > i am pretty new to Asp.Net so any help would be
    > appreciated.
     
    Ken Cox [Microsoft MVP], Nov 22, 2003
    #2
    1. Advertising

  3. "Ken Cox [Microsoft MVP]" <> wrote in message
    news:...
     
    Ken Cox [Microsoft MVP], Nov 24, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U29ueWE=?=

    Jet database access problem from web service

    =?Utf-8?B?U29ueWE=?=, Oct 12, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    625
    =?Utf-8?B?U29ueWE=?=
    Oct 13, 2004
  2. Burton Roberts

    Error opening connection to Access (Jet) DB

    Burton Roberts, Feb 8, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    680
    Patrick Olurotimi Ige
    Feb 8, 2005
  3. mamin
    Replies:
    1
    Views:
    3,458
    elcon
    Jul 28, 2010
  4. SÁRINGER Zoltán

    JET error in interdev debug only (DCOM error?)

    SÁRINGER Zoltán, Aug 30, 2004, in forum: ASP General
    Replies:
    7
    Views:
    207
    Jeff Dillon
    Sep 2, 2004
  5. Replies:
    2
    Views:
    161
Loading...

Share This Page