ASP.NET连接oracle数据库web文件连接字符串? 5
#TNSNAMES.ORANetworkConfigurationFile:D:\oracle\ora92\network\admin\tnsnames.ora#Gene...
# TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ahdxdb =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.24.50.97)(PORT = 11521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.24.50.99)(PORT = 11521))
(LOAD_BALANCE = yes)
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =ahdxdb)
)
)
库名database=ahdxdb
账号uid=dxxtgl
密码pwd=Qwer4321
我的数据库连接字符串是 <add name="ConnectionString" connectionString="server=127.0.0.1;database=ahdxdb;uid=dxxtgl;pwd=Qwer4321" providerName="System.Data.SqlClient"/>
请问有什么错误 展开
# Generated by Oracle configuration tools.
ahdxdb =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.24.50.97)(PORT = 11521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.24.50.99)(PORT = 11521))
(LOAD_BALANCE = yes)
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =ahdxdb)
)
)
库名database=ahdxdb
账号uid=dxxtgl
密码pwd=Qwer4321
我的数据库连接字符串是 <add name="ConnectionString" connectionString="server=127.0.0.1;database=ahdxdb;uid=dxxtgl;pwd=Qwer4321" providerName="System.Data.SqlClient"/>
请问有什么错误 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询