Access DSN Connection String

M

madfisher

Hi,

I'm trying to set a conection string for my Access DB and I want to use
a DSN.

This is what I'm using:

this.oleDbConn.ConnectionString =
@"DSN=wedding;Uid=Admin;Pwd=;Provider=""Microsoft.Jet.OLEDB.4.0""";

However this is not working and I'm getting the following error.

System.Data.OleDb.OleDbException: Could not find installable ISAM.

Any help would be appreciated.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top