Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Microsoft OLE DB Provider for Oracle (0x80004005)

Status
Not open for further replies.

ajacode

Technical User
Aug 21, 2002
66
US
Using SmallBusinessServer2000 (Windows2000 Server)with all latest SP's why do I get this error message when I try to run and ASP page against an Oracle Database located on the same SBS server?
Here is the error message. I can view the data and manipulate tables views etc using the same Visual Interdev Project connection object but when it tries to run in the browser window I get the following error.
*************
Error Type:
Microsoft OLE DB Provider for Oracle (0x80004005)
Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.
***************

I know all the Dll's are there on the server, because I see them listed in the ODBC freivers tab window.
(infact I created the DSN used on the server just in case.
Any Ideas ??

Thanks

AJ
 
2 things:

1: OLEDB is not the same as ODBC so the dlls being there may not matter. so,

2: Be sure your Oracle Home and path to its bin directory is correct before trying to connect.

Try using a DSN-less connection ( much prefered in general)
Like this:
Code:
Set objDC = Server.CreateObject("ADODB.Connection")
objDC.ConnectionTimeout = 15
objDC.CommandTimeout = 30

'Code to connect to Oracle  objDC.Open "Provider=MSDAORA.1;Password=yourpass;User ID=youruser;Data Source=your_tnsnamers.ora_entry;Persist Security Info=TRUE"

hth,
[profile]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top