HOWTO: ADO.Connection Updated to ADODB.Connection

ID: Q162840


The information in this article applies to:

More Information

Scripts written using pre-released versions of the Microsoft Active Server Pages require an update to all scripts that use ADO.Connection. The following code displays an example:

   <% Set obectvar = Server.CreateObject("ADO.Connection") .........%> 
The line of code must now be changed to the following:

   <% Set obectvar = Server.CreateObject("ADODB.Connection") .........%> 

SUMMARY

ADO.Connection was changed to ADODB.Connection in the final released version of Microsoft Active Server Pages, version 1.0.


REFERENCES

For additional information about the proper use of ADODB.Connection, please see the following article(s) in the Microsoft Knowledge Base:

Q158737 How To Create a Simple Query in an ActiveX Layout
Active Server Pages online documentation:
http://localserver/IASDocs/ASPDocs/roadmap.asp.
For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/

Additional query words: 1.00


Keywords          : kbnetwork kbsample kbADO kbASP kbCOMt kbScript kbGrpASP 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: May 27, 1999