473,799 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Class not registered, mdac and other problems

Hello,
I believe I didn't change anything on my machine but my web
applications, particularly pages accessing Microsoft Access DB,
suddenly refused to work.

I get this error:

----------------------------------------------------------

Server Error in '/tulumovic' Application.
Class not registered
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Runtime. InteropServices .COMException: Class
not registered

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x80040154): Class not registered]
System.Data.Com mon.UnsafeNativ eMethods.CoCrea teInstance(Guid rclsid,
IntPtr pUnkOuter, Int32 dwClsContext, Guid riid) +0
System.Data.Ole Db.OleDbConnect ion.CreateInsta nceDataLinks() +172
System.Data.Ole Db.OleDbConnect ion.CreateInsta nceMDAC() +93

[InvalidOperatio nException: 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.]
System.Data.Ole Db.OleDbConnect ion.CreateInsta nceMDAC() +127
System.Data.Ole Db.OleDbConnect ion.GetObjectPo ol() +177

System.Data.Ole Db.OleDbConnect ion.CreateProvi der(OleDbConnec tionString
constr) +13
System.Data.Ole Db.OleDbConnect ion.Open() +203
tulumovic.kuhin ja.najRecept() +77
tulumovic.kuhin ja.Page_Init(Ob ject sender, EventArgs e) +56
System.Web.UI.C ontrol.OnInit(E ventArgs e) +67
System.Web.UI.C ontrol.InitRecu rsive(Control namingContainer ) +241
System.Web.UI.P age.ProcessRequ estMain() +174
Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
ASP.NET Version:1.1.432 2.573
----------------------------------------------------------

Please note line saying:
[InvalidOperatio nException: 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.]

I installed mdac sdk 2.8, but it didn't solve my problem. What else
could I try ?

Jan 19 '06 #1
0 1516

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3999
by: Zach Gastineau | last post by:
I'm having problems using the DB2 Connect ODBC Driver in my SQL Server 2000 DTS packages. It started occuring after installing MDAC 2.7 (which is necessary for the .NET framework). This error occurs when I try to open the transformation that uses an ODBC Connection object that is pointing to the DB2 ODBC. Has anybody else seen this or has a solution other than re-installing everything and not loading the .net framework mdac 2.7. I...
29
580
by: DraguVaso | last post by:
Hi, I'm having this error in a VB.NET-application at the moment that I attempt to read data from an SQL Server: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later. at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) at
4
2529
by: Chris Fairall | last post by:
Hi all I am using Visual Studio 2003 Enterprise Architect, and for them most part, everything has been working fine. However, in the last few days, I have been experiencing a weird error, and I was hoping someone might be able to shed some light on the cause, and a cure. When I have an existing solution with projects open, and I right-click on a project, and choose Add -> New Class..., I get the following error:
4
9168
by: Martin Franklin | last post by:
I am trying to get a total record count on a Acess 97 mdb database. However I get the following error when I try to load the page: Provider error '80040154' Class not registered http://www.assetresearch.com/clog/count.asp I believe permissions for the IUSR_machine are correct as I am able to add and delete records from the database through other ASP pages in the site. Any ideas on what Class needs to be re-registered. If so, how do I...
4
4182
by: Scott Dillard | last post by:
I have recently been provided with a new laptop. The old one ran Win 2000 with Access 2000 and the new one runs Win XP with Access 2000. When I try to run some of my modules in my old databases on the new machine, I receive a runtime error "Class Not Registered" on the first step where I open a table: rs.Open "", CurrentProject.Connection, _ adOpenKeyset, adLockOptimistic Anyone have any idea what might be wrong? I checked my...
2
473
by: bala | last post by:
hi gurus have a ms access front end application in window 2000 professional operating system. need to connect to MS SQL Server 2000. the frontend MS Access application is connected to the MS SQL Server 2000 database using ADO Connection Object and OLEDB Providers. in some machine it is successfully connecting but in some machines it is giving raise to the following error message (or something similar)
1
337
by: Hughsie | last post by:
Hi I have created an installation package for my app and I have installed the application onto another machine together with the framework and the correct MDAC version. The problem is when I access something in the application that uses one of the required dlls. All the dlls have been included with the application in the same
2
2022
by: John | last post by:
Hi, Please if you can read and help me in this questions, as I am beginner in programming. I am using ADO connection to MS Access database (DAO is not an option) in VB.NET 2005 project and I have to setup deployment of program. 1. Do you reccomend installation of MDAC 2.8 on user computer? What is gain in term with lets say ADO 2.6, or 2.7 version? 2. If other program uses MDAC 2.6 and I install MDAC 2.8, will I crush connection to...
21
55637
by: phpCodeHead | last post by:
Code which should allow my constructor to accept arguments: <?php class Person { function __construct($name) { $this->name = $name; } function getName()
0
10473
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10249
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10025
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9068
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7563
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6804
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.