C
|
clig 2/18/2010 |
If someone has time, I am trying to understand the differences between these two connection strings: <% strConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("db\database.mdb") & ";Jet OLEDB:Database Password=" %> and... <% strConnection = "Driver={Microsoft Access Driver (.mdb, .accdb)};DBQ=" & Server.MapPath("db\database.mdb") & ";Uid=;Pwd=" %> . I can get my web page to work with the first connection string, but the second example always gives me an error. The build is done on machine running XP Pro SP3, the webpage is on Server 2003. Thank you in advance. |
![]() |
Sergey Kornilov admin 2/18/2010 |
Both are valid connection strings. The second one requires specific ODBC driver to be installed which is not the case on some web servers. |