卸载sql server 2005 express之后,应用程序依然连接SQL Server 2005
我有个应用程序,原来是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。另外,我电脑里还有其他的应用程序,他们就没有这个问题。