Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

Creating a handler mapping using appcmd

$
0
0

Hi Everyone

I am using the following command line to create a handler mapping:

appcmd.exe set config "Default Web Site/test1/cgi-bin" -section:handlers /+"[name="test1-CGI",path='*.cgi',verb='*.cgi',modules='cgiModule']"

When I try to open the application to view the handlers I get the following error:

ERROR ( message:Configuration error
Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Line Number: 0
Description: . )

At first I thought it was a corruption with the config file, so I restored it from the C:\inetpub\history but still the same issue.

Can anyone help please?

The strange thing is, this worked before and I get this error even after uninstalling/re-installing IIS7.

Thank you in advanced


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>