The information in this article applies to:
SUMMARYActive Server Pages (ASP) applications written with ActiveX Data Objects (ADO) 1.x, that passed the ADO ConnectionString property using either HTTP POST or GET, may fail using ADO 2.0. MORE INFORMATION
ADO 2.0 returns the ConnectionString with the "Extended Properties"
argument in double-quotes. Passing this value to an HTML property may
result in the ConnectionString value being truncated at the first double-
quote encountered.
To resolve this issue, replace the double quotes with the HTML variable """. This can be accomplished using the Server.HTMLEncode() in an Active Server Page. WARNING! The following sample is intended only as an example. Including an ODBC connect string in HTML source could present a breach in security by exposing userids, passwords and the location of data in clear text and is not a recommended practice. Sample Code
Additional query words:
Keywords : kbADO kbADO200 kbASP kbDatabase kbDSupport kbiis400 kbiis500 |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |