|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
REGDB_E_CLASSNOTREG(0x80040154)-Win98se client with: Windows.Net Application (framework 1.1) MDAC2.8 Jet 4.0 Service Pack 8 for Win98 and the following connection string: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\archive\db\app.MDB;User Id=admin;Password=;" When I try to open the connection: Dim conn As New OleDbConnection(ConnectionString) conn.Open() The following error occures: REGDB_E_CLASSNOTREG(0x80040154) It seems a class is nog registred? But what class?! Who can help me out on this?! What is the exception type being thrown? Do you have part of a call stack
that you can share? If OLE DB Services is not registered, an InvalidOperationException should have been thrown with the message of "The .Net Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later." If the provider was not registered, an InvalidOperationException should have been thrown with the message of "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine." with an inner OleDbException with the ErrrorCode = REGDB_E_CLASSNOTREG Is the Microsoft.Jet.OLEDB.4.0 provider registered? Here are some registry keys you can check HKEY_CLASSES_ROOT\Microsoft.Jet.OLEDB.4.0\CLSID with default value {dee35070-506b-11cf-b1aa-00aa00b8de95} HKEY_CLASSES_ROOT\CLSID\{dee35070-506b-11cf-b1aa-00aa00b8de95}\InprocServer32 with default value of something like C:\WINDOWS\system32\msjetoledb40.dll -- Show quoteHide quoteThis posting is provided "AS IS", with no warranties, and confers no rights. Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Ramon" <Ra***@discussions.microsoft.com> wrote in message news:37D77383-6196-4125-9FD1-B55F8D437A1F@microsoft.com... > I'm lost... This is the situation: > > -Win98se client with: > Windows.Net Application (framework 1.1) > MDAC2.8 > Jet 4.0 Service Pack 8 for Win98 > > and the following connection string: > > "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\archive\db\app.MDB;User > Id=admin;Password=;" > > When I try to open the connection: > Dim conn As New OleDbConnection(ConnectionString) > conn.Open() > > The following error occures: > REGDB_E_CLASSNOTREG(0x80040154) > > It seems a class is nog registred? But what class?! > > Who can help me out on this?!
Other interesting topics
Bulk Insert Via SQLCommand?
GetChildRows - Finding Deleted ChildRows ? DBnull, Date and DataAdapter Constraint violated but no exception thrown typed dataset and sort order on save Handling very huge data How to get a code of stored procedure ? Null returns from DataAdapter.Fill() Number of rows in dataset How Get Paramenter information in Stored Procedure (DataType,Null |
|||||||||||||||||||||||