Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

DSNless connection

Posted 24 Apr 2002 23:29:16
1
has voted
24 Apr 2002 23:29:16 Tony Chronopoulos posted:
Hello everyone..

I've been trying to connect my site to my database ALL DAY! <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle> eheh.. and I finally got something cooking!

I used the following code to find out the full path:

&lt;%LANGUAGE="VBSCRIPT"%&gt;
&lt;%=Server.MapPath("partenaire.mdb"%&gt;

----------------
The path of www.vet-planet.com/partenaire is:
D:\Inetpub\wwwroot\vet-planet\partenaire\partenaire.mdb

I made the adjustment to the Connection file and I got it to work. (Emplois & entreprise section)


BUT

when I tried to find out the path of our other site (www.microdesign2.com/partenaire) the path is:
/home/sites/site167/web/partenaire/partenaire.mdb

I can't get it to work. Anybody have any ideas? I hope you were able to understand what the hell I wrote.. hehe.. the brain is going and I don't know if the fingers caught up! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>


Thanks



Reply to this topic