请求失败或者服务没有及时响应?
当我使用 Windows 身份验证连接到 SQL Server 2008 Management Studio 时,出现以下错误。
"The request failed or the service did not respond in a timely fashion.
Consult the event log or other applicable error logs for details."
有人告诉我为什么我会收到此错误,而我的 SQL Server 正在 a/c 内置的网络服务下运行???
我用谷歌搜索但没有得到解决方案..
谢谢
I have the following error while I connect to SQL Server 2008 Management Studio with Windows authentication.
"The request failed or the service did not respond in a timely fashion.
Consult the event log or other applicable error logs for details."
Is anybody tell me why i am getting this error, whereas my SQL Server is running under network service built in a/c????
I googled it but not getting solution..
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(21)
有同样的问题,我解决了。
日志中选择
选项卡上,从下拉菜单中选择本地系统内置帐户
单选按钮在启动
Had the same problem, I fixed it.
Built-in account
radio button in theLog On
tab and choose Local system from the dropdown menuStart
上述问题发生在我的本地系统中。检查 sql server 配置管理器。
第 1 步:
SQL Server 网络配置
步骤 2:
..在我进行更改后,sql server 浏览器开始工作
Above mentioned issue happened in my local system. Check in sql server configuration manager.
Step 1:
SQL server Network configuration
step 2:
.. after I made changes the sql server browser started working
这确实有效 - 我验证了很多网站并终于得到了答案。
当 master.mdf 或 mastlog.ldf 损坏时,可能会发生这种情况。为了解决该问题,请转到以下路径。
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL
,在那里你会找到一个文件夹“Template Data”,复制 master.mdf 和 mastlog.ldf 并将其替换为C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA
文件夹。就是这样。现在启动 MS SQL 服务就完成了。
This really works - i had verified lot of sites and finally got the answer.
This may occurs when the master.mdf or the mastlog.ldf gets corrupt . In order to solve the issue goto the following path.
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL
, there you will find a folder ” Template Data ” , copy the master.mdf and mastlog.ldf and replace it inC:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA
folder .That's it. Now start the MS SQL service and you are done.
如果您在本地环境中运行 SQL Server,而不是通过 TCP/IP 连接运行。转到“SQL Server 配置管理器”下的“协议”、“属性”,然后禁用 TCP/IP。完成此操作后,重新启动服务时错误消息将消失。
If you are running SQL Server in a local environment and not over a TCP/IP connection. Go to Protocols under SQL Server Configuration Manager, Properties, and disable TCP/IP. Once this is done then the error message will go away when restarting the service.
当我遇到同样的问题时,这非常乏味。当我遇到这个问题时,我卸载了 SQL Server 2008,但再次安装 SQL Server 2008 后,我遇到了同样的问题。我非常紧张,而且我没有从任何网站得到任何帮助。
来克服这个问题。您只需进入 SQL Server 配置管理器,然后单击左侧面板上的协议即可。如果您运行网络服务,只需禁用“VIA”协议。
之后尝试启动 SQL 服务,它将成功运行。
It was very tedious when I get same problem. When I got this problem, I uninstall my SQL Server 2008 but after installing the SQL Server 2008 again,I got the same problem. I was so tensed plus, I had not gotten any help from any site.
To over come this problem. Simply You Need to go on SQL Server Configuration Manager and then click On Protocols on left panel. If you running Network service just disable 'VIA' Protocol.
And after that try to start your SQL service it will run successfully.
如果您最近更改了与服务帐户关联的密码:
If you recently changed the password associated with the service account:
在追踪这个问题几个小时后,我们在 SQL Server 代理日志中发现了一条日志,内容如下:
我们正在使用 SQL Server Express。经过一番谷歌搜索后,似乎 SQL Server Express 不支持 SQL Server Agent。
我没有找到 Microsoft 的直接通信表明 SQL Express 不支持 SQL Server Agent,但是这种情绪似乎在许多论坛上得到回应。
After chasing this issue for some hours, we found an log in the SQL Server Agent logs stating the following:
We were using SQL Server Express. After some Googling it appears SQL Server Express does not support SQL Server Agent.
I didn't find a direct piece of Microsoft communications stating that SQL Express doesn't support SQL Server Agent, however this sentiment seems to be echoed across many forums.
就我而言,问题是我正在运行另外两个 SQL Server 实例(或至少其中一个)导致冲突。
解决方案只是停止其他 SQL Server 实例及其附带的 SQL Server 代理。
当我这样做时,我还建议确保在服务器的协议设置中启用
命名管道
In my case, the issue was that I was running two other SQL Server instances which were (or at least one of them was) causing a conflict.
The solution was simply to stop the other SQL Server instance and its accompanying SQL Server Agent.
While I'm at it, I'll also recommend making sure
Named Pipes
is enabled in your server's protocol settings我从事件日志中发现 My SQL Server 评估已过期。
我需要升级或需要使用社区版。
I found from event logs that My SQL server evaluation has expired.
I needed to upgrade or needed to use community edition.
我有类似的问题。下一个解决方案是在*情况下无法本地启动服务器*,您将看到相同的错误消息。(图 1)
图片 1
Imagen 2
要解决该问题并使服务器正常工作,您必须执行后续步骤。
之后您必须能够看到运行它。
图片 3
图片 4
图片 5
我希望它对您或其他有类似问题的人有用。关注我获取更多提示。
I had a similar issue. The next solution is in *case to can't launch the server Locally * and you will see the same error msg.(Image 1)
Imagen 1
Imagen 2
To solve that and have the server working you must have the next steps.
After that you must be able to see run it.
Image 3
Image 4
Image 5
I hope that works for you or others with similar issues. Follow me for more tips.
只需在sql server配置管理器中禁用VIA协议即可
Just disable the VIA protocol in sql server configuration manager
对我来说,一个简单的 Windows 更新就解决了这个问题,我希望我之前尝试过。
For me a simple windows update fixed it, I wish I tried it before.
我安装了 SQL 2017,并且在免费试用/评估期结束时发生此问题,问题的解决方案如下:
1 - 转到 Windows 开始按钮,找到 Microsoft SQL Server 20XX 文件夹
2- 然后,SQL Server 20XX安装中心
3- 在左侧,选择“维护”选项
4- 然后单击“版本升级”
5- 然后在组合框中选择“开发人员”选项,然后单击“下一步”按钮
6- 单击“版本升级”选项我接受许可条款”,然后下一步
7- 最后,单击“下一步”,然后单击“升级”,等待大约 15 分钟。
8-之后,在“Services.msc”中重新启动 SQL Server 服务并再次打开 SQL,它应该可以工作。
如需了解更多信息,请观看此视频:https://www.youtube.com/watch?v= EVG35ahjec
I have SQL 2017 installed and this issue happens when the free trial / evaluation period ends, the solution to the problem is the following:
1 - Go to the windows start button, find the Microsoft SQL Server 20XX folder
2- Then, SQL Server 20XX Installation Center
3- On the left, select the option "Maintenance"
4- Then click on “Edition upgrade”
5- Then in the combox select "developer" option, and then click on “next” button
6- Click on the option "I accept the license terms" and then next
7- Finally, click on "Next" and click on "Upgrade", and wait approximately 15 minutes.
8- After this, restart the SQL Server service in "Services.msc" and open SQL again, it should work.
For more information: watch this video: https://www.youtube.com/watch?v=EVG35ahhjec
我认为这个解决方案更合适,因为它不会阻止你使用TCP/IP访问。
(来源:https://msdn.microsoft.com/en-us/library/ ms175043.aspx)
I think this solution is more appropriate, because it does not prevent you from using TCP/IP access.
(Source: https://msdn.microsoft.com/en-us/library/ms175043.aspx)
如果您仍在滚动浏览答案,那么您可能还错过了一步。
使用管理员访问权限打开 SQL Server 配置管理器。
首先应用更改(到本地系统),然后尝试运行。
If you are still scrolling through the answers, here is one more step you might have missed.
Open SQL server configuration manager with admin access.
Apply the changes first(to local System) and then try to run.
如果您在企业或企业环境中使用“管理工具”下的“计算机管理”或“SQL Server 配置管理器”来配置 SQL Server 连接,
确保您以管理员身份打开计算机管理或 SQL Server 配置管理器,或者您已
上面的所有答案对我来说都不起作用,但是当我以管理模式运行它时,我现在可以启动我的 SQL Server 代理或 SQL Server 服务。
If you are configuring your SQL Server connection using
Computer Management
under Administrative Tools orSQL Server Configuration Manager
in Enterprise or Corporate environment,make sure you open your Computer Management or SQL Server Configuration Manager as an Administrator or you have
All answers above didn't work for me, but when I run it as Administrative mode, I can now start my SQL Server Agent or SQL Server service.
对我来说,当我卸载 Microsoft Visual C++ 2015-2020 Redistributable 并安装 Microsoft Visual C++ 2017 版本时,也发生了类似的问题
。重新安装 Microsoft Visual C++ 2015-2020 Redistrubutable 版本时修复了此问题。然后服务自动启动。
For me happened similar issue when I did uninstall Microsoft Visual C++ 2015-2020 Redistributable and installed the Microsoft Visual C++ 2017 version
Fixed this issue when re-installed Microsoft Visual C++ 2015-2020 Redistrubutable versions. then services started automatically.
尝试从不同的帐户更改登录名:
Try changing login from different account:
这是因为您的两个 SQL Server 使用
相同的 TCP 端口号
,即1433
,并且一次只能有一台服务器在此端口上运行。您必须从以下设置中更改或删除端口号;保存这些设置后,立即启动所需的服务器。
祝你好运
This is beacuse your both SQL Servers are using
same TCP Port Number
i.e.1433
and only one server could run at this port at a time. You have to change or Remove Port number from below settings;After save these settings now Start your required server.
Good Luck
另请检查您是否有 Express 版本或开发人员版本
因为 Express 版本不允许
Also check you have Express edition or developer edition
cause Express edition don't allow
https://social.technet.microsoft.com/wiki/contents/articles/52394.sql-server-troubleshooting-logon-failure- the-user-has-not-been-granted-the-requested-logon-type-at-this-computer.aspx
事件查看器显示
登录失败 - 尚未授予用户在此计算机上请求的登录类型
https://social.technet.microsoft.com/wiki/contents/articles/52394.sql-server-troubleshooting-logon-failure-the-user-has-not-been-granted-the-requested-logon-type-at-this-computer.aspx
event viewer shows
Logon failure - the user has not been granted the requested logon type at this computer