简体   繁体   English

在 Windows 11 上使用 SQL Server 2019 安装 SQL 服务器数据库引擎服务时出错

[英]Error installing SQL Server Database Engine Services with SQL Server 2019 on Windows 11 Home

I am facing an issue in installing SQL Server 2019 on my Windows 11 Home machine.我在我的 Windows 11 家用机器上安装 SQL Server 2019 时遇到问题。

The problem is问题是

Wait on the Database Engine recovery handle failed.等待数据库引擎恢复句柄失败。 Check the SQL Server error log for potential causes检查 SQL 服务器错误日志以了解潜在原因

I have added the log details below我在下面添加了日志详细信息

Detailed results:
  Feature:                       Database Engine Services
  Status:                        Failed
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

I tried reinstalling the SQL Server multiple times, both Developer edition and Express edition, but no luck.我尝试多次重新安装 SQL 服务器,包括开发版和快捷版,但没有成功。

I also tried changing the NT Service/MSSQLServer to NTAuthority/NetworkService or NTAuthority/LocalSystem , but again - no luck.我还尝试将NT Service/MSSQLServer更改为NTAuthority/NetworkServiceNTAuthority/LocalSystem ,但又一次 - 没有运气。

Could anyone help me?有人可以帮我吗?

在此处输入图像描述

Event Viewer log:事件查看器日志:

在此处输入图像描述

Twisted is designed to make stuff like that fairly simple Twisted旨在使这样的东西相当简单

import time

from twisted.web import server, resource
from twisted.internet import reactor

class Simple(resource.Resource):
    isLeaf = True
    def render_GET(self, request):
        return "<html>%s Iterations!</html>"%n

def main():
    global n
    site = server.Site(Simple())
    reactor.listenTCP(8080, site)
    reactor.startRunning(False)
    n=0
    while True:
        n+=1
        if n%1000==0:
            print n
        time.sleep(0.001)
        reactor.iterate()

if __name__=="__main__":
    main()

The installation storage device seems to have/report an inappropriate sector size.安装存储设备似乎有/报告了不适当的扇区大小。

Take a look at Troubleshoot errors related to system disk sector size greater than 4 KB and Microsoft support policy for 4K sector hard drives in Windows .查看 Windows 中与系统磁盘扇区大小大于 4 KBMicrosoft 对 4K 扇区硬盘驱动器的支持策略相关的故障排除错误。

I'd suggest creating a new thread and running a web server (such as Python's built-in SimpleHTTPServer or BaseHTTPServer ). 我建议创建一个新线程并运行一个Web服务器(例如Python的内置SimpleHTTPServer或BaseHTTPServer )。 Threads really aren't that scary when it comes down to it. 线程确实不是那么可怕。

from threading import Event, Thread
import BaseHTTPServer

shut_down = Event()

def http_server():
    server_address = ('', 8000)
    httpd = BaseHTTPServer.HTTPServer(server_address, BaseHTTPServer.BaseHTTPRequestHandler)

    while not shut_down.is_set():
        httpd.handle_request()

thread = Thread(target=http_server)
thread.start()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Windows 11 中安装 SQL Server 2019 时出错 - Getting Error Installing SQL Server 2019 in Windows 11 SQL Server 2019 安装 Windows 11 “等待数据库引擎恢复句柄失败”错误 - SQL Server 2019 installation Windows 11 "Wait on the Database Engine recovery handle failed" Error 在 linux 服务器 ubuntu 16.04 中安装 SQL Server 2019 时出错 - Error during installing SQL Server 2019 in linux server ubuntu 16.04 无法在 Windows 11 上运行 SQL Server 2019 安装文件 - Couldn't run the SQL Server 2019 installation file on Windows 11 在 SQL Server 2019 / SSRS 中,SQL 数据库引擎和报告服务器名称是否应该不同? - In SQL Server 2019 / SSRS, are the SQL database engine and report server names supposed to be different? 在SQL Server 2012中安装之前缺少数据库引擎服务 - Database engine services are missing before installation in SQL Server 2012 使用 SQL 服务器 2019 开发人员安装 SQL 服务器分析服务 - Install SQL Server Analysis Services w/ SQL Server 2019 Developer 安装Reporting Services-本机(SQL Server 2014)错误 - Installing Reporting Services - Native (SQL Server 2014) error 带有 SQL Server 2019 Express 的 Windows Server 2019 上的 Hangfire - Hangfire on Windows Server 2019 with SQL Server 2019 Express 在Windows 8上安装SQL Server 2012 - Installing SQL Server 2012 on Windows 8
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM