DB Path problem
I've a file structure something like:
Main folder is "Web". In the "WEB" folder some asp file resides.
another folder named "Admin" also reside in the "WEB" folder. My DB
resides in the DB folder that is outside of the "WEB" folder and on the
same root where "WEB" folder is.
I have a file named Connect.asp which contains the path for DB. I have
included this file in both user files (which are simply in web folder)
and in the administrator files. But when the admin tries to log-in the
file didn't read the appropriate path as it finds the DB in the WEB
folder. But it works fine when i communicate with the DB through user
I have used Server.MapPath(). What should i do to correct this problem.