Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2013
    Posts
    3

    Unanswered: Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

    I am getting an error when I bring up any web page on my domain. The error is:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    /My/includes/databaseFunctions.asp, line 17

    Browser Type:
    Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0

    Page:
    GET /My/store/default.asp

    I'm running this on XP Pro sp3 with IIS 5.1

    In the file:
    /My/includes/databaseFunctions.asp, line 17

    It has:
    %>
    <!--#include file="../includes/adovbs.inc"-->
    <%

    sub openDb()
    if varType(connTemp)=0 or varType(connTemp)=1 then

    ' create the connection
    set connTemp = server.createObject("adodb.connection")

    connTemp.Open pDatabaseConnectionString

    Note: The above line is line# 17

    Can anyone help me figure out what is wrong with this setup?

    Thank you,

    Docfxit

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    What's the value of pDatabaseConnectionString?
    George
    Home | Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •