卸载sql server 2005 express之后,应用程序依然连接SQL Server 2005

jinzhouk 2006-12-07 04:29:32
我有个应用程序,原来是VSS2003编译的,连接的数据库是远程的sql server 2000。最近我在机器里安装了sql server 2005 express和vss 2005,后来又删除了sql server 2005 express。现在这个程序在执行DbDataAdapter.Fill时,出现以下错误:

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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)

实际上我已经完全卸载了sql 2005,并且我要连接的是远程的sql server。另外,我电脑里还有其他的应用程序,他们就没有这个问题。
...全文
230 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
jinzhouk 2006-12-08
  • 打赏
  • 举报
回复
不好意思,犯了低级错误。我的认证方式设成了只有windows认证。
jinzhouk 2006-12-08
  • 打赏
  • 举报
回复
我没有安装mobile版。另外,我如果用windows认证的方式就可以连到localhost。
tmc1703 2006-12-08
  • 打赏
  • 举报
回复
vss 2005 里自带SQL2005MOBILE版本的
jinzhouk 2006-12-08
  • 打赏
  • 举报
回复
今天我发现无法用查询分析器登陆到localhost。我的认证方式为SQL认证。Not associated with trusted server.

22,210

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