Solved

Setting the AspLogErrorRequests key in IIS Manager (IIS 6)

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

807 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