Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Host IP: 10.204.1.3
  2. Port: 1521
  3. DB Name: PROD
  4.  
  5. string connString = "DATA SOURCE=10.204.1.3:1521/PROD;PERSIST SECURITY" +
  6. "INFO=True;USER ID=username; PASSWORD=userpass";
  7. OracleConnection conn = new OracleConnection(connString);
  8. conn.Open();
  9.  
  10. An unhandled exception of type 'System.NullReferenceException' occurred in
  11. Oracle.DataAccess.dll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement