Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Accessing Access Database 2

Status
Not open for further replies.

dlingo

Programmer
Nov 19, 2001
60
US
I'm working on a project in ASP that allows user input on the front-end, takes the users input, and inputs it into a database on the back-end. However, I'm getting errors when accessing the database. The database was created in Access 95 and is located on the server machine.

The error message I get:
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened
exclusively by another user, or you need permission to view its data.
/TroubleTicket/SubmitTroubleTicket.asp, line 4

The code associated with this error message:
<%
strConnect = &quot;Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Inetpub\ &quot;
set conn = server.CreateObject(&quot;ADODB.Connection&quot;)
conn.open strConnect
%>

I've set permissions to full-control for all users and the database is not opened anywhere else.

Please advise.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top