Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

msadodc.ocx Error loading dll

 
   Database Help (Home) -> Visual Basic -> ADO RSS
Next:  Ordering array (krsort)  
Author Message
Rick Lederman

External


Since: Jun 24, 2004
Posts: 6



(Msg. 1) Posted: Tue Feb 15, 2005 5:40 pm
Post subject: msadodc.ocx Error loading dll
Archived from groups: microsoft>public>vb>database>ado (more info?)

A customer upgraded my program on an XP machine with Service Pack 2. The
upgrade now uses msadodc.ocx and when the program hits the line of code that
says "Set datLog.Recordset = rsLog" the program fails with a "Error loading
dll" and nothing else. Help? I've tried re-registering the msadodc.ocx.
Is there a related .dll that may be messed up?

Rick Lederman

 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Kevin Yu MSFT

External


Since: Nov 20, 2003
Posts: 67



(Msg. 2) Posted: Tue Feb 15, 2005 10:40 pm
Post subject: RE: msadodc.ocx Error loading dll [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Rick

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that your program was unable to find
msadodc.ocx on a customer's machine. If there is any misunderstanding,
please feel free to let me know.

For this kind of issue, I think you can have your customer use filemon to
see which file is your program trying to load and on which dll it fails.
Filemon can be downloaded from the following link:

http://www.sysinternals.com/ntw2k/source/filemon.shtml

I think this might not be the msadodc.ocx problem since you have
re-registered it successfully.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Rick Lederman

External


Since: Jun 24, 2004
Posts: 6



(Msg. 3) Posted: Wed Feb 16, 2005 10:02 am
Post subject: Re: msadodc.ocx Error loading dll [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Kevin,

My customer ran FileMon for me and found the following:
62 8:40:34 AM TCMax2.exe:3848 QUERY INFORMATION
C:\WINDOWS\SYSTEM32\MSADODC.OCX SUCCESS Length: 131856
63 8:40:34 AM TCMax2.exe:3848 QUERY INFORMATION
C:\WINDOWS\SYSTEM32\MSADODC.OCX SUCCESS Length: 131856
64 8:40:34 AM TCMax2.exe:3848 QUERY INFORMATION C:\Program Files\Soaring
Software Solutions\TCMax\msado25.tlb FILE NOT FOUND Attributes: Error

It seems to be looking for msado25.tlb. I don't distribute that, why might
it be missing? He installed my application on one more computer with XP
support pack 2 and has the same problem.

"Kevin Yu [MSFT]" wrote in message

 > Hi Rick
 >
 > First of all, I would like to confirm my understanding of your issue. From
 > your description, I understand that your program was unable to find
 > msadodc.ocx on a customer's machine. If there is any misunderstanding,
 > please feel free to let me know.
 >
 > For this kind of issue, I think you can have your customer use filemon to
 > see which file is your program trying to load and on which dll it fails.
 > Filemon can be downloaded from the following link:
 >
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://www.sysinternals.com/ntw2k/source/filemon.shtml</font" target="_blank">http://www.sysinternals.com/ntw2k/source/filemon.shtml</font</a>>
 >
 > I think this might not be the msadodc.ocx problem since you have
 > re-registered it successfully.
 >
 > Kevin Yu
 > =======
 > "This posting is provided "AS IS" with no warranties, and confers no
 > rights."
 >
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Rick Lederman

External


Since: Jun 24, 2004
Posts: 6



(Msg. 4) Posted: Wed Feb 16, 2005 10:03 am
Post subject: Re: msadodc.ocx Error loading dll [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ALso,

you are correct in that my app finds msadodc.ocx OK but is not finding the
msado25.tlb for some reason. I'm sure that I don't distribute that ... how
does he get that?


"Kevin Yu [MSFT]" wrote in message

 > Hi Rick
 >
 > First of all, I would like to confirm my understanding of your issue. From
 > your description, I understand that your program was unable to find
 > msadodc.ocx on a customer's machine. If there is any misunderstanding,
 > please feel free to let me know.
 >
 > For this kind of issue, I think you can have your customer use filemon to
 > see which file is your program trying to load and on which dll it fails.
 > Filemon can be downloaded from the following link:
 >
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://www.sysinternals.com/ntw2k/source/filemon.shtml</font" target="_blank">http://www.sysinternals.com/ntw2k/source/filemon.shtml</font</a>>
 >
 > I think this might not be the msadodc.ocx problem since you have
 > re-registered it successfully.
 >
 > Kevin Yu
 > =======
 > "This posting is provided "AS IS" with no warranties, and confers no
 > rights."
 >
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Rick Lederman

External


Since: Jun 24, 2004
Posts: 6



(Msg. 5) Posted: Wed Feb 16, 2005 10:22 am
Post subject: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My customer found that if he copies msado25.tlb to my application directory
then my app works fine. This is great for him but can you tell me what else
might be going on?

Thanks

Rick

"Kevin Yu [MSFT]" wrote in message

 > Hi Rick
 >
 > First of all, I would like to confirm my understanding of your issue. From
 > your description, I understand that your program was unable to find
 > msadodc.ocx on a customer's machine. If there is any misunderstanding,
 > please feel free to let me know.
 >
 > For this kind of issue, I think you can have your customer use filemon to
 > see which file is your program trying to load and on which dll it fails.
 > Filemon can be downloaded from the following link:
 >
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://www.sysinternals.com/ntw2k/source/filemon.shtml</font" target="_blank">http://www.sysinternals.com/ntw2k/source/filemon.shtml</font</a>>
 >
 > I think this might not be the msadodc.ocx problem since you have
 > re-registered it successfully.
 >
 > Kevin Yu
 > =======
 > "This posting is provided "AS IS" with no warranties, and confers no
 > rights."
 >
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Paul Clement

External


Since: Sep 02, 2003
Posts: 236



(Msg. 6) Posted: Wed Feb 16, 2005 10:33 am
Post subject: Re: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 16 Feb 2005 09:22:00 -0500, "Rick Lederman" wrote:

¤ My customer found that if he copies msado25.tlb to my application directory
¤ then my app works fine. This is great for him but can you tell me what else
¤ might be going on?
¤

Not sure if this will help, but distribution of the file is not necessary:

http://support.microsoft.com/default.aspx?scid=kb;en-us;299645


Paul ~~~ pclement RemoveThis @ameritech.net
Microsoft MVP (Visual Basic)
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Kevin Yu MSFT

External


Since: Nov 20, 2003
Posts: 67



(Msg. 7) Posted: Wed Feb 16, 2005 11:40 pm
Post subject: Re: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Paul,

As far as I know, msado25.tlb version 2.81.1117.0 is installed with Windows
XP Service Pack 2. There might be some error on the client's machine, which
makes the file missing or unregistered.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Rick Lederman

External


Since: Jun 24, 2004
Posts: 6



(Msg. 8) Posted: Fri Feb 18, 2005 7:17 am
Post subject: Re: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Kevin,

Does regsvr32 register .tlb files too?

Rick


"Kevin Yu [MSFT]" wrote in message

 > Hi Paul,
 >
 > As far as I know, msado25.tlb version 2.81.1117.0 is installed with
Windows
 > XP Service Pack 2. There might be some error on the client's machine,
which
 > makes the file missing or unregistered.
 >
 > Kevin Yu
 > =======
 > "This posting is provided "AS IS" with no warranties, and confers no
 > rights."
 >
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Rick Lederman

External


Since: Jun 24, 2004
Posts: 6



(Msg. 9) Posted: Fri Feb 18, 2005 7:22 am
Post subject: Re: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Paul,

Thanks for the info. I actually include MDAC 2.8 with my application
because the latest version of ActiveReports requires it. So I find it
interesting that this pair of computers that my customer has both have the
same problem. For him we have resolved it by dropping a copy of msado25.tlb
in my app's directory, but it really concerns me that I will have others
with the same problem.

Rick

"Paul Clement" wrote in message

 > On Wed, 16 Feb 2005 09:22:00 -0500, "Rick Lederman"
wrote:
 >
 > ¤ My customer found that if he copies msado25.tlb to my application
directory
 > ¤ then my app works fine. This is great for him but can you tell me what
else
 > ¤ might be going on?
 > ¤
 >
 > Not sure if this will help, but distribution of the file is not necessary:
 >
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;299645</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;299645</font</a>>
 >
 >

 > Microsoft MVP (Visual Basic)
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Paul Clement

External


Since: Sep 02, 2003
Posts: 236



(Msg. 10) Posted: Fri Feb 18, 2005 10:59 am
Post subject: Re: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 18 Feb 2005 06:22:19 -0500, "Rick Lederman" wrote:

¤ Paul,
¤
¤ Thanks for the info. I actually include MDAC 2.8 with my application
¤ because the latest version of ActiveReports requires it. So I find it
¤ interesting that this pair of computers that my customer has both have the
¤ same problem. For him we have resolved it by dropping a copy of msado25.tlb
¤ in my app's directory, but it really concerns me that I will have others
¤ with the same problem.
¤
¤ Rick

The only thing I can think of is that ActiveReports may require the type library for some reason.
Perhaps it has something to do with the designer, that is if the users of your application can
design their own reports.


Paul ~~~ pclement DeleteThis @ameritech.net
Microsoft MVP (Visual Basic)
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Kevin Yu MSFT

External


Since: Nov 20, 2003
Posts: 67



(Msg. 11) Posted: Sat Feb 19, 2005 8:49 am
Post subject: Re: Found a fix but need something better [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Rick,

As far as I know, regsvr32 doesn't register .tlb files.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 >> Stay informed about: msadodc.ocx Error loading dll 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ADO Error -2147217864 ??? - Hi all, Sometimes I get the above error (ie. Row cannot be located for updating etc...) exactly on the RS.Update line below: Private Function UpdateRow(ByVal sTable As String, oFields As clsFields) As Boolean On Error GoTo trap_err Dim RS As...

VB SQL Statement Error - I am trying to run a SQL statement from a VB application and am receiving an error message. However, when I run a similar statement from Access using a query, I do not get the message and it executes successfully. The message received indicates that..

Error -2147217864 Row cannot be located for Updating - Hi all, Getting the error message when updating a record. "Error -2147217864 Row cannot be located for Updating. Some values may have been changed since it was last read." Doesn't happen all the time, just sometimes. If I update one...

runtime error 3021 and user permissions - I have a VB6 application that uses ADO 2.7 to access an Access2000 database. I have found on Windows XP and 2000, that if the user is not part of the administrators group, they receive: "runtime error 3021. Either BOF or EOF is true, or the current ...

error converting the varchar value 'True' to a column of d.. - In a vb6 app using ado connecting to a sql server 2000 stored procedure, am seeing this error: "Syntax error converting the varchar value 'True' to a column of data smallint" The error only seems to happen when updating one record. Other reco...
   Database Help (Home) -> Visual Basic -> ADO All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]