简体   繁体   English

在SQL Server 2008 Express之后安装SQL Server 2005 Express

[英]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.

相关问题 可以使用SQL Server 2005 Standard安装SQL Server 2008 Express - Can SQL Server 2008 Express be installed with SQL Server 2005 Standard 安装SQL Server 2008时,删除由Visual Studio 2008安装的SQL Server 2005 Express是否安全? - Is it safe to remove the SQL Server 2005 Express installed by Visual Studio 2008 when SQL Server 2008 is installed? 是否将SQL Server Express 2008降级为SQL Server Express 2005? - Downgrading SQL Server Express 2008 to SQL Server Express 2005? SQL Server 2005 Express - SQL Server 2005 Express SQL Server 2005 Express与Visual Web Developer 2008 Express的连接 - SQL Server 2005 express connection with Visual Web Developer 2008 express sql server 2005 Express和sql server 2008开发人员版 - sql server 2005 express and sql server 2008 developer edition 通过Web同步将SQL Server 2008复制到SQL Express 2005 - SQL Server 2008 Replication to SQL Express 2005 via web sync 与VS2008和SQL Server Express 2005并排安装SQL Server Express 2008 - Installing SQL Server Express 2008 side-by-side with VS2008 and SQL Server Express 2005 SQL Server 2005 Express:分组依据 - SQL Server 2005 Express : Group By 使用哪个Express Edition:SQL Server 2005或2008 R2? - Which Express Edition to go with: SQL Server 2005 or 2008 R2?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM