HI
i deployed a simple asp.net application in a sharepoint wfe server
installed oracle 12 32 bit client
32-bit Oracle Data Access Components (ODAC)
with Oracle Developer Tools for Visual Studio
configured sql alias 32 & 54 bit in all sharepoit servers to connect to sql server
sharepoint farm working fine
asp.net applicationĀ connecting to sql server and oracle dbs to get and show the data
in iis asp.net application enabled 32 bit and run under asp.net 4.0 version
when i connect to sql serverĀ and get data from a database it shows below error
ORA-12170: TNS:Connect timeout occurred
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: ORA-12170: TNS:Connect timeout occurred
Source Error:
Line 4142: Dim da2 As New OleDbDataAdapter(sqlStr2, conStr2)
Line 4143: Dim ds2 As New DataSet
Line 4144: da2.Fill(ds2)
Line 4145:
Line 4146: DropDownList38.DataSource = ds2
Source File: C:\inetpub\wwwroot\wss\VirtualDirectories\lxxxx\xxx.ascx.vb Line: 4144
Stack Trace: