[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Connection string for maxDB

Posted on 2004-11-19
1
Medium Priority
?
1,106 Views
Last Modified: 2008-02-01
Today, I am using MS Access database files but need to move to maxDB.
Can anyone provide connection string for maxDB 7.5. to replace the current one below ?
Thanks for your help.


        'Get the Database Path, to be used in DB Connection String
        Dim sDBPath As String = Request.MapPath(".") & "\db\bingo.mdb"

        'Define DB Connection String
        Dim sCnnString As String = "Provider=Microsoft.Jet.Oledb.4.0;" & _
                                   "Data Source=" & sDBPath

        'Populate Connection Object
        Dim conn As New OleDbConnection(sCnnString)
0
Comment
Question by:i003814
1 Comment
 
LVL 20

Accepted Solution

by:
ihenry earned 600 total points
ID: 12631838
You need ODCB.NET data provider with this connection string

Dim strConn As String = "DRIVER={MaxDB};SERVER=localhost;DATABASE=TEST;UID=DBA;PWD=DBA;"
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 14 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question