Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Can't Open Database File


Message #1 by "Todd Schuman" <todd_schuman@h...> on Thu, 31 Oct 2002 21:37:02
I am working in Windows 2000 with admin access and creating ASP code to 
pull info from an Access 2000 DB.  I was able to access the DB fine for a 
while but now for some reason I can not.  I keep getting the following 
error message:

Microsoft JET Database Engine (0x80004005)
The Microsoft Jet database engine cannot open the 
file 'C:\inetpub\wwwroot\Joyce\Milestones.mdb'. It is already opened 
exclusively by another user, or you need permission to view its data.

The path is correct and it was working before.  Here is my connection 
string:

Dim connStr
connStr ="Provider=Microsoft.Jet.OLEDB.4.0;Data 
Source=C:\inetpub\wwwroot\Joyce\Milestones.mdb;"

'Establish Connection
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open connStr

Anyone ever run into this problem.  I cant seem to figure it out.

Thanks,
Todd

  Return to Index