When Project get error on running - internal server error

 


when first time need to follow /enable these.

  • Click "Start button"
  • in the search box, enter "Turn windows features on or off"
  • in the features window, Click: "Internet Information Services"
  • Click: "World Wide Web Services"
  • Click: "Application Development Features"
  • Check (enable) the features. I checked all but CGI.

https://stackoverflow.com/questions/9794985/config-error-this-configuration-section-cannot-be-used-at-this-path


some times we may need to update web config. 

<httpCookies httpOnlyCookies="true"requireSSL="true"sameSite="None"/>
change this one to
<httpCookies httpOnlyCookies="true"/>


install 

https://www.iis.net/downloads/microsoft/url-rewrite


it will show here




https://stackoverflow.com/questions/9794985/config-error-this-configuration-section-cannot-be-used-at-this-path