Knowledge Base

IDC: Error Performing Query Connecting to SQL Server

Article ID: 148237

Article Last Modified on 6/23/2005


APPLIES TO


This article was previously published under Q148237
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:

SYMPTOMS

When you execute an IDC script that connects to a remote SQL Server, one of the following error messages appear from the web browser:
Error Performing Query


[State=01000][Error=1385][Microsoft][ODBC SQL Server
Driver][dbnmpntw]ConnectionOpen (CreateFile()).

[State=08001][Error=1385][Microsoft][ODBC SQL Server Driver]Unable
to connect to data source

-or-

[State=01000][Error=1326][Microsoft][ODBC SQL Server
Driver][dbnmpntw]ConnectionOpen (CreateFile()).

[State=08001][Error=1326][Microsoft][ODBC SQL Server Driver]Unable
to connect to data source

CAUSE

This problem occurs because of one or all of the following:

RESOLUTION

To correct this problem, do one or all of the following:

MORE INFORMATION

The Internet Information Server accesses the SQL Server by first connecting to the IPC$ share of the SQL Server. It uses the user name and password specified for Anonymous Logon (entry is in the Service tab of Internet Service Manager).

Additional query words: prodiis

Keywords: kbnetwork KB148237