Create  A New Event Log in IIS v6

ccfcfc
ccfcfc used Ask the Experts™
on
Using IIS V6 on Windows 2003 server.
How do you create a "new" windows log folder, have tried
using a .NET appication but says permissions does not
allow you to do this. Have tried it as Domain Admin.
 
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
This is what is populated in the application event log :-

he description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Unable to Create Event Log source (DeviceManagementServer).  Error: - Requested registry access is not allowed..
systechSenior Technical Lead

Commented:
BYdefault IIS location you can find it from Go to Start -> Control Panel -> Administrative Tools
Run Internet Information Services (IIS).
Find your Web site under the tree on the left.
Right-click on it and choose Properties.
On the Web site tab, you will see an option near the bottom that says "Active Log Format." Click on the Properties button.
At the bottom of the General Properties tab, you will see a box that contains the log file directory and the log file name. The full log path is comprised of the log file directory plus the first part of the log file name

Log file directory: C:\Windows\System32\LogFiles
Log file name: W3SVC1\exyymmdd.log

I am not sure you will be able to create new folder bu you can change the location.
Commented:
In the end, had to create  registry entry in the event log section and apps log section of event viewer.

Now working, very strange, I believe it to be a software issue that should create the log
folders.

Author

Commented:
It fixed the issue

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial