T
Tor Inge Rislaa
Can't connect to MS Access database
Hi I am trying to connect to an MS Access database but it keeps failing.
When I try connecting to a MS SQL database it works just fine.
My code is as follow:
Dim cnn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=Data Source=C:\data\mydb.mdb")
cnn.Open()
(User name on the DB is 'Admin' with blank password)
The error description appearing is:
An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.
Any Ideas
T.I Rislaa
Hi I am trying to connect to an MS Access database but it keeps failing.
When I try connecting to a MS SQL database it works just fine.
My code is as follow:
Dim cnn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=Data Source=C:\data\mydb.mdb")
cnn.Open()
(User name on the DB is 'Admin' with blank password)
The error description appearing is:
An unhandled exception of type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: The given path's format is not supported.
Any Ideas
T.I Rislaa