
Open remote Access database in ASP code
Yes, "db" is a shared folder on machine A. BTW, how to
include the full path for a remote machine. I know for
local folder, I can use like:
-----------------------------------
str = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
SOURCE=C:\db\test.mdb"
-----------------------------------
and it works. Just don't know what's that for remote
machine.
Thanks for your reply,
Judy
Quote:
>-----Original Message-----
>is "db" a share on machine A? in the code that you have
it has to be,
>otherwise you need to specify the full path including the
drive.
>Alex
>> Hi, there:
>> I have a problem trying to open an Access database on
>> machine A from ASP code which runs on machine B.
>> Code like:
>> -----------------------------------
>> str = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
>> SOURCE=\\machineA\db\test.mdb"
>> set conn=Server.Createobject("adodb.connection")
>> conn.open str
>> -----------------------------------
>> does not work.
>> Does anybody know how to resolve such kind of case?
>> Thanks in advance!
>> Judy
>.