Connectionstring for MS Access 2013 on Windows server 2012 R2

Dear folks

I've just got myself a Windows Server 2012 R2 as web server. I come from a some old 2003 stuff. Now my problem is to get my connection for MS Access 2013 up and running.

I use the following connetionstring:

' Databaseforbindelse til de indkomne data fra den valgte base

Set Conn_lectio_data = Server.CreateObject("ADODB.Connection")

DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "

DSN = DSN & "DBQ=" & server.mappath("[somepath]/[someDB].mdb")

Conn_lectio_data.Open DSN

Any suggestions. Some other string or corrections for this one?

0 answers