Click here to Skip to main content
15,885,141 members
Articles / Database Development
Tip/Trick

Problem with OLE Db Provider in Windows XP Media Center

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
22 May 2011CPOL 10.3K   1  
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)


Written By
Engineer Berex Technology Solutions / Núcleo IT
Argentina Argentina
I'm a software engineer speciallized in .NET. I'm also professor at Universidad de Palermo University in Buenos Aires, Argentina.
I have a blog called IT Training (www.ittraining.com.ar) where I post my daily work.

Comments and Discussions

 
-- There are no messages in this forum --