Solved

Setting the AspLogErrorRequests key in IIS Manager (IIS 6)

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 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

14 Experts available now in Live!

Get 1:1 Help Now