SQL Server 2005 Express - 无法打开连接
我在 Vista Ultimate 计算机上安装了 Microsoft SQL Server 2005 Express 版本。但是,当它打开时,我输入我的计算机名称/SQLEXPRESS。当我单击“连接”按钮时,它会显示一条错误消息。
在配置工具下我找不到 SQL Server 外围应用配置。它只有 SQL Server 错误和使用情况报告。
单击“连接”按钮时收到的错误消息是:
建立与 SQL Server 的连接时发生网络相关或特定于实例的错误。找不到服务器或无法访问服务器。验证实例名称是否正确以及 SQL Server 是否配置为允许远程连接(提供程序:Named Pipes Provider,错误 40 - 无法打开与 SQL Server 的连接)(Microsoft SQL Server:错误 67)
I installed Microsoft SQL Server 2005 Express edition on my Vista Ultimate computer. However, when it opens I enter my computer name / SQLEXPRESS. When I click the Connect button, it gives me an error message.
Under the configuration tools I cannot find the SQL Server Surface Area Configuration. It only has SQL Server Error and Usage Reporting.
The error message I receive when I click the Connect button is:
A network related or instance specific error occurred while establsihing a connection to SQL server. The server was not found or was not accessible. Verify that the instance name is correct and that the SQL server is confugured to allow remote connection (provider: Named Pipes Provider, error 40- Could not open a connection to SQL Server) (Microsoft SQL Server : error 67)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
另一件需要检查的事情是运行 SQL Express 服务的帐户。我认为它默认为网络服务,但我通常在本地系统下运行它(或者如果您雄心勃勃,可以为其创建一个服务帐户)。这解决了我过去在使用 SQL Express 时遇到的一些权限问题。
Another thing to check for is the account that the SQL Express service is running under. I think it defaults to network service, but I typically run it under Local System (or if you're feeling ambitious, make a service account for it). This has taken care of a handful of permission issues I've had with SQL Express in the past.
从您所写的问题来看,斜杠似乎不正确。尝试:
同时确保您的 SQL Server 服务已启动。运行
services.msc
并找到SQL Server(SQLExpress)
。From your question, as you'd written, it appears the slash is incorrect. Try:
Also ensure that your SQL Server services are started. Run
services.msc
and findSQL Server(SQLExpress)
.