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

ObjConn.Open WHERE? 1

Status
Not open for further replies.

A1Pat

IS-IT--Management
Jun 7, 2004
454
US
Hi all,

I'm helping my brother creating a small online Access database and integrating it into his free ASP hosting server. The problem is that I don't know exactly the whole directory so I do this:
Code:
	set objConn = server.createobject("adodb.connection")
	objConn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("WebService/database/store.mdb")
but no luck!!!

So, is there a way to do this link... or I will have to tell him to ask his server provider for the address?

thanks!
 
You might need another slash in there... Try a list test page like this to see how it looks:[tt]
<%
Response.Write Server.MapPath & WebService/database/store.mdb
Response.End
%>[/tt]
 
Thank you Sheco!!!

I now can see the whole directory.... thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top