SQL 2005的Error26
2006-01-03 10:22
429 查看
开始体验VS2005就遭遇挫折,创建一个很小的工程没使用ORMapping工具而直接使用ADO来连接。环境如下:windXPsp2+ASP.Net 2005+C#+SQL2K,这里连接的是SQL2K,但是装上SQLExpress2005,出现了下面的错误:An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
花了偶1天多时间试试了,改实例名等等,在网上找了半天讲的是连接SQL express 2005的,要知道偶连接的是SQL2k,所以开始的时候没想到在SQLExpress2005上的设置,后来修改其Remote Connection enable,就可以使用了。
但是偶到目前为止还不知道这到底是什么原因。以后发现了,再补上,如果您知道,请告诉偶。
花了偶1天多时间试试了,改实例名等等,在网上找了半天讲的是连接SQL express 2005的,要知道偶连接的是SQL2k,所以开始的时候没想到在SQLExpress2005上的设置,后来修改其Remote Connection enable,就可以使用了。
但是偶到目前为止还不知道这到底是什么原因。以后发现了,再补上,如果您知道,请告诉偶。
相关文章推荐
- Sql2005:error: 26 - 定位指定的服务器/实例时出错(特别的案例)
- SQL 2005 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)
- 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)
- 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)
- 错误:在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错) 解
- sql2005 provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错
- 关于连接SQL 2005 出错: provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错 的解决方法
- (转)在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错)
- SQL 2005远程连接是出错(provider: SQL 网络接口, error: 28 - 服务器不支持请求的协议)
- provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified解决办法
- webpartmanager SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错
- SQL 2005 ERROR:3145 解决办法(备份集中的数据库备份与现有的数据库不同)
- 使用linq to sql更换数据源时 出现 sql server 的 error:26 的另类原因
- Sql2005:provider: 命名管道提供程序, error: 40 - 无法打开到 S...
- 7、provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错
- Restore SQL Server 2005 error : "The tail of the log for the database "TEST1" has not been backed up."
- SQL 2005远程连接是出错(provider: SQL 网络接口, error: 28 - 服务器不支持请求的协议
- 机房收费系统之链接篇(SQL Server Error:26 & SQL Server Error:5120)
- Sql2005:provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接
- sql server 2005 T-SQL @@ERROR (Transact-SQL)