· Allow ASP.NET
Manual steps
o Start-> Run-> inetmgr
o Click “Server Name” in left pane
o Double click “ISAPI and CGI Restrictions” in right pane
o Check if the Restriction of “ASP.NET v2.0.50727” is allowed, if not, then right click this entry and select “Allow”
Using APPCMD COMMAND :
appcmd set config /section:isapiCgiRestriction /[path='%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll'].allowed:True
This command has worked in Windows 2008 server r2 system , but when i am trying to execute the command in windows 2008 server its throwing error :
ERROR ( message:Cannot find requested collection element. )
can any one please help in solving this issue