Re: A DLL gone bad ?
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Sun, 16 Sep 2007 11:35:38 -0500
"Martin" <martinvalley@xxxxxxxxxxx> wrote in message
news:f7kqe31ppgdqucd9ba02um3s1jbsb94opt@xxxxxxxxxx
On Sat, 15 Sep 2007 01:16:31 -0500, "Ralph"Component
<nt_consulting64@xxxxxxxxx> wrote:
Clean the Registry.
Re-install the MDAC and Jet Packages for your O/S.
http://msdn2.microsoft.com/en-us/data/aa937730.aspx
Doubtful it will help, but it can't hurt to download and run the
andtester while you are at it.
Did you perhaps run a MS Security Patch recently? It isn't necessary to
remove the patch, but it might be helpful to look it up on microsoft.com
see if it specifically affects any MDAC or Jet components.
If using WinXP upgrade to SP2.
I checked out the page you referenced and downloaded and used the
Component Checker. It tells me that I have: MDAC 2.8 SP1. In reality,
I have versions 2.1, 2.5, 2.6, 2.7 and 2.8 on this machine.
MDAC packages are labelled with the highest ADO library they support. But
the components for each new version supports interfaces for all previous
versions.
So if you have ADO 2.8 installed, you also have 2.7, 2.6, 2.5, ...
available.
snipped
As you suggested, I ran the program in the editor and, at the
SQLCN.Open statement, the error generated is #3706 - Provider cannot
be found. The "source" of the error is: ADODB.Connection
It seems to me that the problem is in the registry. You mentioned
cleaning the registry. Any recommendations as to how to do this?
Just do a google search for "Reg Cleaners" or
http://www.worldstart.com/weekly-download/archives/reg-cleaner4.3.htm
There are quite a few available.
The fact you are asking about Registry Cleaners is scary as you should be
doing this as part of a regular maintenance schedule. Especially on a
Developer Box. XP is perhaps safer than previous Windows, but it's best to
use a little extra help.
As for what exactly is wrong. That is tough - the error message "Provider
not found" means exactly that, and cause can be because of almost anything -
the provider was moved, the registry is corrupted, user doesn't have rights
to folder, etc. All I have suggested so far is just the usual suspects. I
can assure you that the repair will be minor, completely out of proportion
to the trouble it has caused. <g>
In the meantime, look up "Data Link" in the Windows Help (off the Start
Menu). It shows how to create a .udl file to create a connection string and
then test it against a database. Try it.
-ralph
.
- Follow-Ups:
- Re: A DLL gone bad ?
- From: Pop`
- Re: A DLL gone bad ?
- References:
- A DLL gone bad ?
- From: Martin
- Re: A DLL gone bad ?
- From: Ralph
- Re: A DLL gone bad ?
- From: Martin
- Re: A DLL gone bad ?
- From: Ralph
- Re: A DLL gone bad ?
- From: Martin
- A DLL gone bad ?
- Prev by Date: Re: When I tried to open VB6 VS2005 tries to install!!!
- Next by Date: Re: VB6 connecting to ISAM Dat files
- Previous by thread: Re: A DLL gone bad ?
- Next by thread: Re: A DLL gone bad ?
- Index(es):
Relevant Pages
|