I receive an error like this:
Server.MapPath( ) error 'ASP 0172 : 80004005'
Invalid Path
/conn.asp, line 2
The Path parameter for the MapPath method must be a virtual path. A physical
path was used.
the conn.asp code :
<%
cst = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
Server.MapPath( "Z:\AccessDB\ac cess.mdb")
set conn = CreateObject("A DODB.Connection ")
conn.open cst
%>
Do I need to locate the mdb file inside the wwwroot? how about enable web
sharing on the Z:\AccessDB, is this required even though I set change
permission on IUSR account?
Server.MapPath( ) error 'ASP 0172 : 80004005'
Invalid Path
/conn.asp, line 2
The Path parameter for the MapPath method must be a virtual path. A physical
path was used.
the conn.asp code :
<%
cst = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & _
Server.MapPath( "Z:\AccessDB\ac cess.mdb")
set conn = CreateObject("A DODB.Connection ")
conn.open cst
%>
Do I need to locate the mdb file inside the wwwroot? how about enable web
sharing on the Z:\AccessDB, is this required even though I set change
permission on IUSR account?
Comment