Sep 13 2006

Configuration

Posted by admin under Old ASP applications

The distribution pollmentor.zip contains all you should need.
Sourcecode and Access database ( Access 97/2000 ).

Edit the file called incpollmentor.asp.

PollMentor_GetDatabaseConn()
Should return a valid database connection.  Example for Access

strDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Server.MapPath(".") & "\pm2002.mdb"

Example for SQL Server

 strDSN = "Provider=sqloledb;Data Source=(local);Initial Catalog=k1;User Id=sa;Password=stefan"

PollMentor_GetDatabaseType()
Should return "Access" or "SQLServer"

Admin pages: start with accessing admin_default.asp
default.asp is where you start otherwise.