Oraoledb. Oracle.
There are two major reasons: 1. You need to re-register oledb DLL (take 10 as an example regsvr32 D:/Oracle/10.2.0/DB/bin/oraoledb10.dll)
The 2.asp.net account does not have the permission to read the Oracle directory.
In the Oracle installation directory, find the main program directory of Oracle, right-click and choose Properties> Security, and click ASP. the. NET account grants read and execution permissions, and ensures that sub-directories and files in the directory inherit these attributes in "advanced. (In the win2003 + Oracle10g test, you need to check the second option and use the project displayed here that can be applied to sub-objects to replace all sub-object permission projects. it is estimated that Asp.net only needs to read a directory or file in the Oracle installation directory .)
In other cases, the excerpt is not verified on the Internet:
1. Is the machine with Oracle installed NTFS? If yes, grant all bin permissions under/ora81 to all users. (Otherwise, this error will be reported due to no permission to access the directory in the B/S structure)
2. If the database server is oracle816. Find sqlnet under ora81/Network/admin on the server's machine. ora file, put the sqlnet. authentication_services = (CNT) is changed to sqlnet. authentication_services = (none) (this will cause some machines to report the error of driver initialization failure, once in oracleclient)
3. If none of the above issues are resolved. Check whether the items in the Registry are lost.