ORA-01005 error connecting with ODP.Net
问题 I am trying to access an Oracle database (version 10.2.0.4.0) using the following code but an "ORA-01005: Null password given; logon denied" exception is raised by the connection when it's open method is called. var connBuilder = new OracleConnectionStringBuilder(); connBuilder.DataSource = "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = MyHost.Address)(PORT = ####)) )(CONNECT_DATA =(SERVICE_NAME = MyService)))"; connBuilder.UserID = "validUserId"; connBuilder.Password =