Microsoft Knowledge Base Email Alertz

How to troubleshoot Msg 7105 in SQL Server

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 201576 - Last Review: January 23, 1999 - Revision: 1.0

INFO: ADO 2.1 Ships with an ADO 2.0 Type Library

This article was previously published under Q201576

SUMMARY

The version of Microsoft ActiveX Data Objects (ADO), listed in the Applies To section, ships with an ADO 2.0 Type Library file.

MORE INFORMATION

The name of the type library file is Msado20.tlb and by default the file is located in the \\Program Files\Common Files\System\ADO subdirectory.

If a project that originally used ADO 2.0 is opened after ADO 2.1 has been installed, you will see that the project references the ADO 2.0 Type Library and not the ADO Dynamic Link Library.

In other words, the project reference still shows "Microsoft ActiveX Data Objects 2.0". However, the file this reference is pointing to will be the ADO 2.0 Type Library, Msado20.tlb, and not the ADO Dynamic Link Library, Msado15.dll.

This behavior differs from prior versions of Microsoft ActiveX Data Objects. Prior versions did not ship with type libraries for previous versions. Therefore, projects created with the earlier versions automatically started using the newer interfaces of Microsoft ActiveX Data Objects installed although the project's references continued to point to the Microsoft ActiveX Data Objects Dynamic Link Library, Msado15.dll.

To switch to the new ADO 2.1 interfaces, clear the project reference for "Microsoft ActiveX Data Objects 2.0", Msado20.tlb. Next, select the reference for "Microsoft ActiveX Data Objects 2.1", Msado15.dll.

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:
201580  (http://kbalertz.com/Feedback.aspx?kbNumber=201580/EN-US/ ) INFO: ADO 2.0 and ADO 2.1 Binary Compatibility

APPLIES TO
  • Microsoft ActiveX Data Objects 2.1
Keywords: 
kbdatabase kbinfo KB201576
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate