Event Id | 1062 |
Source | Microsoft-Windows-IIS-W3SVC |
Description | The World Wide Web Publishing Service (WWW Service) failed to configure the logging properties for the HTTP control channel. Logging Enabled is '%1'. Log File Directory is '%2'. Log Period is '%3'. Log Truncate Size is '%4'. The data field contains the error number. |
Event Information | According to Microsoft : Resolution : Stop and restart the W3SVC To perform this procedure, you must have membership in Administrators , or you must have been delegated the appropriate authority. To stop and restart the World Wide Web Publishing service: 1.Open an elevated Command Prompt window. Click Start , point to All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator . 2.At the command prompt, type net stop w3svc. 3. At the command prompt, type net start w3svc . Verify : To verify that logging is working, follow these steps: a)Note the Site ID and test browse the site. b)Check the log file directory. To perform these procedures, you must have membership in Administrators , or you must have been delegated the appropriate authority. Note the Site ID and Test Browse the site 1.Click Start , click Control Panel , and then click Administrative Tools. 2. Right-click Internet Information Services (IIS) Manager and select Run as administrator . 3.In the IIS Manager Connections pane, expand the computer name. 4. Click Sites . A list of the server's Web sites appears in Features View on the right. 5. Under the ID column in Features View , note the ID of the Web site for which you want to verify the logging. 6. In Features View , single-click the Web site that you want to verify. 7. In the Actions pane, click the link under Browse Web Site . The Web page for the site should appear. Check the log file directory To check the log file directory: 1.Open an elevated Command Prompt window. Click Start , point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. 2.Navigate to the log file directory. If you are using the default location, type cd %SystemDrive%\inetpub\logs\LogFiles\W3SVC number, where number corresponds to the Web site ID that you noted earlier. For example, the site ID for the Default Web Site is typically 1, so the directory name that you type would be W3SVC1 . 3.Type dir /od to list the log files. The most recent log file appears last in the list. W3C log files will have the format u_exyymmdd, where yymmdd represents the year, month, and date in six-digit format. The last log file in the list should have today's date and a recent time stamp. 4.Type notepad logfilename to open the last (most recent) log file. Your test browse should have resulted in the log file being created and/or your test browse being logged in the file. Note: There might be a short delay between the time of the test browse and the time that the test browse is logged. |
Reference Links | Event ID 1062 from Source Microsoft-Windows-IIS-W3SVC |
Catch threats immediately
We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.