File: D:/web/homefly/vsadmin/db_conn_open.asp
<%
DIM sDSN
' For help setting your database connection, please go to the following URL
' http://www.ecommercetemplates.com/help/ecommplus/faq.asp#faq8
' These dashes at the beginning of the line mean that these lines are "comments" and are ignored.
'sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/fpdb/vsproducts.mdb") ' Microsoft Access 2000 using mapped path
' (SS,itp,1/6/06) modified following due to it being hacked, mdb now moved to data folder
sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\data\homefly\homefly.mdb;" ' Microsoft Access 2000 using mapped path
'sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\wwwroot\fpdb\vsproducts.mdb;" ' Microsoft Access 2000
' Please note, for SQL Server you must have an SQL Server database available. Most people will want to use the Access database provided.
'sDSN = "driver={SQL Server};server=SERVERNAME;uid=USERNAME;pwd=PASSWORD;database=DATABASENAME" ' SQL Server
%>