I have the following connection string (cn.asp) [this string is inside admin folder
---------------------------------------
<%
' Connection Strings
dim Conn
' Add full path of database with filename here
cnProvider = "Provider=Microsoft.JET.OLEDB.4.0;"
cnDataSource = "Data Source =../database/Prices.mdb"
Conn = cnProvider & cnDataSource
%>
------------------------------------
the problem is when i did upload the file on the web server the connection to the database is not working, maybe the path is wrong??!!!
i have the following folders:
- admin (folder) (which the connection string cn.asp is inside)
- database (folder) (Prices.mdb is insided)
- default.asp with <!--#Include file="admin/cn.asp"-->
- search.asp with <!--#Include file="admin/cn.asp"-->
Please help me
Regards,
Breemo