Solved

Setting the AspLogErrorRequests key in IIS Manager (IIS 6)

Posted on 2006-11-09
6
1,444 Views
Last Modified: 2008-01-09
I have been trying to configure metabase properties for the logging of ASP errors using IIS 6. So far, it seems impossible to set the AspLogErrorRequests key using IIS Manager.

A Microsoft help file gives these instructions:

--------------------------------------------------
In IIS Manager, right-click a virtual directory.
Set the Application Protection to High (Isolated), and click Configuration.
Click the Process Options tab.
Select the Write unsuccessful client requests to event log check box. When checked, this metabase key is set to TRUE.
--------------------------------------------------

At first, I couldn't find the Application Protection settings in the properties sheet of any virtual directory. Only Application Pool options appeared. After extensive research in Microsoft help files and online forums, I found that IIS 6 has to be set to IIS 5.0 Isolation Mode in order to make the Application Protection settings available.

After figuring that out, I continued through the process outlined in the help file, but quickly discovered that the Process Options tab isn't available. All I can find is an Options tab, and it doesn't have a check box for "Write unsuccessful client requests to event log."

I realize that metabase properties can be configured programmatically. In fact changes to the AspErrorsToNTLog property can't even be made in IIS Manager. But for the purposes of instructing others, I want to show how to configure the AspLogErrorRequests property without having to delve into programming.

I would appreciate some assitance with this issue. I feel that any errors I may be making at this time might be small ones, and that I could be closer to a solution than I realize. Thank you for your help!
0
Comment
Question by:carlawoodhouse
  • 2
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
AndresM earned 125 total points
ID: 17907005
I think in this case here is no need to change IIS 6.0 to IIS 5.0 isolation mode. And according to this article, AspLogErrorRequests is set to true by default.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/4c2f5190-db67-42a4-9b72-43ae5280861d.mspx?mfr=true

If you need to change values in metabase, you could use a simple command-line script called adsutil.vbs: Using the Adsutil.vbs Administration Script (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx

Not sure is this will help you 'cause I am not sure if I understood ok your question, but ... hope it helps.

Regards,
AndresM
0
 

Author Comment

by:carlawoodhouse
ID: 17909544
Thanks for your great comments, Andres.

Yes, I remember reading that AspLogErrorRequests is set to true by default. But what would I do if I wanted to set it to false without changing values in metabase? Is that possible?
0
 
LVL 10

Expert Comment

by:AndresM
ID: 17910477
No, I think that is not possible to set that value without change the metabase 'cause that value is stored there.
0
 

Author Comment

by:carlawoodhouse
ID: 17914760
Again, thanks for your help, Andres. I'll go with what you said and assume it's not possible to set AspLogErrorRequests to false without changing values in metabase.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now