Answered by the Webhosting Experts

Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click now and chat with our highly skilled account managers. Learn about Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.

See the Hivelocity difference today!


Sample Database Connection Strings.

Sample Database Connection Strings

If you are planning on making a database call from the web the first thing you will need to do is plan on making a “Database Connection”. Here

are some sample database connection strings to help you get started.
OLE DB Method for SQL
set cnn = server.createobject(“ADODB.Connection”) “PROVIDER=SQLOLEDB;DATA SOURCE=sqlservername;UID=username;PWD=password;DATABASE=databasename “

DSN Less connection for Access
set cnn = server.createobject(“ADODB.Connection”) “DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\anydatabase.mdb”

OLE DB Method for Access
set cnn = server.createobject(“ADODB.Connection”) “PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=c:\anydatabase.mdb”

File DSN Connection Method for Access
<% set cnn = server.createobject(“ADODB.Connection”) “FILEDSN=AccessDSN”



Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.