Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Map data base with URL


Message #1 by "Daniel Walker" <danielw@w...> on Thu, 18 May 2000 17:27:32
-----Original Message-----

From: Edy [mailto:edy@t...]

Sent: Tuesday, May 16, 2000 6:31 AM

Subject: Map data base with URL





Dear sir, 



Hi, I need Your help for my trouble 



 I have two url http://192.168.100.8 and http://192.168.100.5 



 I have Data base in ms access for example test.mdb  in 

http://192.168.100.5



I have asp for example test.asp program to link that data base in 

http://192.168.100.8



How I can map http://192.168.100.5/test.mdb with program asp 



conn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & 

Server.MapUrl("Http://192.168.100.5/wap/taxi.mdb") & ";"

Message #2 by "Ken Schaefer" <ken.s@a...> on Fri, 19 May 2000 11:12:43 +1000
>  I have two url http://192.168.100.8 and http://192.168.100.5

>

>  I have Data base in ms access for example test.mdb  in

> http://192.168.100.5

>

> I have asp for example test.asp program to link that data base in

> http://192.168.100.8

>

> How I can map http://192.168.100.5/test.mdb with program asp

>

> conn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" &

> Server.MapUrl("Http://192.168.100.5/wap/taxi.mdb") & ";"



I don't think this will work...there is no Server.MapURL, and

Server.Mappath() only works for the local file system. You'll need to map a

drive letter to share on the remote system, and then use Server.MapPath() on

that drive...



Cheers

Ken




  Return to Index