Microsoft KB Archive/146816

= IIS Troubleshooting With ODBC SQL Integration =

Article ID: 146816

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Internet Information Server 1.0

-



This article was previously published under Q146816



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.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



SUMMARY
You can test Microsoft Internet Information Server (IIS) ODBC SQL Server connectivity with several Microsoft SQL Server utilities. This article discusses the following:


 * Testing Network Named Pipes
 * Testing ODBC Connectivity to SQL Server
 * Graphical SQL Query Tool



MORE INFORMATION
When an IIS application has problems connecting to a SQL Server, there may be a problem with the network or the SQL Server. The following utilities can help isolate network problems.

Testing Network Named Pipes
There are two utilities included with SQL Server designed to help test network named pipes. The MAKEPIPE.EXE utility is installed during the setup of SQL Server. The READPIPE.EXE utility is installed during setup of both DOS and OS/2 workstations.

Both utilities test the integrity of the network named pipe services. To use these service, please see the SQL Server Help files or the following articles in the Microsoft Knowledge Base:

68941 : INF: Procedure for Testing Named Pipes

110905 : INF: Readpipe Return Codes

Testing ODBC Connectivity To SQL Server
The SQL Server \SQL60\BINN directory contains a 32-bit utility called ODBCPING.EXE. You can use this utility to troubleshoot connectivity to SQL Server through Microsoft ODBC SQL Server drivers. For more information on ODBCPING and other ODBC diagnostic tips, please see the "Connecting to a Data Source" section in the ODBC SQL Server 6.0 Driver Help file or the following articles in the Microsoft Knowledge Base:

138541 : INF: ODBCPING.EXE to Verify ODBC Connectivity to SQL Server

140895 : INF: Diagnostic Tips for the Microsoft SQL Server ODBC Driver

Graphical SQL Query Tool
You can test the SQL server with the graphical utility called ISQLW.EXE, which is included with Microsoft SQL Server version 6.0. Please run SQLW.HLP in the \BINN sub-directory of SQL Server for more information.

Additional query words: prodiis

Keywords: KB146816

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.