Solved

Setting the AspLogErrorRequests key in IIS Manager (IIS 6)

Posted on 2006-11-09
6
1,425 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Suggested Solutions

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

9 Experts available now in Live!

Get 1:1 Help Now