Microsoft Knowledge Base Email Alertz

KBAlertz.com: Data Access Object (DAO) libraries, which are mainly built on Component Object Model (COM) technology, are not tested with COM Interop in the Microsoft .NET Framework. Therefore, Microsoft and Microsoft Product Support Services (PSS) do not

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]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

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




Article ID: 311058 - Last Review: May 13, 2007 - Revision: 2.3

INFO: Microsoft .NET Framework Does Not Support Data Access Object

This article was previously published under Q311058

SUMMARY

Data Access Object (DAO) libraries, which are mainly built on Component Object Model (COM) technology, are not tested with COM Interop in the Microsoft .NET Framework. Therefore, Microsoft and Microsoft Product Support Services (PSS) do not guarantee the performance of DAO when you use it with the .NET Framework.

MORE INFORMATION

DAO provides a framework for using code to create and manipulate databases. DAO supplies a hierarchical set of objects that use the Microsoft Jet database engine to access data and database structure in the following:
  • Microsoft Jet databases (.mdb).
  • Open Database Connectivity (ODBC) data sources by using an ODBC driver.
  • Installable indexed sequential access method (ISAM) databases that the database engine can read directly, such as dBASE, Paradox, and Microsoft Visual FoxPro.
The Microsoft .NET Framework uses Interop to promote interaction with COM components, COM+ services, external type libraries, and many operating system services. However, DAO is not tested and therefore not supported in the .NET Framework with COM Interop.

NOTE: Microsoft recommends that you use Microsoft ActiveX Data Objects (ADO) or Microsoft ADO.NET with Microsoft Jet OLE DB Provider to connect to an Access database from a Microsoft Visual Studio .NET application.

REFERENCES

For more information on DAO, refer to the following MSDN documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dao360/html/dahowdataaccessoverview.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dao360/html/dahowdataaccessoverview.asp)
For more information on COM Interop, refer to the following MSDN documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbdev01/html/vb01i10.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbdev01/html/vb01i10.asp)
For more information on ADO.NET objects and syntax, refer to the following topic in the Microsoft .NET Framework Software Development Kit (SDK) documentation:
Accessing Data with ADO.NET
http://msdn2.microsoft.com/en-us/library/e80y5yhx(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/e80y5yhx(vs.71).aspx)
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
313590  (http://kbalertz.com/Feedback.aspx?kbNumber=313590/EN-US/ ) INFO: Roadmap for ADO.NET

APPLIES TO
  • Microsoft .NET Framework 1.1
Keywords: 
kbinfo kbjet KB311058
       

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

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please