Dans mon service windows, que j'ai crée en .net 3.5, je n arrive pas à acceder à la base oracle
alors qu'avec le même code dans une winform, ça fonctionne très bien
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 dim m_SariaConnection as OracleConnection = New OracleConnection() m_SariaConnection.ConnectionString = "Data Source=MaBase;Persist Security Info=False;User ID=ext_Fred;Password=fred" m_SariaConnection.Open()
ORA-12154: TNS:could not resolve the connect identifier specified
Partager