原贴在这里:http://community.csdn.net/Expert/topic/3540/3540615.xml?temp=.8247034

解决方案 »

  1.   

    是不是其它机器的Sql Server 密码访问方式没有启动sql server 方式登陆,而是采用windows 授权管理的.
      

  2.   

    SQL Server的访问用户名和权限重新设置好,在试试
      

  3.   

    在Web.config中配置以下内容:
    <configuration>
         <configSections>
    <section name="appParams" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
      </configSections>  <appParams>
    <add key="ConnectionString" value="server=TOKYHQ001;database=EflyOA;user id=sa;password=sa"/>
      </appParams>
      

  4.   

    先試一下在你的sql里面可不可以正常進入再試一下在你的程式里面得到的值是不是正確的