Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In executing the following command with appcmd:

set config -section:system.webServer/handlers /"[name='FCGIEcho’,path='*.exe',verb='*']".ResponsebufferLimit:0

I get the error message:

ERROR ( message:Malformed collection indexer; format is [@position,name='value',
name2='value2',...].  The @position specifier is optional, and [can] be '@start', '@en
d', or '@N' where N is a numeric index into the collection. )

I have tried every combination of double/quotes I can think of.

This is a valid property as mentioned here:

http://www.iis.net/ConfigReference/system.webServer/handlers/add#005

I would appreciate help from anyone that understands this syntax.

share|improve this question
up vote 0 down vote accepted

After consulting the IIS team the answer is here http://www.coastrd.com/cgioniis7

share|improve this answer

Just in case the above link is dead.

Use this:

appcmd.exe set config /section:handlers"/[name='FCGIEcho'].ResponseBufferLimit:0"

For site specific changes in config, it'll remove handler module 'WebDAV'

appcmd set config "sitename" /section:system.webServer/handlers "/-[name=WebDAV]"

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.