VWD 无法创建 SQL Server 数据库

发布于 2024-11-01 21:06:09 字数 354 浏览 8 评论 0原文

当我尝试将 SQL Server 数据库添加到网站项目(通过添加新项目)时,出现以下错误:

“与 SQL Server 数据库的连接 文件 (.mdf) 需要 SQL Server 2005 Express 或 SQL Server 2008 Express 至 在本地安装并运行 电脑。目前的版本可以是 从...下载”

尽管已经安装了 SQL SErver Express 2008 - 并且看到它在服务下运行。

许多其他 SQL 实例过去一直在计算机上,尽管它们已被卸载。

我尝试重新安装 SQL & ;VWD多次无果。

When I attempt to add a SQL Server database to a website project (via add new items), I get the following error:

enter image description here

"Connections to SQL Server database
files (.mdf) require SQL Server 2005
Express or SQL Server 2008 Express to
be installed and running on the local
computer. The current version can be
downloaded from..."

This is despite having installed SQL SErver Express 2008 - and seeing it running under services.

A number of other instances of SQL have been on the machine in the past although they have been uninstalled.

I have tried reinstalling SQL & VWD several times to no avail.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

屋顶上的小猫咪 2024-11-08 21:06:09

检查“SQL Server实例名称”设置:

工具-->选项 -->数据库工具 --> DataConnections

验证实例名称是否与您的 SQL08 实例匹配。

Check the "SQL Server Instance Name" which is setup in:

Tools --> Options --> Database Tools --> DataConnections

Verify that the instance name matches your SQL08 instance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文