Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Update Services > editing the applicationhost.config file for WSUS on IIS 7.0

Reply
Thread Tools Display Modes

editing the applicationhost.config file for WSUS on IIS 7.0

 
 
Daniel V
Guest
Posts: n/a

 
      08-10-2009

The instructions for IIS 7.0 show to edit the applicationhost.config file
with the removecustomerror tag. Every time I place the tag into the config
file is shuts down my IIS and it will not start again unless I take it out.
Below is the section of the applicationhost.config file I think it should go
in, but locks up IIS. Can you help me find the exact location? Thanks

<location path="" overrideMode="Allow">
<system.webServer>
<handlers accessPolicy="Read, Script">
<add name="ISAPI-dll" path="*.dll" verb="*"
modules="IsapiModule" resourceType="File" requireAccess="Execute"
allowPathInfo="true" />
<add name="TraceHandler-Integrated" path="trace.axd"
verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler"
preCondition="integratedMode" />
<add name="WebAdminHandler-Integrated" path="WebAdmin.axd"
verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler"
preCondition="integratedMode" />
<add name="AssemblyResourceLoader-Integrated"
path="WebResource.axd" verb="GET,DEBUG"
type="System.Web.Handlers.AssemblyResourceLoader"
preCondition="integratedMode" />
<add name="PageHandlerFactory-Integrated" path="*.aspx"
verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory"
preCondition="integratedMode" />
<add name="SimpleHandlerFactory-Integrated" path="*.ashx"
verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory"
preCondition="integratedMode" />
<add name="WebServiceHandlerFactory-Integrated"
path="*.asmx" verb="GET,HEAD,POST,DEBUG"
type="System.Web.Services.Protocols.WebServiceHand lerFactory,
System.Web.Services, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode" />
<add name="HttpRemotingHandlerFactory-rem-Integrated"
path="*.rem" verb="GET,HEAD,POST,DEBUG"
type="System.Runtime.Remoting.Channels.Http.HttpRe motingHandlerFactory,
System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
<add name="HttpRemotingHandlerFactory-soap-Integrated"
path="*.soap" verb="GET,HEAD,POST,DEBUG"
type="System.Runtime.Remoting.Channels.Http.HttpRe motingHandlerFactory,
System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
<add name="AXD-ISAPI-2.0" path="*.axd"
verb="GET,HEAD,POST,DEBUG" modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\ v2.0.50727\aspnet_isapi.dll"
preCondition="classicMode,runtimeVersionv2.0,bitne ss32"
responseBufferLimit="0" />
<add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx"
verb="GET,HEAD,POST,DEBUG" modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\ v2.0.50727\aspnet_isapi.dll"
preCondition="classicMode,runtimeVersionv2.0,bitne ss32"
responseBufferLimit="0" />
<add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx"
verb="GET,HEAD,POST,DEBUG" modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\ v2.0.50727\aspnet_isapi.dll"
preCondition="classicMode,runtimeVersionv2.0,bitne ss32"
responseBufferLimit="0" />
<add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx"
verb="GET,HEAD,POST,DEBUG" modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\ v2.0.50727\aspnet_isapi.dll"
preCondition="classicMode,runtimeVersionv2.0,bitne ss32"
responseBufferLimit="0" />
<add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0"
path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\ v2.0.50727\aspnet_isapi.dll"
preCondition="classicMode,runtimeVersionv2.0,bitne ss32"
responseBufferLimit="0" />
<add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0"
path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule"
scriptProcessor="%windir%\Microsoft.NET\Framework\ v2.0.50727\aspnet_isapi.dll"
preCondition="classicMode,runtimeVersionv2.0,bitne ss32"
responseBufferLimit="0" />
<add name="TRACEVerbHandler" path="*" verb="TRACE"
modules="ProtocolSupportModule" requireAccess="None" />
<add name="OPTIONSVerbHandler" path="*" verb="OPTIONS"
modules="ProtocolSupportModule" requireAccess="None" />
<add name="StaticFile" path="*" verb="*"
modules="StaticFileModule,DefaultDocumentModule" resourceType="Either"
requireAccess="Read" />
</handlers>
<modules>
<add name="HttpCacheModule" lockItem="true" />
<add name="DynamicCompressionModule" lockItem="true" />
<add name="DefaultDocumentModule" lockItem="true" />
<add name="IsapiFilterModule" lockItem="true" />
<add name="ProtocolSupportModule" lockItem="true" />
<add name="StaticFileModule" lockItem="true" />
<add name="AnonymousAuthenticationModule" lockItem="true" />
<add name="WindowsAuthenticationModule" lockItem="true" />
<add name="RequestFilteringModule" lockItem="true" />
<add name="IsapiModule" lockItem="true" />
<add name="ConfigurationValidationModule" lockItem="true" />
<add name="OutputCache"
type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" />
<add name="Session"
type="System.Web.SessionState.SessionStateModule"
preCondition="managedHandler" />
<add name="WindowsAuthentication"
type="System.Web.Security.WindowsAuthenticationMod ule"
preCondition="managedHandler" />
<add name="FormsAuthentication"
type="System.Web.Security.FormsAuthenticationModul e"
preCondition="managedHandler" />
<add name="DefaultAuthentication"
type="System.Web.Security.DefaultAuthenticationMod ule"
preCondition="managedHandler" />
<add name="RoleManager"
type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" />
<add name="UrlAuthorization"
type="System.Web.Security.UrlAuthorizationModule"
preCondition="managedHandler" />
<add name="FileAuthorization"
type="System.Web.Security.FileAuthorizationModule"
preCondition="managedHandler" />
<add name="AnonymousIdentification"
type="System.Web.Security.AnonymousIdentificationM odule"
preCondition="managedHandler" />
<add name="Profile" type="System.Web.Profile.ProfileModule"
preCondition="managedHandler" />
<add name="UrlMappingsModule"
type="System.Web.UrlMappingsModule" preCondition="managedHandler" />
<add name="IpRestrictionModule" lockItem="true" />
<add name="CustomLoggingModule" lockItem="true" />
<add name="HttpLoggingModule" lockItem="true" />
<add name="FailedRequestsTracingModule" lockItem="true" />


