|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Connecting to Oracle DataBase in ASP
How do i connect to Oracle Database through ASP???
I have Used the Following Syntax But it gives me ADODB .Connection error no as '800a0e7a' saying Provider Cannot be Found. set objcn1=server.createobject("Adodb.connection") objcn1.Open "Provider=OraOLEDB.Oracle;Data Source=servername;User Id=abc;Password=cbs" OR objcn1.Open "Provider=msdaora;Data Source=servername;User Id=abc;Password=cbs" |
|
#2
|
||||
|
||||
|
ORACLE:
Cm.ActiveConnection = "Provider=OraOLEDB.Oracle;Data Source=someDB;User ID=someID;Password=somePassword;" SQL: Cm.ActiveConnection = "Provider=sqloledb;Data Source=someDB;Initial Catalog=someCatalog;Trusted_Connection=No;UID=someID;PWD=somePassword" These work for me, if they don't work for you it could be on the server side, also ORACLE is case sensitive. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Connecting to Oracle DataBase in ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|