467,894 Members | 1,446 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,894 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 :

Provider=Microsoft.Jet.OLEDB.4.0;Data
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);
myConnection.Open();
OleDbDataReader myReader;
myReader = myCommand.ExecuteReader();

(web.config)
...
<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
  • viewed: 3328
Share:

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
By using this site, you agree to our Privacy Policy and Terms of Use.