How to fix Error 7832 on Windows Server 2025 / Windows 11

Why This Error Happens

SQL Server 2025 error 7832 occurs when the SQL Server instance (typically configured for HTTP endpoint connectivity or Reporting Services integration) attempts to communicate over an HTTP.sys namespace reservation that has not been registered in the Windows HTTP Server API (HTTP.sys) URL ACL table. This typically happens after a server migration, a service account change, or when the netsh http reservation was manually deleted or never created during setup. Because HTTP.sys enforces strict namespace reservations for security, any mismatch between the URL the SQL Server endpoint is bound to and the registered ACL will trigger this failure.

Step-by-Step Resolution Guide

Step 1: Verify the Current HTTP Namespace Reservations

  • Open an elevated Command Prompt or PowerShell window on the Windows Server 2025 / Windows 11 host.
  • Run netsh http show urlacl to list all currently registered URL reservations.
  • Compare the output against the namespace referenced in the error message (the %.*ls placeholder in Event ID 7832 will show the exact URL, e.g., http://+:80/sql/).

Step 2: Create the Missing URL Reservation

  • If the namespace is absent from the list, create it using:
    netsh http add urlacl url=http://+:80/sql/ user=DOMAIN\SQLServiceAccount
  • Replace the URL and user account with the exact values matching your SQL Server HTTP endpoint configuration (found via sys.http_endpoints in SQL Server Management Studio).
  • Ensure the service account running the SQL Server (MSSQLSERVER) service has been granted this reservation, not just a local administrator account.

Step 3: Restart the SQL Server Service and HTTP.sys Dependency

  • Restart the SQL Server (MSSQLSERVER) service via services.msc or net stop MSSQLSERVER && net start MSSQLSERVER.
  • If HTTP.sys itself was recently reset, also restart the HTTP Service (net stop http && net start http) — note this will briefly affect IIS or other HTTP.sys-dependent services.
  • Confirm the SQL Server error log (via EXEC xp_readerrorlog or the SSMS Logs viewer) no longer shows Error 7832 on startup.

Step 4: Validate Endpoint Configuration in SQL Server

  • In SQL Server Management Studio, run:
    SELECT * FROM sys.http_endpoints;
  • Confirm the endpoint_url column matches exactly (including trailing slash and port) with the netsh http reservation created in Step 2.
  • If mismatched, drop and recreate the endpoint using CREATE ENDPOINT with the corrected URL.

Alternative or Verification Steps

  • Re-run netsh http show urlacl url=http://+:80/sql/ to confirm the specific reservation now exists and lists the correct service account with Listen and Delegate rights.
  • If the error persists, check for orphaned HTTP.sys reservations using netsh http show servicestate and remove conflicting entries with netsh http delete urlacl url=<conflicting_url> before re-adding the correct one.