[英]SQL Server 2005 Express installed after SQL Server 2008 Express
I already had the SQL Server 2008 Express engine installed (just the bit that comes with VS 2008 Express). 我已经安装了SQL Server 2008 Express引擎(只是VS 2008 Express附带的功能)。 I then installed SQL Server 2005 Express followed by SQL Server 2005 Management Studio Express, all of which seemed to install OK without any errors.
然后,我先安装SQL Server 2005 Express,再安装SQL Server 2005 Management Studio Express,所有这些似乎都可以正常安装,没有任何错误。 However, when I run SQL Server 2005 Management Studio and enter the Server name as machine name\\SQLEXPRESS and click Connect I get the message: "This version of SQL Management Studio Express can only be used to connect to SQL Server 2000 and 2005 servers".
但是,当我运行SQL Server 2005 Management Studio并输入服务器名称作为计算机名\\ SQLEXPRESS并单击“连接”时,我收到消息:“此版本的SQL Management Studio Express仅可用于连接到SQL Server 2000和2005服务器” 。 Presumably the instance name SQLEXPRESS refers to the 2008 version, is the 2005 instance a different name, or is it a different problem?
大概实例名称SQLEXPRESS指的是2008版本,2005实例是其他名称,还是不同的问题? Any ideas please, thanks
任何想法,谢谢
You are right that the SQL 2008 Express took the 'SQLEXPRESS' instance name. 您认为SQL 2008 Express使用了“ SQLEXPRESS”实例名称是正确的。 The 2005 toolset cannot connect to 2008. You need to find out the isntance name under which the 2005 VS installed it's Express.
2005工具集无法连接到2008。您需要找出用于安装2005 VS的Express的名称。 Easiest way is to start the Service Manager (run
services.msc
)and see the instance name there. 最简单的方法是启动服务管理器(运行
services.msc
)并在其中查看实例名称。
Run "services.msc" and check the service name that is running your SQLServer 2005 Express instance. 运行“ services.msc”,并检查正在运行SQLServer 2005 Express实例的服务名称。 You should use it, and not "SQLEXPRESS" if it is running your SQLServer 2008 instance.
您应该使用它,而不是“ SQLEXPRESS”(如果它正在运行SQLServer 2008实例)。
Btw, SSMS 2008 works beautifully with 2005 instances. 顺便说一句,SSMS 2008与2005实例完美配合。 Check this link to download SSMS Express 2008. I'm not sure code completion will work with SQLServer 2005 tho.
检查此链接以下载SSMS Express2008。我不确定代码完成是否可用于SQLServer 2005。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.