ChainsawJoe
Programmer
Greetings all!
I'm having some issues just connecting to an Access 2k db in .NET using C#.
Using this deeaaddd basic code (that's probably TOTALLY flawed)
(where
is the location of the DB)
When I attempt to
it I get this error:
Apparantly this is caused by superfluous junk in the connection string - but I can't cut it down any more than it already is!! On that topic - can I still chuck in "PWD=blahblah;" at the end (I thought that's what was killing it initially, but removing it didn't change any errors...)?
PLEASE - what's causing this damned error?! All I want to do is connect to an Access 2k db and do the simplest of queries! aarrrrgghhh!!!
thanksbye!
ps - merry new year!
--------------------------------------------------
- better than toast.
Penguins - better than --------------------------------------------------
I'm having some issues just connecting to an Access 2k db in .NET using C#.
Using this deeaaddd basic code (that's probably TOTALLY flawed)
Code:
protected OleDbConnection oCon = new OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;DataSource="+ sDBLocation + ";");
Code:
sDBlocation
When I attempt to
Code:
Open()
Code:
Connection Failed: System.Data.OleDb.OleDbException: Could not find installable ISAM
Apparantly this is caused by superfluous junk in the connection string - but I can't cut it down any more than it already is!! On that topic - can I still chuck in "PWD=blahblah;" at the end (I thought that's what was killing it initially, but removing it didn't change any errors...)?
PLEASE - what's causing this damned error?! All I want to do is connect to an Access 2k db and do the simplest of queries! aarrrrgghhh!!!
thanksbye!
ps - merry new year!
--------------------------------------------------
- better than toast.
Penguins - better than --------------------------------------------------