473,473 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

data access error with access 97 (jet)

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.
Nov 18 '05 #1
2 1488
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...b;en-us;316675

"david" <li*@dodo.com.au> wrote in message
news:06****************************@phx.gbl...
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.

Nov 18 '05 #2

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:uj**************@TK2MSFTNGP09.phx.gbl...


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ivan | last post by:
Hi, SQL Server 2000 SP3 Windos 2000 Server SP4 I have a DTS package that imports data from a dBase IV databse with files located in two folders (dBF1 and dBF2). I use a transform data task...
32
by: Neil Ginsberg | last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC linked tables. I recently created a new set of tables for the app, and users are complaining that unsaved data is being...
1
by: Carlos Sol | last post by:
Good day I am having a problem developing a web application for an on line catalog. I am using ms access XP on an XP professional platfrom. I have been able to succesfully develop a web page to...
0
by: TheCoder | last post by:
I am making a D-base with web conectivity for my class project. I have everything working but the subit button sends the data to the correct fields but afterwards it wants to reproduce new blank...
4
by: authorking | last post by:
I use the following code to insert a data record in to a datatable of an access database.But every time I execute the command, there will rise an exception and the insert operation can't be...
0
by: Tom Wild | last post by:
Hi I am trying to connect to an Access database from a WebPage in VB.Net but when I try to open the connection I get the following error: The Microsoft Jet database engine cannot open the file...
3
by: Brian Foree | last post by:
I am developing an ASP.NET application that uses Access 2000 as its backend, and have just started getting the following error on 2 ASP.NET pages that had been working until late last week (and I...
4
by: Alex | last post by:
help. Deploying a .Net Application using ADO and MS Access (Jet 4.0) and MDAC 2.8. Get error: OleDbError .... Data type mismatch in criteria expression ... The application works fine in...
3
by: asemeiks | last post by:
I'm using Access 97, Jet 4.0. the data resides on a Win 2000 domain server. Using .Net 1.1 and IIS 5.0 on a local XPPro computer I am trying connect to a Jet database on the server. If the data...
9
by: a | last post by:
Dear friends I want import data from CSV file to mdb file How can I do that in vb.net?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.