I need to use appcmd to configure IIS 7 to handle ASP framework. When I use the following command:
c:\Windows\System32\inetsrv>appcmd set config -section:IsapiCgiRestriction /+[path='%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll',allowed='true',groupId='ASP.NET v2.0.5072',description='ASP.NET v2.0.50727']
Then I got the following errors:
Failed to process input: The parameter 'v2.0.50727']' must begin with a / or - (HRESULT=80070057).
It's appreciated for any idea.