Unable to print data present in the DataGridView Connectivity

Asked By 0 points N/A Posted on -
qa-featured

Hi,

I need help from the experts since I am a newbie in c#.net programming. I am running visual studio 2010. My OS is windows vista. The problem is that I can’t print data present in the DataGridView Connectivity. I have tried my best to fix it, but I was unable to find the actual problem. It worked fine before, but I have no idea what happened now? You can see a screenshot of the error below.

microsoftjet.OLEDB.4.0

 

Error
 
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local
machine.
                                                                              OK

Any help will be greatly appreciated.

Thanks.

SHARE
Best Answer by Julinee James
Best Answer
Best Answer
Answered By 10 points N/A #130500

Unable to print data present in the DataGridView Connectivity

qa-featured

Hi,

It is clear from the error message that you do not have the Microsoft Jet OLEDB 4.0 on your system. To use Visual studio 2010 you need to install Jet OLEDB 4.0 on your computer. Follow the steps below:

1. Download the version 4.0 of Microsoft Jet and save it on your desktop. Now, run the setup file and install it on your computer.

2. Make sure that you are logged in with the account that has the administrator rights. To install Jet OLEDB you need the administrator rights.

3. After installation, restart your computer.

4. Also make sure that you have the .NET framework 3.5 installed on your computer. You need to have this version to sun Visual Studio 2010.

Hope this information helps you.

Answered By 5 points N/A #130501

Unable to print data present in the DataGridView Connectivity

qa-featured

You can try few things:

  1. Right click on the project from visual studio IDE and select properties and go to the build tab.
  2. Change the platform target from AnyCPU to x86.
  3. Rebuild the solution and try again.

Another reason could be you might not have the latest Microsoft.Jet.OLEDB.4.0 on your computer. I recommend you to obtain the latest service pack for Microsoft jet 4.0 from the below link

https://support.microsoft.com/en-us/help/239114/how-to-obtain-the-latest-service-pack-for-the-microsoft-jet-4-0-databa

Related Questions