470,561 Members | 1,435 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,561 developers. It's quick & easy.

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

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 http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
0 3487

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Brent | last post: by
3 posts views Thread by Bill Short | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.