Ask a questionAsk a question
 

QuestionMicrosoft.Jet.oledb.4.0 Error in Vista 32bit

  • Sunday, November 08, 2009 5:20 AMbrat1577 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have an app which reads dbase files. The app works fine in XP, It runs fine on my Vista machine, 32 bit, Vista Home edition, On the client computer which is Vista Business, 32 bit the app crashes. I have Isolated the problem to the line when the command executes.

    Code :
    connection.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=.;Extended Properties=dBASE IV;";
    OleDbCommand command = new OleDbCommand("SELECT * FROM TestFile", connection);
    connection.Open();
    OleDbDataReader reader = command.ExecuteReader(); 

    The driver version of MSjet40.dll on my machine is 4.0.9704

    The driver version of MSjet40.dll on the client machine is 4.0.****(I don't remember now, different and greater than what i have)

    Any ideas.