Hi
I've a VB.net application which connection to an Oracle DB via ORAOLEDB.ORACLE.
It works fine on one server (which is Windows Server 2008) and we wish to move it to Windows Server 2012.
The application just hangs at this point (in bold) ...
Public Function QueryOracleDB(ByVal TheSQLQuery As String, ByRef ErrorMessage As String, ByRef TheResults As String) As Integer
Dim ConnectionString As String = ConfigurationSettings.AppSettings("IFSConnectionString")
Try Dim myConnection As New OleDbConnection(ConnectionString)
Dim myCommand As New OleDbCommand(TheSQLQuery, myConnection)
myConnection.Open()
The query string is ...
Provider=ORAOLEDB.ORACLE;User ID=theid;password=thepassword;Data Source=E123
If I change the 'Provider' it will give me an error naturally ...
The 'ORAOLEDB.ORACLEs' provider is not registered on the local machine.
However if I give it the correct provider but an incorrect password for the Oracle DB it says nothing. Just hangs.
Thanks
p