数据库做了镜像后,Web应用中Web.config的数据库连接串配置
2010-11-24 16:35
274 查看
<connectionStrings>
<add name="TestDB" providerName="System.Data.SqlClient" connectionString="data
source=主体数据库地址;Failover Partner=镜像数据库地址;Integrated
Security=false;database=TestDB;user=sa;password=123456"/>
</connectionStrings>
<add name="TestDB" providerName="System.Data.SqlClient" connectionString="data
source=主体数据库地址;Failover Partner=镜像数据库地址;Integrated
Security=false;database=TestDB;user=sa;password=123456"/>
</connectionStrings>
相关文章推荐
- ASP.NET中使用web.config配置web应用程序中的数据库连接
- 配置数据库链接web.config---ConnectionString
- web.config数据库连接串
- Web.config中配置数据库的方法
- aspnet中在web.config中配置连接数据库的两种方法
- ASP.NET web.config中数据库连接字符串connectionStrings节的配置方法
- Web.config配置数据库(Excel导入导出举例)
- 在Web.config中配置数据库连接(利用抽象工厂方便更换数据库)
- webconfig中配置各种数据库的连接字符串
- ASP.NET中使用web.config配置web应用程序中的数据库连接
- Web.Config文件配置之数据库连接配置
- Web.Config文件中添加数据库配置文件
- 通过web.config设置数据库连接串
- Web.config配置链接数据库
- ASP.NET中使用web.config配置web应用程序中的数据库连接
- web.config中配置数据库连接的方式
- web.config配置文件链接数据库的方法
- web.config中配置数据库转接
- asp.net数据库连接web.config配置
- web.config中配置数据库连接的两种方式