永发信息网

sql server express改成了sql server2005后,程序调试时出错

答案:1  悬赏:10  手机版
解决时间 2021-07-19 11:35

<connectionStrings>
<add name="constr" connectionString="Data Source=.\SqlExpress;uid=sa;pwd=sa;Initial Catalog=OA_DB" providerName="System.Data.Client"/>
<add name="OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="OA_DBConnectionString1" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Integrated Security=True;MultipleActiveResultSets=False;Packet Size=4096;Application Name=&quot;Microsoft SQL Server Management Studio&quot;" providerName="System.Data.SqlClient"/>
<add name="OA_DBConnectionString2" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="OA_DBConnectionString3" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="sj_OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;Password=" providerName="System.Data.SqlClient"/>
<add name="sj_OA_DBConnectionString2" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;Password=" providerName="System.Data.SqlClient"/>
<add name="wc_OA_DBConnectionString2" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="wc_OA_DBConnectionString3" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="wc_OA_DBConnectionString9" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="wc_OA_DBConnectionString10" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="qs_OA_DBConnectionString2" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="qs_OA_DBConnectionString4" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="qs_OA_DBConnectionString5" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="qs_OA_DBConnectionString6" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="qs_OA_DBConnectionString1" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="qs_OA_DBConnectionString3" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="table_tz_OA_DBConnectionString1" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
<add name="table_xw_OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
<add name="table_file_OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
<add name="table_message_OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
<add name="table_bbs_OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
<add name="table_gx_OA_DBConnectionString" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
<add name="linminchao_OA_DBConnectionString5" connectionString="Data Source=.\SqlExpress;Initial Catalog=OA_DB;Persist Security Info=True;User ID=sa;pwd=sa" providerName="System.Data.SqlClient"/>
</connectionStrings>

最佳答案

把链接字符串改了


connectionString="Data Source=.\SqlExpress;uid=sa;pwd=sa;Initial Catalog=OA_DB"


应为


connectionString="Data Source=.;uid=sa;pwd=sa;Initial Catalog=OA_DB"

我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
假如时光倒流,你会做什么?
承诺又有什么用的句子,有什么优秀的景物描写
(DNF)今天把粉光剑加上了12,请问如何成功加上
我现在喜欢一个女孩,可是太多的不允许,我又
怎么洗掉文身?
Y450A—PSE(W)(灰)P7450与Y450A-PSE(D)P7350
DNF天神现在怎么老是网络连接错误?
DNF怎么分别蓝装和紫装?
眼睛旁边长了脂肪粒,怎样安全祛除?如何预防再
我想开个养猪场行吗?
感恩大自然的诗歌,急求感恩大自然赐予之恩演
点数为2348,穿+SFS白金或+SFS红龙,应该怎么
养过猫、古牧或者萨摩的给点建议
请问PS2买来 配件都齐全么?比如手柄之类的!
谁有电脑上手机网络的网址吗?
推荐资讯
请问把一吨25度的水变成水蒸汽需要多少煤,
津狮超市在什么地方啊,我要过去处理事情
为什么外国的汽缸盖比中国的薄厚
怎么QQ农场无法开通?
扫描上去电脑的图片能进行编辑吗?
如何领取丝路英雄的CD-key?
油耗突然增高是什么原因
CAD2007小问题,望会的教下小弟
英语中 独一无二的要加the?具体讲下不定冠词
街舞分为几种?
政治面貌类别?
怎样才能成为一位出色的美容师?
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?