Unable to connect web application to SQL Server via ODBC

From: Ken Sturgeon (ksturgeon_at_genelco.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 12:09:05 -0600

I have an Active Server Page web application running on IIS installed on a
Windows 2003 Server that attempts to connect to SQL Server 2000 installed on
a separate Windows 2003 Server. The problem is that when the application
tries to connect it errors out with the following error.

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
access denied.

The web application attempts to connect using a FileDSN and ironically, when
using the ODBC Manager in windows, it tests successfully. Even more
disturbing is the fact that our client also installed SQL Server 2000 on the
web box... I can see the data server through Enterprise Manager.

Although I've reviewed the application's configuration settings countless
times I thought it wise to create a test page that has the connection string
embedded in the source code thereby attempting to establish a "DSN'less"
connection. The same error is returned.

I'm clueless as to why this problem manifests when I get a successful ODBC
test in ODBC Manager and I can see the database from Enterprise Manger.

One thing has happened that may have an impact. the database server was
originally set up as a domain controller but later demoted.

Any help is greatly appreciated.

Ken Sturgeon



Relevant Pages

  • SecurityFocus Microsoft Newsletter #154
    ... MICROSOFT VULNERABILITY SUMMARY ... ISS RealSecure Server Sensor SSL Denial Of Service Vulnerabi... ... Roger Wilco Remote Server Side Buffer Overrun Vulnerability ... available for Microsoft Windows operating systems. ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #49
    ... Subject: SecurityFocus Microsoft Newsletter #49 ... Microsoft Windows NNTP Denial of Service Vulnerability ... Microsoft IIS SSI Buffer Overrun Privelege Elevation Vulnerability ... Microsoft ISA Server H.323 Memory Leak Denial of Service... ...
    (Focus-Microsoft)
  • Re: SQL Server 2005 Login Problem
    ... There are two authentication method in SQL Server. ... 1- Windows Authentication ... 2- Mixed Authentication (through SQL Server logins and Windows accounts) ...
    (microsoft.public.sqlserver.clients)
  • RE: My Documents Redirection error
    ... We can upgrade the instance SharePoint ... >> is no need to manually migrate data from MSDE to SQL server and all dada ... >> How to back up and restore http://companyweb data in Windows Small ...
    (microsoft.public.windows.server.sbs)
  • Questions Relating to Administering Windows 2000 Server
    ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
    (microsoft.public.cert.exam.mcse)