Search code examples
asp.netiiswindows-server-2016

system.webserver/rewrite/allowedservervariables cannot be read beacuase it is missing a section declaration


I'm getting this error though I've install URL rewrite module 2.

enter image description here

enter image description here

But IIS doesn't show URL reqrite

enter image description here


Solution

  • I installed URL rewrite on the server again though it is installed, then I could see URL rewrite in IIS manager and was able to install the software with no issues.