源码信息

最新源码评论

  • 评论者:PiscesGhao
    PiscesGhao(用户[下载于:2015-05-04 09:09]) 发表于:2015-05-04 09:13:16

    在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)

    3 个回复
    • 回复者:PiscesGhao
      PiscesGhao(用户[下载于:2015-05-04 09:09])回复于:2015-05-04 09:14:18

      请问这个怎么解决?能详细说一下吗?感激不尽

    • 回复者:姗姗来吃
      姗姗来吃(用户[下载于:2016-06-16 22:14])回复于:2016-06-21 22:09:50

      打开Web.Config--&gt;找到以下说明"&lt;!--此处设置数据库连接字符串--&gt;" &nbsp;--&gt;更换以下代码为&nbsp;<br /> &lt;!--此处设置数据库连接字符串--&gt;<br /> &nbsp; &nbsp; &lt;add key="ConnectionString" value="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=ManagerWarehouse;Data Source=S7WYL8Q7QI8FAVA"/&gt;<br /> &nbsp; &lt;/appSettings&gt;<br /> &nbsp; &lt;connectionStrings&gt;<br /> &nbsp; &nbsp; &lt;add name="kc_dbConnectionString" connectionString="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=ManagerWarehouse;Data Source=S7WYL8Q7QI8FAVA"/&gt;<br /> &nbsp; &lt;/connectionStrings&gt;<br /> &nbsp; &lt;system.web&gt;<br /> &nbsp; &nbsp;

    • 回复者:姗姗来吃
      姗姗来吃(用户[下载于:2016-06-16 22:14])回复于:2016-06-21 22:12:22

      <span style="color:#666666;font-family:Tahoma;line-height:18px;">Data Source=数据库服务器名称</span>