Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / database

Problem with OLE Db Provider in Windows XP Media Center

5.00/5 (1 vote)
22 May 2011CPOL 10.5K  
Cannot open Microsoft Access database -> Exception message unknown
Today I had a very strange problem with a .NET application that accesses a Microsoft Access database using OleDb Provider. The exception message was "unknown", so I was really confused. :)

I wasn't aware that the problem was related to database access until I tried to open a Microsoft Access database using Windows.

Well, after this introduction, let's see the solution:

Start->Run
regsvr32.exe C:\WINDOWS\system32\msjtes40.dll

This registers a Microsoft Access DLL in Windows Registry.

This problem occurred in Windows XP Media Center SP3 but I'm not sure if this problem is only related to this particular operating system.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)