G
Guest
Hi all,
I have an Access database and try to create a connection to it using the
Server.MapPath method. I have the app lib in c:\inetprub\wwwroot\apps\myApp
and the database in c:\inetpub\dbq\myDB.
Using Server.MapPath("../../../dbq/myDB") should as I understand it take me
to the myDB lib. But instead I get an error message saying
"Cannot use a leading .. to exit above the top directory."
This worked very good in traditional asp.
Any ideas?
TIA
Kenneth P
I have an Access database and try to create a connection to it using the
Server.MapPath method. I have the app lib in c:\inetprub\wwwroot\apps\myApp
and the database in c:\inetpub\dbq\myDB.
Using Server.MapPath("../../../dbq/myDB") should as I understand it take me
to the myDB lib. But instead I get an error message saying
"Cannot use a leading .. to exit above the top directory."
This worked very good in traditional asp.
Any ideas?
TIA
Kenneth P