local ACCESS db connection
From: JerryScott (JerryScott_at_discussions.microsoft.com)
Date: 09/29/04
- Next message: William \(Bill\) Vaughn: "Re: local ACCESS db connection"
- Previous message: James Armstrong: "Re: Calling SP from ADO and passing parameters"
- Next in thread: William \(Bill\) Vaughn: "Re: local ACCESS db connection"
- Reply: William \(Bill\) Vaughn: "Re: local ACCESS db connection"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 08:25:05 -0700
I posted this elsewhere but this seems to be more approapriate.
I have a webserver running 2000 Advanced Server and SQL 7 Server. These work
fine, but I need to connect to an ACCESS database on my desktop using an ASP
page. The path to the local database is: "C:\Program
Files\NEAT\Data\dbSPAM3000.mdb".
I put that in:
dbPath = "C:\Program Files\NEAT\data\dbSPAM3000.mdb"
Set cnl = Server.CreateObject("ADODB.Connection")
cnl.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath
but it tells me that path doesn't exist. I have added the "\\" to the front
of the path like we "used" to have to do for local paths, still doesn't work.
It seems it is opening that path on the Server, NOT on my local desktop.
This database was created with a Visual Basic application and works fine,
BUT, I need this functionallity from an ASP page on my webserver and NOT
having any luck.
Thanks.
- Next message: William \(Bill\) Vaughn: "Re: local ACCESS db connection"
- Previous message: James Armstrong: "Re: Calling SP from ADO and passing parameters"
- Next in thread: William \(Bill\) Vaughn: "Re: local ACCESS db connection"
- Reply: William \(Bill\) Vaughn: "Re: local ACCESS db connection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|