Classic ASP - How do I connect to my access database?

To connect from classic ASP to an access database, the following connection string is applicable:


Provider=Microsoft.ACE.OLEDB.12.0;Data Source=path_to_accessdatabase.accdb; Persist Security Info=False;


Notice!

We recommend that you place your database(s) in the data directory for security reasons, the default folder structure looks like this:


data --> Put database here

logs

wwwroot


The permissions are also set correctly by default on this directory.