0
나는 XE 데이터베이스에 연결하기 위해이 코드를 사용했습니다 :다른 시스템의 Oracle XE 데이터베이스에 연결할 수 없습니까?
OracleConnection con = new OracleConnection();
con.ConnectionString = "data source=XE;user id=hr;password=sdmo1365";
con.Open();
OracleCommand com = new OracleCommand();
com.CommandText = "select * from regions;";
com.Connection = con;
DataTable dt = new DataTable();
dt.Load(com.ExecuteReader());
con.Close();
grd.DataSource = dt;
grd.DataBind();
다른에서 작업이 오류를 포기하지 않을 동안 하나의 PC에서 일하고 : oracleexception는 사용자 코드 유일한 차이에 의해 처리되지 않은 했다 해당 컴퓨터의 tnsnames.ora는 호스트가 더 이상 작동하지 않는 컴퓨터에 있습니다 (사용자가 도메인 아래에 있기 때문에) (HOST = MOSININI-9.novini.mms.sti) 이게 문제가됩니까? 감사합니다.