
April 15th, 2003, 07:40 PM
|
|
Registered User
|
|
Join Date: Apr 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Getting Oracle to accept username and password
<img border="0" src="/forum/emoticons/jumpin.gif" height="31" width="31" alt="jumpin" /> <br><br> Dim conn = New OracleConnection<br> conn.ConnectionString = "Data Source=databasename; User ID=/"<br> Try<br> conn.Open()<br> Catch ex As Exception<br> Response. Write(ex.Message)<br> End Try<br><br> If conn.State = ConnectionState.Open Then<br> conn.Close()<br> End If<br> conn.Dispose()<br><br>Here's what I've tried and nada. I receive an "ORA-01017: illegal username and password" error.<br>Ideas?<br><br>I also tried this connection string.<br><br> conn.ConnectionString = "Data Source=databasename;User ID=OPS$name;Password=pwd"
|