Setup error 500.19 web.config line 167 <RequestFiltering>

Jun 2, 2009 at 3:33 AM

First, let me say it looks "Sweet!"

Anyway, I got a;
HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

 

<fieldset><legend>Detailed Error Information</legend>
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error The configuration section 'RequestFiltering' cannot be read because it is missing a section declaration
Config File \\?\C:\_Work\VSDownloads\AtomSite\AtomSite\web.config
Requested URL http://localhost:80/atom
Physical Path C:\_Work\VSDewnloads\AtomSite\AtomSite
Logon Method Not yet determined
Logon User Not yet determined
</fieldset>
<fieldset><legend>Config Source</legend>
  168:           
  169:                    <RequestFiltering>
  170:                 <verbs>
</fieldset>

Commented out the following and it runs

<RequestFiltering>
<verbs>
<add verb="put" allowed="true" />
<add verb="delete" allowed="true" />
</verbs>
</RequestFiltering>

 

Do I need this?

I haven't tried to upload to host yet, still lookng around!

Vista 32 ult iis7

<font color="#008000"><font color="#008000">

Also, is it by design that the site manager dosent work in locahost?

Changes port numbers and burps.

Thanks!

</font></font><font color="#008000">

 

</font>

Coordinator
Jun 23, 2009 at 4:10 PM

I think this is only needed if you have UrlScan installed and active.  I didn't think it would throw an error if UrlScan wasn't installed.  I'll look into that.

 

Also, site manager should work in localhost.

Sep 30, 2009 at 2:44 PM

I had the same issue, but this is how I solved it:

I went to c:\windows\system32\inetsrv\config\, edited applicationHost.config and changed the following line from

<section name="requestFiltering" overrideModeDefault="Deny" />

to 

 

<section name="requestFiltering" overrideModeDefault="Allow" />

 

Eddie