Click here to Skip to main content
15,922,007 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody,

I'm a newbie and really need help in what i am working on right now.
I've made a database for our community and now up to load the codes. the trouble is I keep on receiving this "An unhandled exception of type 'System.InvalidOperationException' occurred in System.Data.dll

Additional information: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. error report.

by the way here's the codes of what i am working on right now:



VB
Public Class Form1
    Private Sub MASTERLISTBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs)
        Me.Validate()
        Me.MASTERLISTBindingSource.EndEdit()
        Me.MASTERLISTTableAdapterManager.UpdateAll(Me.BSI_Employee_DatabaseDataSet)

    End Sub

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'BSI_Employee_DatabaseDataSet.MASTERLIST' table. You can move, or remove it, as needed.
        Me.MASTERLISTTableAdapter.Fill(Me.BSI_Employee_DatabaseDataSet.MASTERLIST)

    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.MASTERLISTBindingSource.AddNew()

    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        Try
            Me.Validate()
            Me.MASTERLISTBindingSource.EndEdit()
            Me.MASTERLISTTableAdapterManager.UpdateAll(Me.BSI_Employee_DatabaseDataSet)
            MsgBox("saved")
        Catch ex As Exception
            MsgBox(ex.Message)


        End Try




    End Sub

    Private Sub ADDRESSTextBox_TextChanged(sender As Object, e As EventArgs) Handles ADDRESSTextBox.TextChanged

    End Sub

    Private Sub PHOTOPictureBox_Click(sender As Object, e As EventArgs) Handles PHOTOPictureBox.Click
        BSI_Employee_DatabaseDataSet.showimage
    End Sub
End Class


I really really hope that at least one of you guys would help me out. I don't have any coding background and i really appreciate any help from you.

Another thing is if there is a place or a site (free only please) where I could study coding and understand coding clearly as a language and not just following tutorials of input this and input that.

Many thanks in advance. God bless you all!

Carlos
Posted
Updated 18-Oct-15 12:44pm
v2
Comments
PIEBALDconsult 18-Oct-15 18:47pm    
The ACE engine provides connectivity to Access and Excel files -- neither of which you should be using.
ACE installs with Office, so you should have it if you have Office.
If you don't have Office installed (on a server perhaps) then you can install ACE separately.
Furthermore, it could be that you have the wrong version (32-bit , 64-bit) installed and need to install the other or rework your application to use the one you have.
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Carlos Arce 18-Oct-15 19:04pm    
Thank you very much. I will check it

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900