Solved

Setting the AspLogErrorRequests key in IIS Manager (IIS 6)

Posted on 2006-11-09
6
1,483 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

630 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