如何解决 Windows 7 下 SQL Server 2005 中的错误 233?
我正在使用 SQL Server 身份验证创建新的登录名。创建登录名后,我尝试使用 SQL Server 身份验证连接到数据库。这会产生以下错误:
无法连接到(服务器名称)即计算机名称/sql\express
附加信息:
连接成功 与服务器建立,但随后 登录时发生错误 过程。 (提供者:共享内存 提供商,错误:0 - 没有进程开启 管子的另一端。) (Microsoft SQL Server,错误:223)
以下是我已经尝试进行故障排除的方法:
- 启用所有协议
- 确保我以管理员身份运行
- 将身份验证模式设置为 Windows 和 SQL Server 身份验证
不幸的是,这些步骤似乎都不起作用。我该如何修复这个错误?
I'm creating a new login with SQL Server authentication. Once the login is created, I then try to connect to the database using SQL Server authentication. This produces the following error:
Cannot connect to (SERVER NAME) i.e machine name/sql\express
Additional Information:
A connection was successfully
established with the server, but then
an error occurred during the login
process. (provider: Shared Memory
Provider, error: 0 - No process is on
the other end of the pipe.)
(Microsoft SQL Server, Error: 223)
Here is what I have already tried for troubleshooting:
- Enabling all the protocols
- Ensuring that I am running as Administrator
- Setting the Authentication Mode to Windows and SQL Server Authentication
Unfortunately, none of these steps seem to have worked. How can I fix this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是一篇博客文章,不仅包含有关如何启用/禁用登录的屏幕截图,还为您提供了有关 SQL 安全性的更多信息(以防有人通过 google 搜索此答案并需要该信息)
http://sudeeptanguly.wordpress.com/2010/04/20/如何在 sql-server 中启用 sa-account/
Here is a blog post that not only contains screen shots on how to enable\disable a login, it gives you some more info on SQL security (incase somebody googles this answer and needs the info)
http://sudeeptaganguly.wordpress.com/2010/04/20/how-to-enable-sa-account-in-sql-server/
通过
Windows
帐户登录 Sql Server,然后依次展开Security
和Logins
。如果您看到sa
或您的新帐户的图标右下角有一个向下的箭头,请右键单击登录
,然后选择属性< /代码>。在这里,单击左侧的
Status
,然后选中Enabled
单选按钮,然后单击OK
。然后,尝试使用该帐户登录。Log in to Sql Server via a
Windows
account and then expandSecurity
and thenLogins
. If you see thatsa
or your new account has a downward facing arrow in the bottom right hand corner of the icon, right mouse click thelogin
and selectProperties
. In here, clickStatus
on the left hand side and then check theEnabled
radio button and then clickOK
. Then, try and log in with this account.您所需要的只是将 SQL Server 作为服务重新启动!!!
您可以使用 SQL Server 配置管理器来完成此操作。
这个答案在类似问题上还可以
连接时出现 SQL Server 错误 223
All you need is to restart SQL Server as a SERVICE!!!
You can do it with SQL Server Configuration Manager.
This answer was OK on similar question
SQL Server Error 223 When Connecting