Microsoft.Jet.OLEDB.4.0 not registered

T

Totto

Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider is not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English version, but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 
T

Totto

Hi,
I have downloaded and installed 'Jet 4.0 Service Pack 8', but still the same
error message.
The msjet4.0 is installed in system folder, and is ver. 4.0.8015.0
Any suggestions ?
TNX

Miha Markic said:
Hi Totto,

Yes, Jet is not a part of MDAC anymore.
See this link to download it:
http://support.microsoft.com/?kbid=829558

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider is not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English version, but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 
M

Miha Markic [MVP C#]

Hi Totto,

What are you doing to get the error?
I suppose you are trying to open a connection.
What is the connection string?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
Hi,
I have downloaded and installed 'Jet 4.0 Service Pack 8', but still the same
error message.
The msjet4.0 is installed in system folder, and is ver. 4.0.8015.0
Any suggestions ?
TNX

Miha Markic said:
Hi Totto,

Yes, Jet is not a part of MDAC anymore.
See this link to download it:
http://support.microsoft.com/?kbid=829558

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider is not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English version, but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 
T

Totto

The connection string is:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Prosjekter\3085 -
Vedlikeholdsystem\KeepUp\Database\Debug\KeepUp.mdb;User Id=;Password=;"

And the rest of the code:

Dim dbConn As New OleDb.OleDbConnection()
dbConn.ConnectionString = m_objRegistry.getConnectionString
If dbConn.State = ConnectionState.Closed Then dbConn.Open()
Dim strQuery As String = "SELECT RolleID, BrukerNavn FROM Brukere WHERE
Passord = '" & _
txtPassword.Text & "' AND BrukerNavn = '" & txtUserName.Text & "'"
Dim dbCommand As OleDb.OleDbCommand = New OleDbCommand(strQuery, dbConn)
Dim dbReader As OleDb.OleDbDataReader =
dbCommand.ExecuteReader(CommandBehavior.CloseConnection)
If dbReader.Read Then
Role = 100
Role = dbReader.GetInt32(dbReader.GetOrdinal("RolleID"))
end if

Miha Markic said:
Hi Totto,

What are you doing to get the error?
I suppose you are trying to open a connection.
What is the connection string?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
Hi,
I have downloaded and installed 'Jet 4.0 Service Pack 8', but still the same
error message.
The msjet4.0 is installed in system folder, and is ver. 4.0.8015.0
Any suggestions ?
TNX

Miha Markic said:
Hi Totto,

Yes, Jet is not a part of MDAC anymore.
See this link to download it:
http://support.microsoft.com/?kbid=829558

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider is not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English
version,
but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 
M

Miha Markic [MVP C#]

Check this thread:
http://tinyurl.com/3c7vf

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
The connection string is:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Prosjekter\3085 -
Vedlikeholdsystem\KeepUp\Database\Debug\KeepUp.mdb;User Id=;Password=;"

And the rest of the code:

Dim dbConn As New OleDb.OleDbConnection()
dbConn.ConnectionString = m_objRegistry.getConnectionString
If dbConn.State = ConnectionState.Closed Then dbConn.Open()
Dim strQuery As String = "SELECT RolleID, BrukerNavn FROM Brukere WHERE
Passord = '" & _
txtPassword.Text & "' AND BrukerNavn = '" & txtUserName.Text & "'"
Dim dbCommand As OleDb.OleDbCommand = New OleDbCommand(strQuery, dbConn)
Dim dbReader As OleDb.OleDbDataReader =
dbCommand.ExecuteReader(CommandBehavior.CloseConnection)
If dbReader.Read Then
Role = 100
Role = dbReader.GetInt32(dbReader.GetOrdinal("RolleID"))
end if

Miha Markic said:
Hi Totto,

What are you doing to get the error?
I suppose you are trying to open a connection.
What is the connection string?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
Hi,
I have downloaded and installed 'Jet 4.0 Service Pack 8', but still
the
same
error message.
The msjet4.0 is installed in system folder, and is ver. 4.0.8015.0
Any suggestions ?
TNX

"Miha Markic [MVP C#]" <miha at rthand com> skrev i melding
Hi Totto,

Yes, Jet is not a part of MDAC anymore.
See this link to download it:
http://support.microsoft.com/?kbid=829558

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider is not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first
installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English version,
but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 
T

Totto

Hi,
The link to CC.exe is not working. Do you know where I can find it ?
Miha Markic said:
Check this thread:
http://tinyurl.com/3c7vf

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
The connection string is:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Prosjekter\3085 -
Vedlikeholdsystem\KeepUp\Database\Debug\KeepUp.mdb;User Id=;Password=;"

And the rest of the code:

Dim dbConn As New OleDb.OleDbConnection()
dbConn.ConnectionString = m_objRegistry.getConnectionString
If dbConn.State = ConnectionState.Closed Then dbConn.Open()
Dim strQuery As String = "SELECT RolleID, BrukerNavn FROM Brukere WHERE
Passord = '" & _
txtPassword.Text & "' AND BrukerNavn = '" & txtUserName.Text & "'"
Dim dbCommand As OleDb.OleDbCommand = New OleDbCommand(strQuery, dbConn)
Dim dbReader As OleDb.OleDbDataReader =
dbCommand.ExecuteReader(CommandBehavior.CloseConnection)
If dbReader.Read Then
Role = 100
Role = dbReader.GetInt32(dbReader.GetOrdinal("RolleID"))
end if

Miha Markic said:
Hi Totto,

What are you doing to get the error?
I suppose you are trying to open a connection.
What is the connection string?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Hi,
I have downloaded and installed 'Jet 4.0 Service Pack 8', but still the
same
error message.
The msjet4.0 is installed in system folder, and is ver. 4.0.8015.0
Any suggestions ?
TNX

"Miha Markic [MVP C#]" <miha at rthand com> skrev i melding
Hi Totto,

Yes, Jet is not a part of MDAC anymore.
See this link to download it:
http://support.microsoft.com/?kbid=829558

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider is not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first
installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English version,
but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 
M

Miha Markic [MVP C#]

Hi,

Hope this works better:
INFO: Component Checker: Diagnose Problems and Reconfigure MDAC
Installations
http://tinyurl.com/388bm

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
Hi,
The link to CC.exe is not working. Do you know where I can find it ?
Miha Markic said:
Check this thread:
http://tinyurl.com/3c7vf

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Totto said:
The connection string is:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Prosjekter\3085 -
Vedlikeholdsystem\KeepUp\Database\Debug\KeepUp.mdb;User Id=;Password=;"

And the rest of the code:

Dim dbConn As New OleDb.OleDbConnection()
dbConn.ConnectionString = m_objRegistry.getConnectionString
If dbConn.State = ConnectionState.Closed Then dbConn.Open()
Dim strQuery As String = "SELECT RolleID, BrukerNavn FROM Brukere WHERE
Passord = '" & _
txtPassword.Text & "' AND BrukerNavn = '" & txtUserName.Text & "'"
Dim dbCommand As OleDb.OleDbCommand = New OleDbCommand(strQuery, dbConn)
Dim dbReader As OleDb.OleDbDataReader =
dbCommand.ExecuteReader(CommandBehavior.CloseConnection)
If dbReader.Read Then
Role = 100
Role = dbReader.GetInt32(dbReader.GetOrdinal("RolleID"))
end if

"Miha Markic [MVP C#]" <miha at rthand com> skrev i melding
Hi Totto,

What are you doing to get the error?
I suppose you are trying to open a connection.
What is the connection string?

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Hi,
I have downloaded and installed 'Jet 4.0 Service Pack 8', but
still
the
same
error message.
The msjet4.0 is installed in system folder, and is ver. 4.0.8015.0
Any suggestions ?
TNX

"Miha Markic [MVP C#]" <miha at rthand com> skrev i melding
Hi Totto,

Yes, Jet is not a part of MDAC anymore.
See this link to download it:
http://support.microsoft.com/?kbid=829558

--
Miha Markic [MVP C#] - RightHand .NET consulting & software
development
miha at rthand com
www.rthand.com

Hi,
I get the errormessage "The Microsoft.Jet.OLEDB.4.0 provider
is
not
registered on the local machine" trying to run a dot.net program.
I'm running Windows 2000, English version. By a mistake I first
installed
MDAC 2.8 Norwegian version. I then installed MDAC 2.8 English
version,
but
get the same error message. I have also tried MDAC 2.6 with no luck.
Any suggestions to correct this problem will be appreciated !
Tnx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top