Unspecified error: E-Fail (0x80004005)

  • Thread starter Thread starter madxxx
  • Start date Start date
M

madxxx

Hi All,

We connected with OLEDBConnect to oracle database in a asp.net and C#.

Database Server and WebServer is in a computer. This compputer is a Windows
2000 server with SP4 and installed Framework .Net 1.1 and IIS.
When i try to connect to database i get error:

System.Data.OleDB.OleDbException: Unspecified error: E-FAIL (0x80004005)

How can i solve this error?

Thanks

Mad
 
Heck this could be anything. This is one of those "Something bad happened"
errors.

Why are you using OleDb? Why can't you just use OracleClient?
Also, is the Oracle client installed?
Is your TNS config working?
Can you create a .UDL file your desktop, double click on that and verify
connectivity to your database from that machine?

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
 
Back
Top