如果是採用 WebConfing appSettings 指定連線字串,手動寫連線字串則不用
<add key="xxx" value="Data Source=orcl;User Id=XXX;Password=XXX;Min Pool Size=10;Max Pool Size=10 " />
那麼要在開發平台的目錄裡面
tnsnames.ora 設定要設定
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.33)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
沒有留言:
張貼留言