Event ID 31 — HTTP Service Namespace Management
Applies To: Windows Server 2008
To receive HTTP requests, a server application must have its URL registered with the HTTP Service. If the server application is running without administrative credentials, the server application must reserve a URL namespace before it can register. Reserving a URL namespace creates an access control list (ACL) for that namespace. Additionally, a server application (hosted by the HTTP Service) might conflict with another application (not hosted by the HTTP Service) if both use the same IP addresses and port.
Event Details
Product: | Windows Operating System |
ID: | 31 |
Source: | Microsoft-Windows-HttpEvent |
Version: | 6.0 |
Symbolic Name: | HTTP_EVENT_ADD_URL |
Message: | Attempted to add URL (%2) to URL group (%1). Status: %3. This event can be benign or Yellow, depending on whether the status is Succeed or Failed. |
Resolve
Add a URL reservation
To add a URL reservation for your server application:
- Click Start, point to All Programs, click Accessories, right-click Command Prompt, click Run as administrator, and then click Continue.
- Type netsh http add urlacl.
add urlacl
Reserves the specified URL for non-administrator users and accounts. The discretionary access control list (DACL) can be specified by using a Windows NT account name with the listen and delegate parameters, or by using a security descriptor definition language (SDDL) string.
Syntax
add urlacl [url=]string
[[user=]string
{[[listen={yes|no}] [delegate={yes|no}]] | [sddl=]string}
Parameters
Term |
Description |
[url=]string |
Specifies the fully qualified URL. |
[user=]string |
Specifies the user or user group name. |
[listen={yes|no}] |
Specifies one of the following values: yes: Allows the user to register URLs. This is the default value. no: Denies the user from registering URLs. |
[delegate={yes|no}] |
One of the following values: yes: Allows the user to delegate URLs. no: Denies the user from delegating URLs. This is the default value. |
[sddl=]string |
Specifies the SDDL string that describes the DACL. |
Examples
add urlacl url=https://+:80/MyUri user=DOMAIN\user
add urlacl url=https://www.contoso.com:80/MyUri user=DOMAIN\user listen=yes
add urlacl url=https://www.contoso.com:80/MyUri user=DOMAIN\user delegate=no
Verify
To verify the ACLs for your server application's URL exist:
- Click Start, point to All Programs, click Accessories, right-click Command Prompt, click Run as administrator, and then click Continue.
- Type netsh http show urlacl, and verify that the ACLs for the application's URL exist.
To see which applications are listening on the same port as your server application:
- Click Start, point to All Programs, click Accessories, right-click Command Prompt, click Run as administrator, and then click Continue.
- Type netstat -ba and verify that the IP Listen List exists.