Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Van toepassing op:SQL Server
Bijzonderheden
| Eigenschap | Waarde |
|---|---|
| Productnaam | SQL Server |
| Gebeurtenis-id | 17182 |
| Bron van gebeurtenis | MSSQLSERVER |
| Onderdeel | SQLEngine |
| Symbolische naam | INIT_TDSSNICLIENT |
| Berichttekst | TDSSNIClient initialisatie is mislukt met fout 0x%lx, statuscode 0x%lx. Reden: %S_MSG %.*ls |
Uitleg
Wanneer SQL Server wordt gestart, is een van de stappen die nodig zijn om een TDS-listener (Tabular Data Stream) en netwerkbibliotheken te initialiseren om binnenkomende verbindingen te accepteren. Als deze initialisatie mislukt, wordt fout 17182 gegenereerd. Initialisatieactiviteiten omvatten het starten van de SNI-laag/TDS-listener, het configureren of initialiseren van poorten, protocollen, SSPI-verificatiecontext , versleuteling (TLS/SSL) enzovoort.
Deze fout wordt meestal samen met andere fouten gegenereerd MSSQLSERVER_17826 en MSSQLSERVER_17120
Het foutbericht 17182 bevat drie tijdelijke aanduidingen die dynamisch worden ingevuld op basis van het probleem dat is opgetreden. De hexadecimale waarde 'mislukt met fout 0x%lx' is de onderliggende os-fout die is opgetreden. Dit is het belangrijkste onderdeel van de fout. De tekst na 'Reden: ' is het tekstbericht dat is gekoppeld aan deze besturingssysteemfout. Hier volgt een voorbeeld van deze fout:
Error: 17182, Severity: 16, State: 1.
TDSSNIClient initialization failed with error 0x139f, status code 0x80. Reason: Unable to initialize SSL support. The group or resource is not in the correct state to perform the requested operation.
In dit geval is de fout van het besturingssysteem = 0x139f, wat 5023 in decimaal is. Als u naar een opdrachtprompt gaat en typt net helpmsg 5023 om deze besturingssysteemfout op te zoeken, krijgt u het volgende: 'De groep of resource heeft niet de juiste status om de aangevraagde bewerking uit te voeren'. Deze tekst ziet u na 'Reden:' in het voorbeeld.
De derde tijdelijke aanduiding is statuscode. Het is een interne waarde die aangeeft welk onderdeel in de initialisatie is mislukt. Dit kan Microsoft helpen bij het oplossen van het probleem, indien nodig. Hier volgen enkele algemene statuscodes die zijn waargenomen:
| Statuscode | Betekenis |
|---|---|
| 0x01 | SNI-client |
| 0x04 | Geen listener (leeg) |
| 0x0a | TCP/IP-provider |
| 0x40 | Provider voor gedeeld geheugen |
| 0x50 | Benoemde pipe-provider |
| 0x80 | SSL-provider |
Oorzaak
Er kunnen meerdere redenen zijn waarom de fout kan leiden, maar ze hebben allemaal betrekking op het initialiseren van netwerkbibliotheken of versleuteling op de SNI-laag (SQL Server Network Interface). Hieronder volgen een aantal voorbeelden:
- Onjuist geconfigureerde netwerkprotocollen
- er is geen protocol geselecteerd
- ongeldige TCP-poorten zijn opgegeven
- Onjuist geconfigureerde TLS/SSL voor netwerkversleuteling
- ongeldig certificaat,
- ongeldige TLS-versie
- ongeldige of ontbrekende registersleutelconfiguratie
- Probleem met besturingssysteem met protocollen of TLS/SSL
Gebruikersactie
Onjuist geconfigureerde protocollen oplossen Een veelvoorkomend probleem dat is gerapporteerd, bevat onjuist geconfigureerde SQL Server-protocollen. Lees SQL Server can't start if all the protocols are disabled (SQL Server kan niet worden opgestart als alle protocollen zijn uitgeschakeld) voor meer informatie. Mogelijk ziet u de volgende reeks fouten in het foutenlogboek:
Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0xd, status code 0x4. Reason: **All protocols are disabled. The data is invalid**. Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0xd, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The data is invalid. Error: 17826, Severity: 18, State: 3. Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log. Error: 17120, Severity: 16, State: 1. SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the operating system error log for information about possible related problems.Problemen met TLS-configuratie en -updates oplossen Een ander veelvoorkomend probleem dat is gerapporteerd, omvat TLS-configuratie op de server waardoor SQL Server geen achtergrondcommunicatietaak kan maken.
Error: 26011, Severity: 16, State: 1. The server was unable to initialize encryption because of a problem with a security library. The security library may be missing. Verify that security.dll exists on the system. Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0x139f, status code 0x80. Reason: Unable to initialize SSL support. The group or resource is not in the correct state to perform the requested operation. Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0x139f, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The group or resource is not in the correct state to perform the requested operation. Error: 17826, Severity: 18, State: 3. Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log. Error: 17120, Severity: 16, State: 1. SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.Zorg ervoor dat u TLS correct configureert voor SQL Server. Zie TLS 1.2-ondersteuning voor Microsoft SQL Server voor informatie over de benodigde updates.
Problemen met versleutelingscertificaten oplossen Een ander veelvoorkomend probleem is de onjuiste configuratie van TLS/SSL-certificaten die ertoe leiden dat SQL Server een thread niet kan starten en starten.
Error: 26014, Severity: 16, State: 1. Unable to load user-specified certificate [Cert Hash(sha1) "%hs"]. The server will not accept a connection. You should verify that the certificate is correctly installed. See "Configuring Certificate for Use by SSL" in Books Online. Error: 17182, Severity: 16, State: 1. TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property. Error: 17826, Severity: 18, State: 3. Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log. Error: 17120, Severity: 16, State: 1. SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.Gebruik SQL Server Configuration Manager om te controleren of netwerkprotocollen correct zijn geconfigureerd. Zie Een servernetwerkprotocol in- of uitschakelen voor meer informatie
Gebruik SQL Server Configuration Manager 2019 of hoger om certificaten te beheren en te valideren. Zie Certificaatbeheer (SQL Server Configuration Manager) voor meer informatie