连接字符串异常

连接字符串错误
连接字符串错误,在VS2010下正常,但是发布之后部署在IIS6.0下,却提示错误信息:

The entry 'MyConnString' has already been added.(‘MyConnString’条目已经被添加)

问题:这是怎么回事?“WebConfig”中只有一个“MyConnString”连接字符串啊,怎么会提示已填加?



WebConfig:
</location>
  <connectionStrings>
  <!--ZZQ: FOR TEST-->
  <add name="MyConnString" connectionString="server=10.10.233.120;database=dx20120316;uid=sa;pwd=cems;"/>
  <!--<add name="MyConnString" connectionString="server=10.10.233.120;database=cems0718;uid=sa;pwd=cems;"/>-->
  </connectionStrings>
<system.web>

详细错误信息:
Server Error in '/DX' Application.
--------------------------------------------

Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: The entry 'MyConnString' has already been added.

Source Error: 


Line 40: <connectionStrings>
Line 41: <!--ZZQ: FOR TEST-->
Line 42: <add name="MyConnString" connectionString="server=localhost;database=dx20120316;uid=sa;pwd=cems;"/>
Line 43: <!--<add name="MyConnString" connectionString="server=localhost;database=cems0718;uid=sa;pwd=cems;"/>-->
Line 44: </connectionStrings>
 

Source File: D:\DX\web.config Line: 42 


--------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

------解决方案--------------------
查看一下你的上一级目录的web.config
------解决方案--------------------
查看一下上一级目录的web.config
------解决方案--------------------
查看你项目中有几个web.config
整个项目搜索一下:MyConnString
------解决方案--------------------
楼主好实在啊,你好歹掩饰掩饰你的服务器用户名和密码啊
------解决方案--------------------
探讨

急,急,急啊。。。

------解决方案--------------------
虽然帮不上忙,但是过来学习一下,希望楼主尽早解决困难
------解决方案--------------------
探讨

引用:

引用:

急,急,急啊。。。

<connectionStrings>
<!--ZZQ: FOR TEST-->
<add name="MyConnString" connectionString="server=10.10.233.120;database=dx20120316;uid=sa;pwd=cems;"/>
<!--<……