hola a tod@s,
estoy intentando conectarme a una base de datos oracle la cual no esta en mi pc si no en un servidor de la intranet de la empresa en la que estoy,estoy intentando conectarme de esta manera:
Dim oConn As New OleDb.OleDbConnection
Dim oCmd As New OleDb.OleDbCommand
Dim oDa As New OleDb.OleDbDataAdapter
Dim oDs As New DataSet
oConn.ConnectionString = "Provider=MSDAORA;" & _
"Data Source=ESTRE;" & _
"User ID=proto;" & _
"Password=proto;"
oConn.Open()
oCmd.CommandText = "SELECT * FROM LEMONA.BASCULA2"
oCmd.Connection = oConn
oDa.SelectCommand = oCmd
oDa.Fill(oDs)
DataGrid1.DataSource = oDs.Tables(0).DefaultView
DataGrid1.DataBind()
oConn.Close()
End Sub
y me da este error:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
si alguien pudiera orientarme un poco se lo agrdeceria mucho llevo ya unos dias intentando conectarme y me es imposible, un saludo y gracias de antemano a quien atienda mis dudas de novato.