Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server 如何使用集成在VS2008中的SQL Server 2005 Express?_Sql Server_Sql Server 2005_Sql Server Express - Fatal编程技术网

Sql server 如何使用集成在VS2008中的SQL Server 2005 Express?

Sql server 如何使用集成在VS2008中的SQL Server 2005 Express?,sql-server,sql-server-2005,sql-server-express,Sql Server,Sql Server 2005,Sql Server Express,我已经在运行WindowsVista Ultimate 32位的笔记本电脑上安装了VisualStudio2008 我无法使用服务器资源管理器->数据连接->添加新的SQL Server数据库创建数据库。将显示“创建新SQL Server数据库”窗口,但“服务器名称”下拉列表中没有名称。我不知道为什么会这样。起初,我不确定是否安装了SQL Server Express 但现在我分别安装了快速版。同样的问题也存在。我该怎么办?SQL Server服务必须正在运行。而且,正如我所记得的,你提到的盒子

我已经在运行WindowsVista Ultimate 32位的笔记本电脑上安装了VisualStudio2008

我无法使用
服务器资源管理器->数据连接->添加新的SQL Server数据库创建数据库
。将显示“创建新SQL Server数据库”窗口,但“服务器名称”下拉列表中没有名称。我不知道为什么会这样。起初,我不确定是否安装了SQL Server Express


但现在我分别安装了快速版。同样的问题也存在。我该怎么办?

SQL Server服务必须正在运行。而且,正如我所记得的,你提到的盒子没有试图列举实例;您必须手动键入它们(然后将它们保存在MRU类型的列表中,以备将来连接)


如果它与您正在开发的系统在同一个系统上,您可以在框中键入
localhost
,然后它应该连接。

如果有,请使用代码部分将您的问题弄清楚。我做了,没问题。。。但是,当我通过ManagementStudio执行“createdatabaseabc”命令时,我收到一条错误消息,指出“在数据库主控中拒绝创建数据库权限”。原因是什么?