By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,819 Members | 1,459 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,819 IT Pros & Developers. It's quick & easy.

Could not find file 'C:\WINDOWS\system32\dbo.mdb'.

P: n/a
I get this error when trying to connect to my database. I have
reinstalled the JET 4.0 drivers and updates but it persists. Any ideas?

Could not find file 'C:\WINDOWS\system32\dbo.mdb'.
Microsoft JET Database Engine

My connection string :

Source=C:\inetpub\wwwroot\mydetails\database\datab ase.mdb;

The database is Access 2000
Other details :
(C# file)
string myConnString = ConfigurationSettings.AppSettings["dsn"];
string mySelectQuery = "SELECT UserName FROM tblSubscriberAdmin WHERE
UserName = '" + strUserName + "'";
outSelect.InnerText = mySelectQuery;
OleDbConnection myConnection = new OleDbConnection(myConnString);
OleDbCommand myCommand = new OleDbCommand(mySelectQuery,myConnection);
OleDbDataReader myReader;
myReader = myCommand.ExecuteReader();

<add key="dsn" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\inetpub\wwwroot\mydetails\database\MyDet ails.mdb;"/>

The way of the goat is many.

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.