</modules>
</system.webServer>
 
Reply With Quote
 
 
 
 
Lawrence Garvin [MVP]
Guest
Posts: n/a

 
      08-10-2009

"Daniel V" <> wrote in message
news:705263C6-2A54-4BF5-B051-...

> The instructions for IIS 7.0 show to edit the applicationhost.config file
> with the removecustomerror tag. Every time I place the tag into the
> config
> file is shuts down my IIS and it will not start again unless I take it
> out.
> Below is the section of the applicationhost.config file I think it should
> go
> in, but locks up IIS. Can you help me find the exact location? Thanks


As for "locks up IIS" -- do you have anything else running on this
Win2008/IIS7 server?

> <location path="" overrideMode="Allow">
> <system.webServer>


> <handlers accessPolicy="Read, Script">


> </handlers>


> <modules>


>>>>>> RIGHT HERE <<<<<<


> <add name="HttpCacheModule" lockItem="true" />
> <add name="DynamicCompressionModule" lockItem="true" />
> <add name="DefaultDocumentModule" lockItem="true" />
> <add name="IsapiFilterModule" lockItem="true" />
> <add name="ProtocolSupportModule" lockItem="true" />
> <add name="StaticFileModule" lockItem="true" />
> <add name="AnonymousAuthenticationModule" lockItem="true"
> />
> <add name="WindowsAuthenticationModule" lockItem="true" />
> <add name="RequestFilteringModule" lockItem="true" />
> <add name="IsapiModule" lockItem="true" />
> <add name="ConfigurationValidationModule" lockItem="true"
> />
> <add name="OutputCache"
> type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler"
> />
> <add name="Session"
> type="System.Web.SessionState.SessionStateModule"
> preCondition="managedHandler" />
> <add name="WindowsAuthentication"
> type="System.Web.Security.WindowsAuthenticationMod ule"
> preCondition="managedHandler" />
> <add name="FormsAuthentication"
> type="System.Web.Security.FormsAuthenticationModul e"
> preCondition="managedHandler" />
> <add name="DefaultAuthentication"
> type="System.Web.Security.DefaultAuthenticationMod ule"
> preCondition="managedHandler" />
> <add name="RoleManager"
> type="System.Web.Security.RoleManagerModule" preCondition="managedHandler"
> />
> <add name="UrlAuthorization"
> type="System.Web.Security.UrlAuthorizationModule"
> preCondition="managedHandler" />
> <add name="FileAuthorization"
> type="System.Web.Security.FileAuthorizationModule"
> preCondition="managedHandler" />
> <add name="AnonymousIdentification"
> type="System.Web.Security.AnonymousIdentificationM odule"
> preCondition="managedHandler" />
> <add name="Profile" type="System.Web.Profile.ProfileModule"
> preCondition="managedHandler" />
> <add name="UrlMappingsModule"
> type="System.Web.UrlMappingsModule" preCondition="managedHandler" />
> <add name="IpRestrictionModule" lockItem="true" />
> <add name="CustomLoggingModule" lockItem="true" />
> <add name="HttpLoggingModule" lockItem="true" />
> <add name="FailedRequestsTracingModule" lockItem="true" />
>
>
> </modules>
> </system.webServer>




--
Lawrence Garvin, M.S., MCITP:EA, MCDBA
Principal/CTO, Onsite Technology Solutions, Houston, Texas
Microsoft MVP - Software Distribution (2005-2009)

MS WSUS Website: http://www.microsoft.com/wsus
My MVP Profile: http://mvp.support.microsoft.com/pro...awrence.Garvin

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
applicationHost.config File not fully installed EagleRed@HighFlyingBirds.com Windows Vista Installation 0 12-09-2008 03:54 PM
Editing config.sys in Vista LNL Windows Vista General Discussion 3 06-20-2008 06:38 PM
Error message when editing config files Philn Windows Vista General Discussion 10 06-18-2007 04:42 PM
WSUS Client Config John Adams Update Services 2 05-15-2006 11:09 PM
wsus config MSNews Update Services 3 11-07-2005 04:24 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59