2

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.

2 Answers 2

0

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]"

-1

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

1
  • 2
    Looks like the link is dead. Commented Dec 19, 2017 at 23:23

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.