Recommendations for connecting to databases through Internet Information Services
This article was previously published under Q258939 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx) For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1) On This PageSUMMARY This article is intended as a "best practices" guide for
when you call database components from Web applications in Internet Information
Server/Services (IIS), though most recommendations apply to any distributed
application that accesses database connections, either locally or remotely.
MORE INFORMATIONWhen using ADO in ASP, make sure to...
Additional items to consider
PerfMon countersThe Active Server Pages object provides excellent counters to do detailed monitoring of your ASP application. The following points are particularly important:
ADO/MDACTo obtain the latest version Microsoft Data Access Components (MDAC) as well as some "getting started" information, see the following links:
General information http://msdn.microsoft.com/data/default.aspx (http://msdn.microsoft.com/data/default.aspx) Pooling in the Microsoft Data Access Components http://msdn2.microsoft.com/en-us/library/ms810829.aspx (http://msdn2.microsoft.com/en-us/library/ms810829.aspx) Improve the performance of Your MDAC application http://msdn.microsoft.com/data/learning/MDAC/ (http://msdn.microsoft.com/data/learning/MDAC/) Microsoft ActiveX Data Objects (ADO) Programming http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccessdev/html/MicrosoftOfficeDeveloperForumAccessADOProgramming.asp (http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccessdev/html/MicrosoftOfficeDeveloperForumAccessADOProgramming.asp) Articles on best practices for developing Data Access-enabled Web applicationsData AccessSetting object scope http://msdn2.microsoft.com/en-gb/library/ms525036.aspx (http://msdn2.microsoft.com/en-gb/library/ms525036.aspx) 176056 (http://support.microsoft.com/kb/176056/) ADO/ASP scalability FAQ
216950 (http://support.microsoft.com/kb/216950/) How to enable ODBC connection pooling performance counters
233299 (http://support.microsoft.com/kb/233299/) Identity and auto-increment fields in ADO 2.1 and beyond
230101 (http://support.microsoft.com/kb/230101/) FIX: Data queries sporadically return empty recordsets
195047 (http://support.microsoft.com/kb/195047/) How to call a parameterized SQL Server stored procedure from ADO
200300 (http://support.microsoft.com/kb/200300/) How to synchronize writes and reads with the Jet OLE DB Provider and ADO
General ASP243543 (http://support.microsoft.com/kb/243543/) PRB: Do not store objects in session or application
243815 (http://support.microsoft.com/kb/243815/) PRB: Storing STA COM component in session locks to single thread
243548 (http://support.microsoft.com/kb/243548/) Design guidelines for Visual Basic components under ASP
243547 (http://support.microsoft.com/kb/243547/) PRB: ASP does not provide progress notifications to client browsers
243828 (http://support.microsoft.com/kb/243828/) BUG: Session_OnEnd changes security context of InProcess components
158229 (http://support.microsoft.com/kb/158229/) Security ramifications for IIS applications
150777 (http://support.microsoft.com/kb/150777/) Descriptions and workings of OLE threading models
156223 (http://support.microsoft.com/kb/156223/) How to launch OLE servers from ISAPI extensions
APPLIES TO
| Article Translations
|

Back to the top
