IIS Server - Failed to load a driver

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > June 2005 > Failed to load a driver





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Failed to load a driver
Janet Mesina

2005-06-29, 5:53 pm

I have a new installation of Server 2003 and IIS 6.0.

I am trying to access an oracle database using an ADODB connection in an asp
page.

The oracle client is installed on my server and works great. The DSN is
using the Oracle driver and tests correctly in the Microsoft ODBC manager
console. The asp page fails to load the driver when I try to open the
connection. I get the following message:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

Specified driver could not be loaded due to system error 5

The asp code ls:

<script language=javascript runat=server>
var dbConn = Server.CreateObject("ADODB.Connection");
var rsTemp = Server.CreateObject("ADODB.Recordset");

dbConn.Open("cbprd04", "guest", "guest");
</script>
<HTML>
<HEAD>

<TITLE>IPS2000 Validation Page</TITLE>
</HEAD>

<body bgcolor=white>
<h2> Loading data, please stand by... </h2>
</BODY>
</HTML>

It is failing on the dbConn.Open statement. It fails with the same error in
VBScript.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com