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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error opening MS Access from ASP

Status
Not open for further replies.

vituja

Programmer
Oct 1, 2003
30
US
Hi,

Any idea of what may be causing this other than the obvious. The file is not opened by anyone.

Microsoft JET Database Engine error '80004005'

The Microsoft Jet database engine cannot open the file '\\cu-master\depts\IT\Common\Helpstar\HSW.MDB'. It is already opened exclusively by another user, or you need permission to view its data.

/FogBUGZ/FogBugzDailyUploadFromHelpStar/ClosedHistoryUpload.asp, line 21


Here is the Code I use:

dim connectionstring, rs, db, Querystring
connectionstring = "provider=microsoft.jet.oledb.4.0;data source=\\cu-master\depts\IT\Common\Helpstar\HSW.MDB;persist security info=false"
Querystring = "AllHistoryReqForAppDev"


ANY HELP WOULD BE GREATLY APPRECIATED. THANKS.
set db = Server.CreateObject("ADODB.Connection")
db.Open connectionstring
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open Querystring, db, 3, 3
 
Check this article by
[tt]

buffalo.gif height="65px" width="38px"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top