Re: Class not registered error when using Web
From: Chris Botha (chris_s_botha_at_AT_h.o.t.m.a.i.l.com)
Date: 06/06/04
- Next message: Thomas Gasser: "Global DataSet in asp.net Threat-Safety"
- Previous message: Yuriy Solodkyy: "Re: Random Timeout Exceptions"
- In reply to: Brian Johnston via .NET 247: "Class not registered error when using Web"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 6 Jun 2004 09:51:35 -0400
One of my clients using a .NET WinApp connecting to an MS Access database on
the client computer had the problem. After downloading and installing 2.6 it
worked. They were running a lower version of MDAC though. It is not an
ASP.NET issue, you should get the error from a .NET WinApp as well.
Now here is a funny. I've spent yesterday the whole day attempting to
install SharePoint (after upgrading to Win 2003 Server from 2000 the
previous night), and it kept bombing out with a SQL Server connect. It
turned out that MDAC 2.8 was broken.
In order to see if your MDAC 2.8 is broken, have a look at this article
http://myitforum.techtarget.com/articles/18/view.asp?id=7298
Re-installing MDAC 2.8 did not fix the problem, I had to manually copy a DLL
as per the article, though I've seen somewhere someone claimed re-install
worked on XP.
"Brian Johnston via .NET 247" <anonymous@dotnet247.com> wrote in message
news:OQkAXSzSEHA.3660@tk2msftngp13.phx.gbl...
All projects I have done up until now have been SQL Server based so I've
never seen this issue, nor has anyone I work with. The current project I'm
working on requires an Access backend db. When attempting to connect to the
database I get "Class not registered. Please install MDAC 2.6 or later."
This is a bogus error because I have MDAC 2.8 installed with Jet SP8. I
have no problems connecting to the same database using traditional
application forms; this is strictly and ASPNET issue.
Obviously I thought it was a permissions issue, but I gave ASPNET and IUSR
and IWAM full control permission on the project folder and subfolder but
still got the same error. I even tried giving Everyone full control to see
and nothing changed (as expected).
I also tried changing the machine config file to have ASPNET run as system
rather than machine but this didn't do anything either. I have re-installed
MDAC for the heck of it to no avail - again, everything is fine with
traditional apps connecting to the same database, only an ASPNET error so I
didn't expect anything to change.
I'm really at a loss here, any help would be <i>greatly</i> appreciated.
Thanks
--------------------------------
From: Brian Johnston
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>wFCirEKdlky9bYWju3A/Hg==</Id>
- Next message: Thomas Gasser: "Global DataSet in asp.net Threat-Safety"
- Previous message: Yuriy Solodkyy: "Re: Random Timeout Exceptions"
- In reply to: Brian Johnston via .NET 247: "Class not registered error when using Web"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|